2025-10-03 · 专家 · 计算机视觉 · 机器学习 · 数据科学

Transformers Discover Molecular Structure Without Graph Priors

该论文展示了纯Transformer在无需预定义图或物理先验的情况下,可以直接从笛卡尔坐标学习分子能量和力,并在OMol25数据集上达到与最先进的等变GNN相当的性能。

更新于 2025-10-03。作者:Tobias Kreiman、Yutong Bai、Fadi Atieh、Elizabeth Weaver、Eric Qu、Aditi S. Krishnapriyan。

中文摘要

图神经网络(GNNs)是分子机器学习的首选架构,特别是在分子性质预测和机器学习原子间势(MLIPs)方面。GNNs在预定义的图上进行消息传递,这些图通常由固定半径截止或k最近邻方案诱导。虽然这种设计符合许多分子任务中的局部性,但硬编码的图可能会因为固定的感受野而限制表达能力,并因稀疏图操作而减慢推理速度。在这项工作中,我们研究是否可以在没有预定义图或物理先验的情况下,直接在笛卡尔坐标上训练纯、未经修改的Transformer,以近似分子能量和力。作为我们分析的一个起点,我们展示了如何训练一个Transformer,使其在匹配的训练计算预算下,在OMol25数据集上相对于最先进的等变GNN,达到有竞争力的能量和力平均绝对误差。我们发现,Transformer学习到与物理一致的图案——例如,注意力权重与原子间距离成反比衰减——并且由于没有硬编码的偏差,可以灵活地适应不同的分子环境。使用标准的Transformer还解锁了与扩展训练资源相关的可预测改进,这与在其他领域观察到的经验缩放定律一致。我们的结果表明,GNNs的许多有利特性可以在Transformer中自适应地出现,挑战了硬编码图归纳偏差的必要性,并指向标准化的、可扩展的分子建模架构。

英文摘要

Graph Neural Networks (GNNs) are the dominant architecture for molecular machine learning, particularly for molecular property prediction and machine learning interatomic potentials (MLIPs). GNNs perform message passing on predefined graphs often induced by a fixed radius cutoff or k-nearest neighbor scheme. While this design aligns with the locality present in many molecular tasks, a hard-coded graph can limit expressivity due to the fixed receptive field and slows down inference with sparse graph operations. In this work, we investigate whether pure, unmodified Transformers trained directly on Cartesian coordinatesx2013without predefined graphs or physical priorsx2013can approximate molecular energies and forces. As a starting point for our analysis, we demonstrate how to train a Transformer to competitive energy and force mean absolute errors under a matched training compute budget, relative to a state-of-the-art equivariant GNN on the OMol25 dataset. We discover that the Transformer learns physically consistent patternsx2013such as attention weights that decay inversely with interatomic distancex2013and flexibly adapts them across different molecular environments due to the absence of hard-coded biases. The use of a standard Transformer also unlocks predictable improvements with respect to scaling training resources, consistent with empirical scaling laws observed in other domains. Our results demonstrate that many favorable properties of GNNs can emerge adaptively in Transformers, challenging the necessity of hard-coded graph inductive biases and pointing toward standardized, scalable architectures for molecular modeling.

解读

一句话总结

该论文展示了纯Transformer在无需预定义图或物理先验的情况下,可以直接从笛卡尔坐标学习分子能量和力,并在OMol25数据集上达到与最先进的等变GNN相当的性能。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源