Protein language models trained on multiple sequence alignments learn phylogenetic relationships

Umberto Lupo, Damiano Sgarbossa, Anne-Florence Bitbol
3/29/2022
q-bio.BMcs.LGq-bio.QM
transformer-attention

Official code: Bitbol-Lab/Phylogeny-MSA-Transformer (17 stars, Jupyter Notebook, MIT, last commit 2025-01-17).

Abstract

Self-supervised neural language models with attention have recently been applied to biological sequence data, advancing structure, function and mutational effect prediction. Some protein language models, including MSA Transformer and AlphaFold's EvoFormer, take multiple sequence alignments (MSAs) of evolutionarily related proteins as inputs.

Show full abstract

Simple combinations of MSA Transformer's row attentions have led to state-of-the-art unsupervised structural contact prediction. We demonstrate that similarly simple, and universal, combinations of MSA Transformer's column attentions strongly correlate with Hamming distances between sequences in MSAs. Therefore, MSA-based language models encode detailed phylogenetic relationships. We further show that these models can separate coevolutionary signals encoding functional and structural constraints from phylogenetic correlations reflecting historical contingency. To assess this, we generate synthetic MSAs, either without or with phylogeny, from Potts models trained on natural MSAs. We find that unsupervised contact prediction is substantially more resilient to phylogenetic noise when using MSA Transformer versus inferred Potts models.

View on arXivView PDF

Code Implementations(1)

MIT

Supporting repository for "Protein language models trained on multiple sequence alignments learn phylogenetic relationships" (https://www.nature.com/articles/s41467-022-34032-y)

171Jupyter Notebook, PythonApr 21, 20221 years agoMIT

Similar Papers

Cite this paper

@article{lupo2022protein,
  title  = {Protein language models trained on multiple sequence alignments learn phylogenetic relationships},
  author = {Umberto Lupo and Damiano Sgarbossa and Anne-Florence Bitbol},
  year   = {2022},
  eprint = {2203.15465},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.15465}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.15465.svg)](https://codeofpaper.com/paper/2203.15465)

Discussion