Rethinking Molecular Text Representations for LLMs: An Empirical Study

Arun Raja, Garrett M Morris, Kian Ming A. Chai


Abstract
Large language models (LLMs) are increasingly used for molecular tasks, but it remains unclear which molecular representation to use. We present a systematic benchmark, MolRepBench, to evaluate LLM molecular competence across nine representations and eight chemical tasks. We benchmark 16 LLMs across five model families, including reasoning and non-reasoning variants, chemistry-specialized LLMs, and closed frontier models. Performance is strongly representation-dependent and no single representation wins across tasks, though CML is the best, followed by MolJSON, InChI and canonical SMILES. Explicit structured text representations (CML and MolJSON) dominate structural tasks; IUPAC dominates semantic tasks, winning molecule retrieval for all 16 LLMs; and SMILES variants are rarely optimal despite their prevalence in pretraining. Chemistry-specialized models perform well with SMILES at the cost of large degradations with structured text representations, suggesting SMILES-only evaluation rewards specialization that does not generalize. Using LLM-as-a- judge, we find that IUPAC produces the highest fraction of correct molecule generations. A mechanistic study via tokenization audits, linear probes, and attention shows that representations are encoded differently inside the model; for example, structured representations require more attention across the molecular span. Our results argue against representation-invariant evaluation and motivate task-aware representation routing for LLM-based chemistry.
Anthology ID:
2026.emnlp-main.2621
Volume:
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
EMNLP
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
59565–59589
Language:
URL:
https://aclanthology.org/2026.emnlp-main.2621/
DOI:
Bibkey:
Cite (ACL):
Arun Raja, Garrett M Morris, and Kian Ming A. Chai. 2026. Rethinking Molecular Text Representations for LLMs: An Empirical Study. In Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing, pages 59565–59589, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
Rethinking Molecular Text Representations for LLMs: An Empirical Study (Raja et al., EMNLP 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.emnlp-main.2621.pdf