arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.16480q-bio.BMcs.AI
收藏

MoleCode 解锁大型语言模型中的结构智能

MoleCode unlocks structural intelligence in large language models

Peking University Shenzhen Graduage School

Zhiyuan Yan, Chen Liu, Boxuan Zhao, Kaiqing Lin, Jixiang Zhao, Yimi Wang, Liuzhenghao Lv, Hao Li, Shanzhuo Zhang, Li Yuan, Fanyang Mo

AI总结:

MoleCode 通过引入图显分子语言,使大型语言模型能直接操作分子结构,提升分子推理、编辑、生成和分析任务的性能,尤其在结构受限场景下表现突出。

摘要:

分子是图,但大型语言模型(LLMs)通常通过线性字符串来推理分子。最流行的分子表示SMILES将原子、键、分支和环压缩成紧凑序列,其中拓扑结构是隐含的,迫使LLMs在执行化学操作前重建分子结构。本文介绍MoleCode,一种LLM原生、无需训练、图显的分子语言,其中所有分子组件均以带类型实体和持久标识符表示,并有显式关系。MoleCode使分子拓扑结构在语言上下文中直接可读、可编辑和可审计,使LLM能够操作结构而非从语法中恢复。在分子推理、编辑、生成和分析任务中,这种表征转变在结构访问受限时对前沿LLMs效果最显著:不熟悉的分子、拓扑敏感操作、更大的结构和重复的聚合物。它还改变了推理的分配方式,用更短的、化学导向的推理替代长推理轨迹用于隐含结构重建。在分子优化中,这使能够进行局部、属性对齐的编辑,保持结构相似性。相同的子图-节点-边语法扩展到聚合物、Markush结构、机制式转换和交织的科学文档,包括包含化学信息的科研论文和专利披露,其中化学信息分布于文本和图像中。这些结果表明,科学对象与LLMs之间的接口不应将结构视为从文本中解码的东西。当推理对象是关系时,结构本身应成为语言的一部分。

英文摘要:

Molecules are graphs, but large language models~(LLMs) are usually asked to reason about them through linear strings. The most popular molecular representation, SMILES, compresses atoms, bonds, branches and rings into a compact sequence in which topology is implicit, forcing LLMs to reconstruct molecular structure before performing the requested chemical operation. Here we introduce MoleCode, an LLM-native, training-free, graph-explicit molecular language in which all molecular components are represented as typed entities with persistent identifiers and explicit relations. MoleCode makes molecular topology directly readable, editable and auditable within the language context, allowing an LLM to operate on structure rather than recover it from syntax. Across molecular reasoning, editing, generation and analysis tasks, this representational shift improves frontier LLMs most strongly when structural access is limiting: unfamiliar molecules, topology-sensitive operations, larger structures and repetitive polymers. It also changes how inference is allocated, replacing long reasoning traces devoted to implicit structural reconstruction with shorter, more chemically directed reasoning over explicit atoms and bonds. In molecular optimization, this enables localized, property-aligned edits that preserve structural similarity to the starting compounds. The same Subgraph--Node--Edge grammar extends beyond small molecules to polymers, Markush structures, mechanism-style transformations and interleaved scientific documents, including research articles and patent disclosures in which chemical information is distributed across text and images. These results suggest that the interface between scientific objects and LLMs should not treat structure as something to be decoded from text. When the object of reasoning is relational, the structure itself should be part of the language.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑