ICML-2021 Learning inverse folding from millions of predicted structures

· ICML· · protein, inverse folding, PLM, GNN

Paper: Learning inverse folding from millions of predicted structures

Code: https://github.com/facebookresearch/esm

ESM-IF: additionally training on 12M UniRef50 sequences for inverse folding

Abstract

The task is to predict protein sequences from backbone atom coordinates. Structures predicted by AlphaFold2 for 12M protein sequences are used as data augmentation. A transformer with invariant geometric input layers achieves 51% native sequence recovery, with 72% recovery for buried residues.

Introduction

avatar

Designing novel amino acid sequences that encode proteins with desired properties is known as de novo protein design.

This work mainly asks whether predicted structures can overcome the limited scale of experimental data. AlphaFold2 is applied to predict structures for 12M sequences from UniRef50. Even when the predicted inputs (structures) are lower quality, inverse folding can still learn effectively from the additional target data (sequences).

Learning inverse folding from predicted structures

Given backbone atom coordinates for N, Cα, and C atoms $(x_1,...,x_i,...,x_{3n})$, the goal is to predict the protein sequence $(y_1,...,y_i,...,y_n)$, modeled with an autoregressive encoding architecture.

avatar

Data

Predicted structures

To choose sequences for structure prediction, MSA Transformer first predicts distograms for MSAs of all UniRef50 sequences; distogram LDDT scores are then used as a proxy for prediction quality to rank candidates. The top 12M sequences with at most 500 amino acids are passed to AlphaFold2.

Training and evaluation data

Models are evaluated on a structure-held-out subset of CATH, with an 80/10/10 split at the topology level: 16,153 training, 1,457 validation, and 1,797 test structures. Gene3D topology classification is used to filter out supervised sequences that appear in the training set and MSAs used as input to AlphaFold2.

Model architectures

avatar

GVP learns rotation-equivariant transformations for vector features and rotation-invariant transformations for scalar features. Three model variants are compared: GVP-GNN, GVP-GNN-large, and GVP-Transformer.

In inverse folding, the predicted sequence should be independent of the reference frame of the structural coordinates. For any rotation and translation $T$ of the input coordinates, the model output should be invariant under these transforms, i.e., $p(Y \mid X) = p(Y \mid T X)$.

GVP-GNN

Three encoder layers and three decoder layers.

Protein structure is represented as a graph. Node features combine scalar node features derived from dihedral angles and vector node features derived from relative positions of backbone atoms; edge features encode relative positions of nearby amino acids.

During training, a deeper and wider eight-layer GVP-GNN performed better.

GVP-Transformer

A GVP-GNN encoder extracts geometric features, which are then fed into a standard autoregressive transformer.

Training

Combining experimental and predicted data

Each training epoch mixes experimentally determined structures (16K) with a 10% random sample of the 12M predicted set, roughly a 1:80 ratio of experimental to predicted data. For larger models, increasing the fraction of predicted data helps prevent overfitting (Fig. 6b), whereas training on predicted data alone degrades performance.

avataravatar

Predicted input coordinates with AlphaFold2 confidence scores (pLDDT) below 90 are masked, covering about 25% of predicted coordinates (visualized in Fig. 3). A token prepended to each sequence indicates whether the structure is experimental or predicted. For each residue, the AlphaFold2 pLDDT confidence is provided as a feature encoded with Gaussian radial basis functions, yielding a slight gain (Fig. C.1).

Span masking
avatar

Randomly selected spans of 30 amino acids are masked until masked regions account for 15% of the entire input backbone.

Results

avatar
avatar
avatar
avataravatar
avatar