Masked Language Modeling for Proteins via Linearly Scalable Long-Context Transformers
Krzysztof Choromanski, Valerii Likhosherstov, David Dohan, Xingyou, Song, Andreea Gane, Tamas Sarlos, Peter Hawkins, Jared Davis, David Belanger,, Lucy Colwell, Adrian Weller

TL;DR
This paper introduces Performer, a scalable Transformer architecture with linear complexity for long sequences, demonstrating its effectiveness in protein sequence modeling and providing strong theoretical guarantees.
Contribution
The paper presents Performer, a novel Transformer model that scales linearly with sequence length using FAVOR, enabling efficient long-context modeling without sparsity assumptions.
Findings
Performer achieves linear scalability in attention computation.
The model performs well on protein sequence tasks.
Theoretical guarantees include unbiased attention estimation and convergence.
Abstract
Transformer models have achieved state-of-the-art results across a diverse range of domains. However, concern over the cost of training the attention mechanism to learn complex dependencies between distant inputs continues to grow. In response, solutions that exploit the structure and sparsity of the learned attention matrix have blossomed. However, real-world applications that involve long sequences, such as biological sequence analysis, may fall short of meeting these assumptions, precluding exploration of these models. To address this challenge, we present a new Transformer architecture, Performer, based on Fast Attention Via Orthogonal Random features (FAVOR). Our mechanism scales linearly rather than quadratically in the number of tokens in the sequence, is characterized by sub-quadratic space complexity and does not incorporate any sparsity pattern priors. Furthermore, it provides…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Machine Learning in Bioinformatics · Machine Learning in Materials Science
MethodsLinear Layer · Absolute Position Encodings · Position-Wise Feed-Forward Layer · Residual Connection · Label Smoothing · Multi-Head Attention · Adam · *Communicated@Fast*How Do I Communicate to Expedia? · Dropout · Byte Pair Encoding
