arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.02530cs.LGq-bio.QM
收藏

多尺度图自回归建模:通过下一个标记预测进行分子属性预测

Multi-scale Graph Autoregressive Modeling: Molecular Property Prediction via Next Token Prediction

The Hong Kong University of Science(香港科学与技术大学);Zhongguancun Academy, Beijing, China(中关村学院,北京,中国)

Zhuoyang Jiang, Yaosen Min, Peiran Jin, Lei Chen

AI总结:

CamS通过多尺度因果序列化实现分子属性预测,优于SMILES和图基线模型,有效识别活性悬崖差异。

摘要:

我们提出了Connection-Aware Motif Sequencing(CamS),一种图到序列的表示方法,使仅解码器的Transformer能够通过标准的下一个标记预测(NTP)学习分子图。对于分子属性预测,基于SMILES的NTP扩展性良好但缺乏显式拓扑结构,而图原生的掩码建模能够捕捉连接性但有风险破坏关键的化学细节(例如活性悬崖)。CamS通过将分子图序列化为结构丰富的因果序列来弥合这一差距。CamS首先挖掘数据驱动的连接意识的motif。然后通过以骨架为根的广度优先搜索(BFS)序列化motif,以建立稳定的核心到外围顺序。关键的是,CamS通过将从细到粗的motif尺度的序列拼接,实现层次化建模,使模型能够将全局骨架条件化于密集且未受损的局部结构证据上。我们通过在CamS序列上预训练一个普通的LLaMA骨干来实例化CamS-LLaMA。它在MoleculeNet和活性悬崖基准MoleculeACE上实现了最先进的性能,优于基于SMILES的语言模型和强大的图基线。可解释性分析确认,我们的多尺度因果序列化有效驱动注意力关注于决定悬崖差异的地方。

英文摘要:

We present Connection-Aware Motif Sequencing (CamS), a graph-to-sequence representation that enables decoder-only Transformers to learn molecular graphs via standard next-token prediction (NTP). For molecular property prediction, SMILES-based NTP scales well but lacks explicit topology, whereas graph-native masked modeling captures connectivity but risks disrupting the pivotal chemical details (e.g., activity cliffs). CamS bridges this gap by serializing molecular graphs into structure-rich causal sequences. CamS first mines data-driven connection-aware motifs. It then serializes motifs via scaffold-rooted breadth-first search (BFS) to establish a stable core-to-periphery order. Crucially, CamS enables hierarchical modeling by concatenating sequences from fine to coarse motif scales, allowing the model to condition global scaffolds on dense, uncorrupted local structural evidence. We instantiate CamS-LLaMA by pre-training a vanilla LLaMA backbone on CamS sequences. It achieves state-of-the-art performance on MoleculeNet and the activity-cliff benchmark MoleculeACE, outperforming both SMILES-based language models and strong graph baselines. Interpretability analysis confirms that our multi-scale causal serialization effectively drives attention toward cliff-determining differences.

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

↑