MSA Generation with Seqs2Seqs Pretraining: Advancing Protein Structure Predictions

Le Zhang, Jiayang Chen, Tao Shen, Yu Li, Siqi Sun

TL;DR

The accuracy of state-of-the-art protein structure models like AlphaFold2 depends heavily on finding evolutionary "relatives" (homologs) for a target protein. When these relatives are missing, prediction quality plummets. This paper introduces MSA-Generator, a generative model that "hallucinates" high-quality virtual Multiple Sequence Alignments (MSAs), significantly boosting structure prediction accuracy for rare or "orphan" proteins.

What Problem Does This Paper Address?

In the world of structural biology, Multiple Sequence Alignments (MSAs) are the ultimate cheat sheet. By looking at how a protein sequence has changed across different species over millions of years, models like AlphaFold2 (AF2) can spot "co-evolving" residues—pairs of amino acids that mutate together because they are physically touching in the 3D structure.

Generative MSA Pipeline

However, there is a major catch: The "Dark Matter" of Proteins. Many proteins are "orphans" or belong to small families with very few known relatives in genomic databases. For these sequences, search algorithms come up empty-handed, leaving AF2 with a "low-quality" MSA and resulting in poor structural predictions. The authors of this paper set out to bridge this gap by using generative AI to create "virtual" homologs that provide the missing evolutionary signals.

Methods

The authors propose a novel framework called MSA-Generator, built on a transformer-based encoder-decoder architecture. The core innovation is the Seqs2Seqs (sequences-to-sequences) task.

Unlike standard translation (which is 1-to-1), Seqs2Seqs is designed to take a small set of existing sequences and generate multiple new, coherent sequences simultaneously. To handle the complex 2D nature of MSAs (where patterns exist both within a single sequence and across different sequences), they implemented three specialized attention mechanisms:

  1. Tied-Row Attention: Ensures the model treats every sequence in the alignment with the same "logic."
  2. Cross-Row Attention: Allows the decoder to look at the entire input MSA at once to capture global structural patterns.
  3. Cross-Column Attention: Focuses on vertical columns in the MSA to identify which parts of the protein are biologically conserved (unchanging) vs. variable.

By training on this task, the model learns the "grammar" of protein evolution, allowing it to generate new sequences that look and act like real biological homologs.

Datasets

  • Pretraining: The model was trained on a massive, self-curated dataset of 2 million MSAs derived from the UniRef90 database.
  • Evaluation: The team tested the model on the gold-standard CASP14 and CASP15 benchmarks (Critical Assessment of Structure Prediction).
  • Orphan Proteins: They specifically evaluated a subset called Orphan25, consisting of proteins with extremely few or no known homologs, to see if the generator could truly help where traditional methods fail.

Key Insights and Ideas

  • Hallucination as a Feature, Not a Bug: In many LLM applications, "hallucination" is a problem. Here, it’s the goal. By "hallucinating" valid evolutionary variations, the model provides AF2 with the statistical diversity it needs to "see" the 3D structure.
  • Parallelism is Key: The Seqs2Seqs architecture allows for the fast, parallel generation of multiple sequences, making it computationally efficient enough to be used in real-world pipelines.
  • The pLDDT Selection Strategy: Since the model can generate many different virtual MSAs, the authors used AlphaFold’s own confidence score (pLDDT) as a filter. They generate several versions and pick the one that makes AlphaFold feel most "confident" about its prediction.

Key Results

The results show that "virtual" MSAs can be nearly as good—and sometimes better—than real ones:

LDDT Improvements with Virtual MSAs
  • Significant Accuracy Boost: On the CASP15 benchmark, using MSA-Generator improved LDDT scores (a measure of local structural accuracy) by an average of 8.1 points.
  • Saving the Hard Cases: For some particularly challenging proteins, the improvement was massive. For example, on target T1070-D2, the score jumped by +61.22 LDDT, turning a failed prediction into a highly accurate one.
  • Model Agnostic: The generated MSAs didn't just help AlphaFold2; they also boosted the performance of RoseTTAFold, proving that the "virtual" evolutionary information is generally useful across different folding algorithms.

Limitations and Future Work

While a major step forward, the authors acknowledge a few hurdles:

  • Selection Metrics: Using pLDDT to pick the best MSA is a good proxy, but it’s not perfect. Sometimes a high-confidence prediction from AF2 is still wrong. Developing a more refined metric for "MSA quality" is a priority.
  • Depth Constraints: Currently, the model struggles to generate very "deep" MSAs (hundreds of sequences) due to computational complexity. Future work will look at scaling the model size and training data to handle even more complex protein families.
  • Zero-Shot Generalization: While it works well on CASP, the model's performance on entirely novel, synthetic proteins (designed by humans rather than evolved by nature) remains an open question.

Summary updated

BibTeX
@inproceedings{zhang2024msa,
  author = {Le Zhang and Jiayang Chen and Tao Shen and Yu Li and Siqi Sun},
  title = {{MSA Generation with Seqs2Seqs Pretraining: Advancing Protein Structure Predictions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=D0DLlMOufv},
}
Figure