Zipf-like StatisticalRegularities in Molecular SequenceRepresentations for Chemical Language Models

Abstract Large language model (LLM)-based approaches increasingly use molecular strings such as SMILES and SELFIES for molecular generation and property prediction. However, the statistical properties of molecular token distributions have not been systematically characterized. Here, we analyzed rank–frequency distributions of tokens derived by byte-pair encoding (BPE) across large molecular databases. BPE-derived tokens showed approximate Zipf-like rank–frequency scaling across the examined representations and chemical spaces, with fitted slopes moderately steeper than the canonical value of −1, paralleling a statistical pattern widely observed in natural language. Moreover, when BERT models were pretrained using BPE vocabularies with different rank–frequency slopes, the closeness of these slopes to the ideal Zipf value of −1 strongly correlated with performance on molecular property prediction tasks (Pearson r = 0.91, p < 0.001) and remained associated after adjustment for vocabulary size (partial r = 0.86, p < 0.001). Together, these findings show that molecular BPE vocabularies exhibit an approximate Zipf-like rank–frequency regularity and that slope closeness provides an empirical diagnostic for comparing vocabulary sizes within the examined SMILES/SELFIES BPE framework.

Authors

Institutions

Publication Details

Journal
The Journal of Physical Chemistry Letters
Published
2026-08-17
DOI
https://doi.org/10.1021/acs.jpclett.6c02089
Primary Topic
Machine Learning in Materials Science
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Zipf-like StatisticalRegularities in Molecular SequenceRepresentations for Chemical Language Models

Chao Fang, Zongguo Wang, Guoping Hu, Yuntao Li et al.
The Journal of Physical Chemistry Letters
Machine Learning in Materials Science
article

Zipf-like StatisticalRegularities in Molecular SequenceRepresentations for Chemical Language Models

Chao Fang, Zongguo Wang, Guoping Hu, Yuntao Li, Anyu Liu, Tao Qi
article en

Abstract

Abstract Large language model (LLM)-based approaches increasingly use molecular strings such as SMILES and SELFIES for molecular generation and property prediction. However, the statistical properties of molecular token distributions have not been systematically characterized. Here, we analyzed rank–frequency distributions of tokens derived by byte-pair encoding (BPE) across large molecular databases. BPE-derived tokens showed approximate Zipf-like rank–frequency scaling across the examined representations and chemical spaces, with fitted slopes moderately steeper than the canonical value of −1, paralleling a statistical pattern widely observed in natural language. Moreover, when BERT models were pretrained using BPE vocabularies with different rank–frequency slopes, the closeness of these slopes to the ideal Zipf value of −1 strongly correlated with performance on molecular property prediction tasks (Pearson r = 0.91, p < 0.001) and remained associated after adjustment for vocabulary size (partial r = 0.86, p < 0.001). Together, these findings show that molecular BPE vocabularies exhibit an approximate Zipf-like rank–frequency regularity and that slope closeness provides an empirical diagnostic for comparing vocabulary sizes within the examined SMILES/SELFIES BPE framework.

The Journal of Physical Chemistry Letters
University of Science and Technology of China (CN), Shanghai Innovative Research Center of Traditional Chinese Medicine (CN), Computer Network Information Center (CN)
Double Thousand Plan of Jiangxi Province, Chinese Academy of Sciences, Key Research and Development Program of Jiangxi Province, Ganjiang Innovation Academy, Chinese Academy of Sciences
Quality Education
Openalex Percentile: Top 22%
Machine Learning in Materials Science
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.