Triangles Are All You Need: Subcubic Protein Structure Prediction with TriHyena
Triangle attention (TriAttn) and triangle multiplication (TriMul) are core operations in protein structure models, but their cubic scaling limits training and inference on large biomolecules. We introduce TriHyena, a gated FFT-based triangle mixer with O(L^2 logL) compute complexity. At sequence length 2048, TriHyena trains 3.2 - 7.0x faster than TriAttn and 1.5 - 1.7x faster than TriMul across NVIDIA B300, B200, H200, H100, and A100 GPUs, with further gains at wider pair representations. In reduced-scale RoseTTAFold3 (RF3) ablations, replacing TriAttn with TriHyena preserves baseline protein and protein-protein interface lDDT. Replacing both TriAttn and TriMul with TriHyena, yielding an all-TriHyena model, retains baseline lDDT for monomers and is close in lDDT (-0.04) for protein interfaces. In protein generation with Genie2, replacing TriMul with TriHyena yields comparable designability and diversity. TriHyena is thus an efficient substitute for TriAttn and TriMul, and a basis for architectures that further reduce computational cost. Code: https://github.com/NVIDIA-BioNeMo/nvSubquadratic .
讨论
电子报
订阅我们的免费电子简报,获取最新论文、软件、实验室服务、实验设备和生物技术新闻。