BERTology Meets Biology: Interpreting Attention in Protein Language Models

By Jesse Vig, Ali Madani, L. Varshney, Caiming Xiong, Richard Socher, Nazneen Rajani. 2020

381 citations recorded by the source corpus.

Transformer architectures have proven to learn useful representations for protein classification and generation tasks. However, these representations present challenges in interpretability. Through the lens of attention, we analyze the inner workings of the Transformer and explore how the model discerns structural and functional properties of proteins. We show that attention (1) captures the folding structure of proteins, connecting amino acids that are far apart in the underlying sequence, but spatially close in the three-dimensional structure, (2) targets binding sites, a key functional component of proteins, and (3) focuses on progressively more complex biophysical properties with increasing layer depth. We also present a three-dimensional visualization of the interaction between attention and protein structure. Our findings align with known biological processes and provide a tool to aid discovery in protein engineering and synthetic biology. The code for visualization and analysis is available at https://github.com/salesforce/provis.

Subfields: Molecular Biology, Natural Language Processing, Computational Biology & Bioinformatics

How researchers see this paper

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

In Molecular Biology

  1. Kevin Kaichuang Yang
  2. Nadav Brandes
  3. Alexander Rives
  4. Ali Madani
  5. Tom Sercu
  6. Jin Su
  7. Fajie Yuan
  8. Lucy J. Colwell

In Natural Language Processing

  1. Caiming Xiong
  2. Richard Socher
  3. Mohit Bansal
  4. Dawn Song
  5. Graham Neubig
  6. Jianfeng Gao
  7. Luke S. Zettlemoyer
  8. Kyunghyun Cho

In Computational Biology & Bioinformatics

  1. Kevin Kaichuang Yang
  2. Alexander Rives
  3. Tom Sercu
  4. Lucy J. Colwell
  5. Sergey Ovchinnikov
  6. Roshan Rao
  7. Joshua Meier
  8. Ali Madani

Citations in the corpus