# Rethinking Molecular Text Representations for LLMs: An Empirical Study

DevFeed: [Rethinking Molecular Text Representations for LLMs: An Empirical Study](<https://devfeed.tech/articles/rethinking-molecular-text-representations-for-llms-an-empirical-study-96849.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2606.03057>)

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

Published: 2026-10-23T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Computational Chemistry / Materials Science](<https://devfeed.tech/topics/computational-chemistry-materials-science.md>), [open-llm-leaderboard](<https://devfeed.tech/topics/open-llm-leaderboard.md>), [tokenization](<https://devfeed.tech/topics/tokenization.md>)

Tags: [attention](<https://devfeed.tech/tags/attention.md>), [audits](<https://devfeed.tech/tags/audits.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [chemistry](<https://devfeed.tech/tags/chemistry.md>), [cml](<https://devfeed.tech/tags/cml.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [frontier-models](<https://devfeed.tech/tags/frontier-models.md>), [llm-as-a-judge](<https://devfeed.tech/tags/llm-as-a-judge.md>), [llms](<https://devfeed.tech/tags/llms.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [routing](<https://devfeed.tech/tags/routing.md>), [semantic](<https://devfeed.tech/tags/semantic.md>), [specialization](<https://devfeed.tech/tags/specialization.md>), [structured](<https://devfeed.tech/tags/structured.md>), [study](<https://devfeed.tech/tags/study.md>), [tokenization](<https://devfeed.tech/tags/tokenization.md>)

## AI overview

MolRepBench benchmarks 16 LLMs on eight chemical tasks and finds that molecular representation strongly affects performance, with no single format best across tasks. CML and MolJSON lead on structural tasks, while IUPAC leads on semantic tasks and molecule retrieval for all 16 models; IUPAC also yields the highest fraction of correct molecule generations in LLM-as-a-judge evaluation. Chemistry-specialized models perform well with SMILES but degrade substantially on structured formats, so SMILES-only evaluation may not reflect broader competence. Tokenization, probing and attention analyses find representation-specific internal processing, including more attention across molecular spans for structured formats. The authors recommend task-aware representation routing and caution against representation-invariant evaluation.

## Source excerpt

arXiv:2606.03057v2 Announce Type: replace 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.