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

Flash不变点注意力

Flash Invariant Point Attention

Flagship Pioneering

Andrew Liu, Axel Elaldi, Nicholas T Franklin, Nathan Russell, Gurinder S Atwal, Yih-En A Ban, Olivia Viessmann

AI总结:

本文提出FlashIPA,通过因式分解重构并结合FlashAttention,使IPA在GPU内存和运行时间上随序列长度线性扩展,支持数千残基结构生成且性能不降。

摘要:

Invariant Point Attention(IPA,不变点注意力)是结构生物学中几何感知建模的关键算法,是许多蛋白质和RNA模型的核心。然而,其二次复杂度限制了输入序列长度。我们提出FlashIPA,这是一种IPA的因式分解重构,利用硬件高效的FlashAttention,在GPU内存和实际运行时间上实现随序列长度的线性扩展。FlashIPA在显著降低计算成本的同时,达到或超过标准IPA的性能。FlashIPA将训练扩展到此前无法达到的长度,我们通过无长度限制地重新训练生成模型并生成数千个残基的结构证明了这一点。FlashIPA可在https://github.com/flagshippioneering/flash_ipa获取。

英文摘要:

Invariant Point Attention (IPA) is a key algorithm for geometry-aware modeling in structural biology, central to many protein and RNA models. However, its quadratic complexity limits the input sequence length. We introduce FlashIPA, a factorized reformulation of IPA that leverages hardware-efficient FlashAttention to achieve linear scaling in GPU memory and wall-clock time with sequence length. FlashIPA matches or exceeds standard IPA performance while substantially reducing computational costs. FlashIPA extends training to previously unattainable lengths, and we demonstrate this by re-training generative models without length restrictions and generating structures of thousands of residues. FlashIPA is available at https://github.com/flagshippioneering/flash_ipa.

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

↑