Adapting protein language models for structure-conditioned design

Jeffrey A. Ruffolo, Aadyot Bhatnagar, Joel Beazer, Stephen Nayfach, Jordan Russ, Emily Hill, Riffat Hussain, Joseph P. Gallagher, Ali MadanibioRxiv 2024

Abstract

Generative models for protein design trained on experimentally determined structures have proven useful for a variety of design tasks. However, such methods are limited by the quantity and diversity of structures used for training, which represent a small, biased fraction of protein space. Here, we describe proseLM, a method for protein sequence design based on adaptation of protein language models to incorporate structural and functional context. We show that proseLM benefits from the scaling trends of underlying language models, and that the addition of non-protein context – nucleic acids, ligands, and ions – improves recovery of native residues during design by 4-5% across model scales. These improvements are most pronounced for residues that directly interface with non-protein context, which are faithfully recovered at rates >70% by the most capable proseLM models. We experimentally validated proseLM by optimizing the editing efficiency of genome editors in human cells, achieving a 50% increase in base editing activity, and by redesigning therapeutic antibodies, resulting in a PD-1 binder with 2.2 nM affinity.

Introduction

Protein design, often framed as the "inverse folding" problem, seeks to identify amino acid sequences that will fold into a target 3D structure. Traditional structure-based models, such as ProteinMPNN, are highly accurate but constrained by the limited size of the Protein Data Bank (PDB), which contains approximately 200,000 experimental structures. Conversely, Protein Language Models (pLMs) trained on billions of sequences possess a deep understanding of protein sequence space but lack a mechanism to be conditioned on specific 3D coordinates or functional environments, such as bound ligands or DNA. Furthermore, most existing tools fail to account for the non-protein context essential for designing functional interfaces.

Methods

The authors propose proseLM (protein structure-encoded language model), a framework that integrates structural context into large-scale pLMs.

Architecture

The proseLM architecture consists of three primary components:

  1. Foundation pLM: The model utilizes ProGen2, a suite of causal protein language models, as its backbone.
  2. Causal Encoder: A graph neural network (GNN) encodes 3D structural and functional context into latent features. This encoder represents nucleic acids, ligands, and ions as an atomistic graph, allowing the model to condition generation on these functional neighbors.
  3. Structural Adapters: To avoid the high cost and potential knowledge loss of full fine-tuning, parameter-efficient adapters are inserted into the pLM. These layers inject structural information from the encoder into the pLM’s attention and feed-forward blocks.
The proseLM architecture integrates structural information via parameter-efficient adapters into a pre-trained protein language model.

Training and Evaluation

Models were evaluated on standard benchmarks including CATH 4.2 for single-chain design and the PDB for multi-chain complexes and non-protein interactions. Specialized versions, such as proseLM-Ab, were developed using the Structural Antibody Database (SAbDab). Fitness prediction was assessed using ProteinGym, a benchmark of deep mutational scanning datasets.

Results and Key Insights

Evaluation across benchmarks revealed several critical findings regarding the performance and scaling of proseLM.

Scaling and Context Benefits

ProseLM demonstrates clear scaling trends: larger pLM backbones consistently yield better structural conditioning and higher native sequence recovery. Notably, the inclusion of non-protein context (e.g., DNA, ions) improves overall native residue recovery by 4–5%. This effect is most significant at the interface; for residues in direct contact with non-protein elements, recovery rates exceed 70% in the largest model variants.

Performance metrics for proseLM across CATH and PDB test sets, highlighting scaling trends and the impact of non-protein context on sequence recovery.

Zero-Shot Fitness Prediction

By conditioning pLMs on structure, proseLM improves the prediction of beneficial mutations without requiring labeled experimental data. In antibody design, starting with a pLM pre-trained on antibody sequences (ProGen2-OAS) and adding structural adapters significantly outperformed general-purpose models.

Experimental Validation

The utility of proseLM was confirmed through wet-lab experiments:

  • Genome Editing: Redesign of the SpCas9 protein led to a variant with a 50% increase in base editing activity in human cells.
  • Therapeutic Antibodies: Optimization of the anti-PD-1 drug nivolumab resulted in a variant with a binding affinity of 2.2 nM, a three-fold improvement over the original.
  • Diversification: The model successfully redesigned the variable fragment of secukinumab, introducing 31 mutations while maintaining high binding affinity.

Conclusion and Future Work

ProseLM effectively bridges the gap between sequence-rich pLMs and structure-based design. While the model shows state-of-the-art performance, the authors noted a trade-off where backbone-only models occasionally outperformed full-context models in fitness prediction, suggesting potential conflicts between implicit pLM knowledge and explicit structural context. Future developments may include tighter integration with structure prediction tools like AlphaFold to enable the design of proteins for entirely novel functions.

Summary updated

BibTeX
@misc{ruffolo2024adapting,
  author = {Jeffrey A. Ruffolo and Aadyot Bhatnagar and Joel Beazer and Stephen Nayfach and Jordan Russ and Emily Hill and Riffat Hussain and Joseph P. Gallagher and Ali Madani},
  title = {{Adapting protein language models for structure-conditioned design}},
  year = {2024},
  doi = {10.1101/2024.08.03.606485},
  howpublished = {bioRxiv},
}
Figure