首页 > AI前沿 > Molecular Strings for LLM Reasoning: Unit-Query Alignment and Representational Locality as Design Principles

Molecular Strings for LLM Reasoning: Unit-Query Alignment and Representational Locality as Design Principles

arXiv机器学习 2026-11-30 12:46 4 阅读 查看原文

Molecular strings interface chemical structures with large language models (LLMs), yet the features supporting molecular reasoning remain unclear. We propose two design principles: unit-query alignment, whereby units correspond to queried chemical concepts, and representational locality, whereby structural edits remain local in the string. We instantiate both in LAUGHS, a hierarchy of named moieties with explicit linkers, locants and unit boundaries. In instruction-guided editing, LAUGHS raised exact-match accuracy from 48.4% for SMILES to 67.7%, reaching 78.6% with a locality-preserving variant. Introducing query-aligned units improved substructure recognition while reducing generated tokens by up to 70%. LAUGHS also strengthened property-guided redesign, particularly for complex molecules, and produced more high-scoring trajectories on the harder objectives in oracle-guided optimization. Controlled changes to serialization and naming probe the respective contributions of locality and alignment, supporting them as testable criteria for molecular representation design with potential relevance to other structured scientific data.