PoET: A generative model of protein families as sequences-of-sequences

Timothy F. Truong Jr., Tristan Bepler · DOI

Introduction

Designing novel proteins with specific biological functions remains one of the most significant challenges in biotechnology. The search space for functional protein sequences is astronomically large, making purely experimental approaches inefficient. To navigate this landscape, computational biology has historically relied on two distinct strategies: unconditional Protein Language Models (PLMs) and family-specific models.

Unconditional PLMs, such as ESM-1v, are trained on massive, diverse databases to learn the general grammar of "protein-ness." While powerful, they are often difficult to steer toward specific functional families. Conversely, family-specific models are trained on Multiple Sequence Alignments (MSAs) of a single protein family. While highly accurate for their specific domain, these models lack transfer learning capabilities, require significant data per family, and struggle with insertions and deletions (indels).

PoET (Protein Evolutionary Transformer) bridges this gap by framing protein modeling as a "sequence-of-sequences" problem. By learning across millions of protein clusters simultaneously, PoET functions as a retrieval-augmented generative model that generalizes evolutionary rules across the entire known protein universe.

Methods: The Tiered Transformer Architecture

The core innovation of PoET is its ability to process a set of related proteins as a single context. To achieve this, the authors developed a novel Tiered Transformer Decoder Layer that operates in two distinct phases:

  1. Phase 1 (Within-Sequence): The model applies causal self-attention to each protein sequence individually. This step captures the specific structural and chemical constraints dictated by the order of amino acids within a single chain.
  2. Phase 2 (Between-Sequence): The model applies attention across the different proteins in the set. Crucially, this phase is designed to be order-invariant. Because evolution does not follow a single linear path in a database, the model treats the collection of homologs as an unordered set, focusing on the shared evolutionary signals rather than the sequence in which they are presented.

This architecture allows PoET to function as a retrieval-augmented model. At inference time, the model is "prompted" with a few known members of a protein family. It uses this context to score new variants or generate entirely new sequences. Because the model is fully autoregressive, it handles indels naturally—a significant advantage over traditional MSA-based methods that rely on fixed-length alignments.

Training and Evaluation

PoET was trained on a massive dataset of 29 million sets of homologous sequences derived from UniRef50. This scale allows the model to learn "meta-rules" of evolution that apply even to small protein families where data is otherwise scarce.

Fitness Prediction

The model was evaluated using ProteinGym, a benchmark containing 94 deep mutational scanning (DMS) datasets. PoET achieved state-of-the-art performance, reaching the highest average Spearman correlation on substitution benchmarks. Notably, it outperformed both specialized models like EVE and large-scale PLMs like ESM-1v. Furthermore, PoET demonstrated superior performance on the indel benchmark, successfully predicting the effects of complex mutations that often break alignment-based tools.

Protein Generation

Beyond scoring, PoET was tested on its ability to generate functional proteins, specifically phage lysozymes and chorismate mutases. The generated sequences were highly diverse, with some sharing only 50% identity with known natural sequences. Despite this divergence, structural validation using AlphaFold2 showed that the generated proteins were predicted to fold with high confidence (pLDDT > 90).

Key Insights

  • Evolutionary Extrapolation: Although trained on context lengths of 8,000 tokens, PoET demonstrates a remarkable ability to generalize to much longer contexts. The authors found that performance continued to improve as the model was provided with more homologs, effectively utilizing up to 61,000 tokens at inference time.
  • Efficiency and Speed: Unlike models that require training a new, dedicated architecture for every protein family (e.g., EVE), PoET is a foundation model. It can be applied to a new family instantly by providing a prompt of existing sequences, making it orders of magnitude faster for many applications.
  • The Importance of Context: The model’s performance is highly dependent on the quality and quantity of the homologs provided in the prompt. This suggests the emergence of "protein prompt engineering" as a critical skill for future protein design.

Limitations and Future Outlook

While PoET represents a significant advancement, it faces challenges with "orphan proteins"—sequences with no known homologs to serve as a prompt. Additionally, while faster than retraining models, exhaustively scoring every possible multi-site mutation in large proteins remains computationally intensive.

Future work will likely focus on optimizing the selection of prompt sequences and reducing the computational overhead of scoring. By treating evolution as a universal language, PoET provides a robust framework for both understanding the effects of natural mutations and engineering the next generation of functional proteins.

Summary updated

BibTeX
@inproceedings{jr2023poet,
  author = {Timothy F. Truong Jr. and Tristan Bepler},
  title = {{PoET: A generative model of protein families as sequences-of-sequences}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=1CJ8D7P8RZ},
}
Figure