Tokenization for Molecular Foundation Models
Not on the map. Why?
Abstract (arXiv)
Text-based foundation models have become an important part of scientific discovery, with molecular foundation models accelerating advancements in material science and molecular design.However, existing models are constrained by closed-vocabulary tokenizers that capture only a fraction of molecular space. In this work, we systematically evaluate 34 tokenizers, including 19 chemistry-specific ones, and reveal significant gaps in their coverage of the SMILES molecular representation. To assess the impact of tokenizer choice, we introduce n-gram language models as a low-cost proxy and validate their effectiveness by pretraining and finetuning 18 RoBERTa-style encoders for molecular property prediction. To overcome the limitations of existing tokenizers, we propose two new tokenizers -- Smirk and Smirk-GPE -- with full coverage of the OpenSMILES specification. The proposed tokenizers systematically integrate nuclear, electronic, and geometric degrees of freedom; facilitating applications in pharmacology, agriculture, biology, and energy storage. Our results highlight the need for open-vocabulary modeling and chemically diverse benchmarks in cheminformatics.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 36 of its 71 references that are in the map. First posted on arXiv 19 Sep 2024.
Builds on
36 of 71 references.
References · 36
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
- 2017MoleculeNet: A Benchmark for Molecular Machine Learningcited by 1,051
- 2021E(3)-Equivariant Graph Neural Networks for Data-Efficient and Accurate Interatomic Potentialscited by 708
- 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 674
- 2018Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidatescited by 639
- 2020ChemBERTa: Large-Scale Self-Supervised Pretraining for Molecular Property Predictioncited by 337
- 2018Molecular Transformer - A Model for Uncertainty-Calibrated Chemical Reaction Predictioncited by 229
24 more
- 2021Large-Scale Chemical Language Representations Capture Molecular Structure and Propertiescited by 206
- 2023Do All Languages Cost the Same? Tokenization in the Era of Commercial Language Modelscited by 192
- 2021Between words and characters: A Brief History of Open-Vocabulary Modeling and Tokenization in NLPcited by 132
- 2022ChemBERTa-2: Towards Chemical Foundation Modelscited by 127
- 2024Tokenization counts: the impact of tokenization on arithmetic in frontier LLMscited by 115
- 2023Tokenizer Choice For LLM Training: Negligible or Crucial?cited by 108
- 2024A Review of Large Language Models and Autonomous Agents in Chemistrycited by 99
- 2020Mapping the Space of Chemical Reactions Using Attention-Based Neural Networkscited by 70
- 2021Permutation invariant graph-to-sequence model for template-free retrosynthesis and reaction predictioncited by 68
- 2024Unpacking Tokenization: Evaluating Text Compression and its Correlation with Model Performancecited by 61
- 2017"Found in Translation": Predicting Outcomes of Complex Organic Chemistry Reactions using Neural Sequence-to-Sequence Modelscited by 55
- 2024Fishing for Magikarp: Automatically Detecting Under-trained Tokens in Large Language Modelscited by 46
- 2022TransPolymer: a Transformer-based language model for polymer property predictionscited by 43
- 2023SELFormer: Molecular Representation Learning via SELFIES Language Modelscited by 40
- 2018Revisiting Character-Based Neural Machine Translation with Capacity and Compressioncited by 28
- 2021Rare Tokens Degenerate All Tokens: Improving Neural Text Generation via Adaptive Gradient Gating for Rare Token Embeddingscited by 27
- 2020Stolen Probability: A Structural Weakness of Neural Language Modelscited by 22
- 2023ReactionT5: a large-scale pre-trained model towards application of limited reaction datacited by 13
- 2023Recent advances in the Self-Referencing Embedding Strings (SELFIES) librarycited by 8
- 2024Evaluating Subword Tokenization: Alien Subword Composition and OOV Generalization Challengecited by 8
- 2020AutoMat: Accelerated Computational Electrochemical systems Discoverycited by 5
- 2023Machine Learning Small Molecule Properties in Drug Discoverycited by 5
- 2024A Large Encoder-Decoder Family of Foundation Models For Chemical Languagecited by 5
- 2023Accurate Surface and Finite Temperature Bulk Properties of Lithium Metal at Large Scales using Machine Learning Interaction Potentialscited by 4
Built on by
Citing papers per year: 2025: 2; 2026: 3.
5 papers.
- 2025Defining Foundation Models for Computational Science: A Call for Clarity and Rigorcited by 17
- 2025NovoMolGen: Rethinking Molecular Language Model Pretrainingcited by 0
- 2026BiScale-GTR: Fragment-Aware Graph Transformers for Multi-Scale Molecular Representation Learningcited by 0
- 2026Where to cut, how deep: BPE and Unigram-LM on chemistry SMILEScited by 0
- 2026Does Pretraining Teach Chemical Language Models Chemistry?cited by 0
- 2026Does Pretraining Teach Chemical Language Models Chemistry?13 Oct 2026
- 2026Where to cut, how deep: BPE and Unigram-LM on chemistry SMILES6 Jul 2026
- 2026BiScale-GTR: Fragment-Aware Graph Transformers for Multi-Scale Molecular Representation Learning7 Apr 2026
- 2025NovoMolGen: Rethinking Molecular Language Model Pretraining19 Aug 2025
- 2025Defining Foundation Models for Computational Science: A Call for Clarity and Rigor28 May 2025