Masked Language Modeling for Proteins via Linearly Scalable Long-Context Transformers

By Krzysztof Marcin Choromanski, Valerii Likhosherstov, David Dohan, Xingyou Song, Jared Davis, Tamás Sarlós, David Belanger, Lucy J. Colwell, Adrian Weller. 2020

96 citations recorded by the source corpus.

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 strong theoretical guarantees: unbiased estimation of the attention matrix and uniform convergence. It is also backwards-compatible with pre-trained regular Transformers. We demonstrate its effectiveness on the challenging task of protein sequence modeling and provide detailed theoretical analysis.

Subfields: Artificial Intelligence, Materials Chemistry, Molecular Biology, Large Language Models, Efficiency & Compression

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Yi Tay
  2. Mostafa Dehghani
  3. Donald Metzler
  4. Jianfeng Gao
  5. Dara Bahri
  6. Mohit Bansal
  7. Xipeng Qiu
  8. J. Ainslie

In Materials Chemistry

  1. Xipeng Qiu
  2. Andreas Loukas
  3. Mostafa Dehghani
  4. Jean-Baptiste Cordonnier

In Molecular Biology

  1. Eric J. Topol
  2. Pranav Rajpurkar
  3. Adrian Weller
  4. Xipeng Qiu
  5. Krzysztof Marcin Choromanski
  6. Andreas Loukas
  7. Sebastian Ruder
  8. Jared Davis

In Large Language Models

  1. Yi Tay
  2. Mostafa Dehghani
  3. Dara Bahri
  4. James Lee-Thorp
  5. Yihe Dong
  6. Adrian Weller
  7. J. Ainslie
  8. Donald Metzler

In Efficiency & Compression

  1. Dara Bahri
  2. James Lee-Thorp
  3. Yi Tay
  4. Adrian Weller
  5. J. Ainslie
  6. Donald Metzler
  7. Santiago Ontañón
  8. Michael S. Ryoo

Citations in the corpus