mlsanityData to 24 Nov 2026

Functional-Group Knowledge Is Structured in Language Models Before It Is Spoken

arXiv 2611.03684 ↗Submitted 23 Oct 2026cs.AI cs.CLcited by 0

New in LLM reasoning; no direction yet. LLM reasoning

Abstract (arXiv)

Language models serve as the reasoning core of agents for chemistry and materials science, where they must interpret molecular structure before planning syntheses or proposing materials. Yet their outputs show only what they say, not what they know. Given a prompt such as ``The primary functional group in 1-Fluorobutane (CCCCF) is'', a small general-purpose model may answer ``the alkyne group'' instead of an alkyl fluoride. The output alone cannot tell whether the model failed to recognize the fluorine or recognized it and failed to say so. We address this by reading the internal representations of five open-source models on prompts covering 92 molecules and 20 functional groups. Even without chemistry training, the models organize functional groups by chemical family, and they encode chemical differences as consistent directions. The shift from thioether (mathrmR-S-R') to thiol (mathrmR-SH), added to ether (mathrmR-O-R'), lands nearest alcohol (mathrmR-OH). This structure emerges abruptly in the middle layers, where representations shift from tracking the wording of the prompt to tracking the functional group. The base model names the correct functional group in only 58.5% of prompts, the lowest of the five, yet it encodes functional-group families and preserves chemically meaningful patterns. Its errors are mostly failures to answer rather than wrong answers. Functional-group knowledge is structured in the model before it is spoken. Chemistry fine-tuning reorganizes it, making functional groups rather than prompt wording dominate the representation. These results suggest that evaluating chemical language models through outputs alone can underestimate the chemical information they encode. Representation analysis can distinguish a lack of knowledge from a failure to express it, which matters when choosing or adapting models for chemical agents.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 5 of its 8 references that are in the map. Submitted 23 Oct 2026.

Builds on

5 of 8 references.

References · 5

  1. 2016Understanding intermediate layers using linear classifier probescited by 1,541
  2. 2020ChemBERTa: Large-Scale Self-Supervised Pretraining for Molecular Property Predictioncited by 365
  3. 2019Representation Degeneration Problem in Training Natural Language Generation Modelscited by 274
  4. 2026Chemical Chain-of-Thought Functions as a Hallucination-Prone Molecular Scratchpadcited by 6
  5. 2026Evaluating a 4B open-weights local LLM for agentic DFT workflows: a literature reproducibility auditcited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025ChemDFM-R: A Chemical Reasoning LLM Enhanced with Atomized Chemical Knowledge
  2. 2025FGBench: A Dataset and Benchmark for Molecular Property Reasoning at Functional Group-Level in Large Language Models
  3. 2024From Generalist to Specialist: A Survey of Large Language Models for Chemistry
  4. 2024Structural Reasoning Improves Molecular Understanding of LLM
  5. 2025Unveiling Latent Knowledge in Chemistry Language Models through Sparse Autoencoders
  6. 2024FARM: Enhancing Molecular Representations with Functional Group Awareness
  7. 2026Agent-Guided Discovery of Exchange-Correlation Functionals with Physics-based Validation
  8. 2026Same molecule, Different Knowledge: Cross-Identifier Binding Failures in LLMs For chemistry