arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.01533cs.LGcs.AIq-bio.BM
收藏

在蛋白质上训练的Transformers可学会关注欧氏距离

Transformers trained on proteins can learn to attend to Euclidean distance

University of Oxford(牛津大学);Exscientia

Isaac Ellmen, Constantin Schneider, Matthew I. J. Raybould, Charlotte M. Deane

AI总结:

本研究证明输入坐标线性嵌入的Transformer可独立作为结构模型,解释了其注意力形成3D高斯的机制,验证了理论并表明结构预训练能提升蛋白质Transformer的下游任务表现。

摘要:

传统Transformer通常处理序列数据,它们可与结构模型(通常是SE(3)不变或等变图神经网络(GNNs))结合,用于蛋白质结构建模等3D场景。这类混合方案通常要么(1)将结构特征预处理/标记化后作为Transformer的输入,要么(2)取出Transformer嵌入并在结构表示中对其进行处理。但有证据表明Transformer可自行学习处理结构信息,例如AlphaFold3结构扩散模型。本研究表明,当输入坐标的线性嵌入时,Transformer可独立充当结构模型。我们首先从理论上解释了Transformer如何学习将注意力过滤为具有可学习方差的3D高斯分布。随后我们通过模拟3D点集和蛋白质掩码标记预测任务验证了该理论。最后我们发现,用结构信息预训练蛋白质Transformer编码器可提升下游任务性能,表现优于定制结构模型。综上,本研究为使用标准Transformer构建结构-语言混合模型提供了基础。

英文摘要:

While conventional Transformers generally operate on sequence data, they can be used in conjunction with structure models, typically SE(3)-invariant or equivariant graph neural networks (GNNs), for 3D applications such as protein structure modelling. These hybrids typically involve either (1) preprocessing/tokenizing structural features as input for Transformers or (2) taking Transformer embeddings and processing them within a structural representation. However, there is evidence that Transformers can learn to process structural information on their own, such as the AlphaFold3 structural diffusion model. In this work we show that Transformers can function independently as structure models when passed linear embeddings of coordinates. We first provide a theoretical explanation for how Transformers can learn to filter attention as a 3D Gaussian with learned variance. We then validate this theory using both simulated 3D points and in the context of masked token prediction for proteins. Finally, we show that pre-training protein Transformer encoders with structure improves performance on a downstream task, yielding better performance than custom structural models. Together, this work provides a basis for using standard Transformers as hybrid structure-language models.

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

↑