MolLean:一种过程可验证的化学推理语言

·

研究论文 · 2026/10/23

化学思维链可能包含虚构的结构和性质声明。因此,我们引入MolLean,一种基于显式分子状态的过程可验证语言。一个分层的基于Lean的内核检查分子读数上的状态转换和断言,从原始图编辑到复合变换。同时,类型化见证协议将原生结构检查与外部提供的测量分开。我们进一步引入MolLean-MCP,一个有状态工具接口,在生成过程中暴露这些转换、检查和读数:模型接收反馈以决定其下一步行动,被拒绝的行动保持状态不变。MolLean支持单遍轨迹执行、全轨迹细化和通过MolLean-MCP的交互式推理。我们在12个任务(涵盖分子生成、编辑、优化和反应)的8,800个匹配示例上,用直接思维链评估了这三种模式。使用Qwen3.6-27B,全轨迹细化在所有12个任务上优于直接思维链。MolLean-MCP通过逐步验证反馈补充全轨迹细化,在反应任务中达到更好的性能。总之,这些结果突显了一个可执行的化学推理基础,其中显式的化学承诺可以被检查和修订,而不是仅仅停留在自由形式的解释中。

该研究提出了一种可验证的化学推理语言,通过显式状态和检查机制减少幻觉,并在多个任务上验证了其有效性,为化学领域的可信AI提供了新思路。

Chemical chain-of-thought can contain hallucinated structural and property claims. We thereby introduce MolLean, a process-verifiable language that grounds chemical reasoning in an explicit molecular state. A layered Lean-based kernel checks state transitions and assertions over molecular readouts, from primitive graph edits to compound transformations. Meanwhile, a typed witness protocol separates native structural checks from externally supplied measurements. We further introduce MolLean-MCP, a stateful tool interface that exposes these transitions, checks, and readouts during generation: the model receives feedback to decide its next action, and rejected actions leave the state unchanged. MolLean supports one-pass trace execution, whole-trace refinement, and interactive reasoning through MolLean-MCP. We evaluate these three modes with direct chain-of-thought on 8,800 matched examples across 12 tasks spanning molecular generation, editing, optimization, and reactions. With Qwen3.6-27B, whole-trace refinement outperforms direct chain-of-thought on all 12 tasks. MolLean-MCP complements whole-trace refinement with stepwise verification feedback, reaching better performance in reaction tasks. Together, these results highlight an executable foundation for chemical reasoning, in which explicit chemical commitments can be checked and revised rather than remaining solely in free-form explanations.

阅读原文

参与讨论