Protein structure models do more than read an amino-acid sequence: they repeatedly update relationships between pairs of residues. Triangle attention (TriAttn) and triangle multiplication (TriMul) help connect those pairwise relationships through a third residue. The trade-off is computational cost that can grow sharply with sequence length, making large biomolecules harder to process. A new arXiv paper introduces TriHyena as a way to make these operations more efficient.
What the paper reports
TriHyena is a gated triangle mixer based on the fast Fourier transform (FFT). The authors report compute complexity of O(L² log L), rather than the cubic scaling associated with conventional triangle operations. Here, L denotes sequence length. Because a model also maintains relationships between residue pairs, reducing how quickly the operation grows with L could matter particularly for longer sequences. The paper presents TriHyena as an alternative operator, not as a complete replacement for every component of a protein model.
In training tests at sequence length 2048, TriHyena is reported to be 3.2 to 7.0 times faster than TriAttn and 1.5 to 1.7 times faster than TriMul. The comparisons cover NVIDIA B300, B200, H200, H100, and A100 GPUs. The authors also report larger gains with wider pair representations. These figures describe the tested configurations; they should not be read as guaranteed end-to-end speedups for every architecture, hardware setup, or inference workload.
The paper evaluates substitutions in reduced-scale RoseTTAFold3 (RF3) ablations. Replacing TriAttn with TriHyena preserves the baseline lDDT for both protein structures and protein-protein interfaces. Replacing both TriAttn and TriMul creates an all-TriHyena model: its monomer lDDT remains at baseline, while its interface lDDT is close to the baseline, with a reported difference of 0.04. In a separate protein-generation experiment using Genie2, replacing TriMul with TriHyena yields comparable designability and diversity.
Why it matters—and what remains open
The practical aim is to reduce the compute burden of operations that are central to reasoning over residue-pair relationships. If this approach scales beyond the tested settings, it could give researchers another way to build protein models that are more economical to train or run, and could support architectures with lower computational cost. The results are especially relevant to workloads where pair representations are wide or sequences are long, although the paper’s measurements do not establish performance in every such setting.
The evidence also has clear limits. The structure results come from reduced-scale RF3 ablations, the speed comparison is tied to a particular sequence length and set of GPUs, and the generation finding concerns replacing TriMul in Genie2. The reported results therefore support TriHyena as a promising substitute for selected operations; they do not show that every full-scale protein model will be faster or equally accurate. Broader evaluations will be needed to establish how the trade-off holds across architectures and biomolecular tasks.
Comments
Checking sign-in status...
Loading comments...