Back to Search Start Over

Smirk: An Atomically Complete Tokenizer for Molecular Foundation Models

Authors :
Wadell, Alexius
Bhutani, Anoushka
Viswanathan, Venkatasubramanian
Publication Year :
2024

Abstract

Molecular Foundation Models are emerging as powerful tools for accelerating molecular design, material science, and cheminformatics, leveraging transformer architectures to speed up the discovery of new materials and drugs while reducing the computational cost of traditional ab initio methods. However, current models are constrained by closed-vocabulary tokenizers that fail to capture the full diversity of molecular structures. In this work, we systematically evaluate thirteen chemistry-specific tokenizers for their coverage of the SMILES language, uncovering substantial gaps. Using N-gram language models, we accessed the impact of tokenizer choice on model performance and quantified the information loss of unknown tokens. We introduce two new tokenizers, smirk</i> and smirk-gpe</i>, which can represent the entirety of the OpenSMILES specification while avoiding the pitfalls of existing tokenizers. Our work highlights the importance of open-vocabulary modeling for molecular foundation models and the need for chemically diverse benchmarks for cheminformatics.<br />Comment: 26 pages, 6 figures

Details

Database :
arXiv
Publication Type :
Report
Accession number :
edsarx.2409.15370
Document Type :
Working Paper