mlsanityData to 7 Oct 2026

Do LLMs Truly Generalize in the Molecular Domain? A Perturbation-Based Analysis

arXiv 2607.01800 ↗First posted 2 Jul 2026cs.LG cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) have recently shown promise in molecular discovery, yet a gap remains between their probabilistic nature over discrete sequential tokens and the rigid topological constraints of chemical space. This raises the question of whether molecular LLMs can generalize beyond the local neighborhoods induced by their sequence-based representations. To systematically investigate this question, we introduce a Molecular Perturbation framework that generates syntax-valid structural variants of training molecules under controlled Graph Edit Distance (GED) to probe the manifold regularity of molecular LLMs. Our analysis shows that even a single edit can cause substantial performance drops on common molecular tasks, revealing a narrow local trust region and fragile sensitivity to structural changes. Since similar molecules tend to exhibit similar properties, In-Context Tuning (ICT), which anchors predictions on structurally similar molecules, offers a natural way to mitigate such fragility. Our experiments also examine whether ICT confers robustness under controlled structural perturbations, and the results suggest that it can partially expand the local trust region and offer a promising direction for stabilizing molecular LLMs against structural variation.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 19 of its 30 references that are in the map. First posted on arXiv 2 Jul 2026.

Builds on

19 of 30 references.

References · 19

  1. 2017Attention Is All You Needcited by 59,932
  2. 2025Qwen3 Technical Reportcited by 8,195
  3. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
  4. 2022Galactica: A Large Language Model for Sciencecited by 736
  5. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
  6. 2023What can Large Language Models do in chemistry? A comprehensive benchmark on eight taskscited by 179
  7. 2022Translation between Molecules and Natural Languagecited by 173
  8. 2023Mol-Instructions: A Large-Scale Biomolecular Instruction Dataset for Large Language Modelscited by 131
  9. 2023MolCA: Molecular Graph-Language Modeling with Cross-Modal Projector and Uni-Modal Adaptercited by 128
  10. 2023BioT5: Enriching Cross-modal Integration in Biology with Chemical Knowledge and Natural Language Associationscited by 100
  11. 2023Empowering Molecule Discovery for Molecule-Caption Translation with Large Language Models: A ChatGPT Perspectivecited by 91
  12. 2023MolXPT: Wrapping Molecules with Text for Generative Pre-trainingcited by 81
7 more
  1. 2025Beyond Chemical QA: Evaluating LLM's Chemical Reasoning with Modular Chemical Operationscited by 46
  2. 2024Reasoning Robustness of LLMs to Adversarial Typographical Errorscited by 31
  3. 2024Speak-to-Structure: Evaluating LLMs in Open-domain Natural Language-Driven Molecule Generationcited by 22
  4. 2024Assessing Adversarial Robustness of Large Language Models: An Empirical Studycited by 21
  5. 2025Robustness in Large Language Models: A Survey of Mitigation Strategies and Evaluation Metricscited by 12
  6. 2025Generalizability of Large Language Model-Based Agents: A Comprehensive Surveycited by 10
  7. 2024CR-UTP: Certified Robustness against Universal Text Perturbations on Large Language Modelscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.