arXiv:2607.23607cs.LGcs.CL2026-07

用谱图引导的分子语言模型,更准地从质谱推断未知分子结构。

MS-GPT: Rethinking MS/MS De Novo Structure Elucidation as Spectrum-Induced Posterior Querying of a Molecule-Language Model

论文配图:MS-GPT: Rethinking MS/MS De Novo Structure Elucidation as Spectrum-Induced Posterior Querying of a Molecule-Language Model
图 1 · 摘自论文原文
  • 将质谱解析转化为对分子语言模型的谱图后验查询,避免传统方法的训练-推理不匹配。
  • 在两个基准数据集上达到29.8%和23.9%的顶1准确率,刷新了去重新纪录。
  • 适合从事质谱分析、分子结构推断或生成式分子建模的研究者使用。

从串联质谱(MS/MS)中推断分子结构是分析化学中的核心逆问题。现有方法多依赖参考库或预设候选集,而从头解析方法通常先从谱图预测分子指纹,再解码结构,可利用大规模仅分子语料预训练解码器。但该范式存在训练-推理不一致:解码器在真实分子计算的真指纹上训练,而推理时却面对由谱图生成的噪声后验指纹,且常被压缩为单一阈值指纹。本文提出MS-GPT,将指纹驱动的从头解析重构为谱图诱导的分子语言模型后验查询。该模型以指纹与分子式为条件,通过主动位密度校准,将谱图后验映射为靠近真指纹流形的指纹查询带。在该带内采样候选并按生成频率共识排序。轻量级LoRA适配器进一步缓解领域特定后验偏差,同时保留预训练分子先验。在NPLIB1和MassSpecGym上,MS-GPT分别达到29.8%/41.1%和23.9%/28.7%的顶1/顶10精确匹配准确率,刷新当前最优。候选池扩展实验表明,高效的自回归分子生成在少量额外推理成本下仍持续提升召回率。源代码与模型检查点已公开于https://github.com/VIKI623/MS-GPT。

原文摘要 · Abstract (English)

Molecular structure elucidation from tandem mass spectra (MS/MS) is a central inverse problem in analytical chemistry. Most existing approaches to MS/MS identification remain tied to reference libraries or predefined candidate sets, whereas de novo methods aim to generate structures directly from spectra. A common de novo route predicts a molecular fingerprint from the spectrum and then decodes structures from it, enabling decoder pretraining on large molecule-only corpora. However, this paradigm creates a training-inference mismatch: the decoder is trained on oracle fingerprints computed from molecules, but at inference it is queried with a noisy spectrum-induced fingerprint posterior that is typically collapsed to a single thresholded fingerprint. We introduce MS-GPT, which recasts fingerprint-mediated de novo elucidation as spectrum-induced posterior querying of a conditional molecule-language model. MS-GPT conditions a molecule-language model on fingerprints and formulas, then converts the spectrum-induced posterior into a band of fingerprint queries near the oracle-fingerprint manifold through active-bit density calibration. Candidates sampled across this band are pooled and ranked by generation-frequency consensus. A lightweight LoRA adapter further mitigates domain-specific posterior bias while preserving the pretrained molecular prior. On NPLIB1 and MassSpecGym, MS-GPT sets a new state of the art, reaching Top-1/Top-10 exact-match accuracy of 29.8\%/41.1\% and 23.9\%/28.7\%, respectively. Candidate-pool scaling shows that efficient autoregressive molecular generation continues to improve recall with a little additional inference cost. The source code and model checkpoints are available at https://github.com/VIKI623/MS-GPT.

质谱分析分子生成语言模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。