Evolutionary Profiles for Protein Fitness Prediction

Xiaoran Jiao, Jigang Fan, Shengdong Lin, Zhanming Liang, Weian Mao, Chenchen Jing, Hao Chen, Chunhua Shen · Submission to ICLR 2026 · Rejected

TL;DR

EvoIF is a lightweight, data-efficient protein fitness predictor that reframes masked language modeling as Inverse Reinforcement Learning (IRL) on natural evolution. By fusing a geometric sequence–structure encoder with both within-family homology profiles and cross-family inverse folding logits, EvoIF matches or outperforms massive foundation models on the ProteinGym benchmark while training on just 0.15% of the data.

What Problem Does This Paper Address?

Predicting how amino acid substitutions alter protein function (fitness) is essential for protein engineering, drug design, and antibody optimization. Although zero-shot protein language models (pLMs) scored via log-odds have emerged as strong predictors, current paradigms suffer from three major bottlenecks:

  1. Lack of theoretical grounding: Why does masked language modeling (MLM) correlate with experimental mutational fitness?
  2. Extreme compute and data scaling: Modern models chase incremental gains by training billions of parameters on trillions of tokens, making them prohibitive to fine-tune or deploy locally.
  3. Fragmented evolutionary modeling: Multiple Sequence Alignments (MSAs) only capture sequence homology within families, while Inverse Folding (IF) models capture global sequence-structure compatibility across families. Few models synthesize both into a coherent, compact representation.

Methods

EvoIF integrates sequence, 3D structure, and evolutionary priors into a data-efficient architecture:

[Target Sequence + 3D Backbone] 
       │
       ├─► Geometric Encoder (ESM-2 + GVP-GNN) ────────┐
       │                                               ▼
       ├─► Within-Family Profile (Foldseek MSA) ──► Transition Block ──► [Logit Fusion] ──► Calibrated Log-Odds
       │                                               ▲
       └─► Cross-Family Profile (ProteinMPNN Logits) ─► Transition Block ──┘
  • Theoretical Formulation (Evolution as IRL): Evolution is framed as a Markov Decision Process where natural selection acts as an expert agent maximizing fitness rewards. Extant proteins are expert demonstrations. Maximizing the MLM likelihood mathematically coincides with the Maximum Entropy IRL objective; hence, pLM log-odds directly approximate the relative fitness difference between mutant and wild-type sequences.
  • Geometric Sequence–Structure Backbone: EvoIF embeds sequences with ESM-2 (frozen) and models 3D backbone coordinates using SE(3)-equivariant/invariant Geometric Vector Perceptron (GVP) graph networks.
  • Dual Evolutionary Profiles:
  • Within-family homology profile ($P^{\text{struct}}$): Position-specific amino acid frequency matrices constructed from structural homologs retrieved via Foldseek from AlphaFold DB.
  • Cross-family structural profile ($P^{\text{IF}}$): Log-odds/probabilities from an inverse folding model (ProteinMPNN), supplying universal structural–evolutionary constraints.
  • Logit-Level Transition & Fusion: Each profile is passed through a lightweight transformer transition layer and added directly to the backbone GVP logits before computing softmax probabilities.
  • EvoIF-MSA (Ensemble): When MSAs are available at inference, EvoIF predictions are post-hoc ensembled with GEMME (an epistatic MSA-based model) by summing standardized $z$-scores.

Datasets

  • Pre-training: Evaluated on the non-redundant subset of CATH v4.3.0 (30,948 experimental structures)—vastly smaller than typical pLM corpora (e.g., UniRef100).
  • Homology Retrieval: Query structures are matched against the AlphaFold Proteome Database using Foldseek.
  • Evaluation: Benchmarked on ProteinGym (217 deep mutational scanning assays spanning >2.5 million mutations across clinical, stability, activity, and binding targets, including 23 out-of-distribution assays).

Key Insights and Ideas

  • MLM is Maximum-Entropy IRL: Proving that the MLM loss aligns with MaxEnt IRL gives a firm theoretical rationale for why unsupervised token probabilities reflect evolutionary fitness.
  • Inverse Folding Provides "Cross-Family" Evolutionary Priors: Inverse folding models trained on diverse backbones internalize physical and evolutionary rules across families. Treating their logits as a static evolutionary profile avoids expensive homology searches while compensating for shallow MSAs.
  • Complementarity Over Model Scale: Ablating either profile degrades performance: baseline (0.454 Spearman) $\to$ +structure profile (0.462) $\to$ +IF profile (0.478) $\to$ both profiles (0.489). They provide orthogonal inductive biases (local homology vs. universal structural feasibility).

Key Results

  • Competitive with Giant Models: On ProteinGym, EvoIF achieves a 0.489 Spearman correlation (MSA-free), outperforming S2F (0.454) and ESM-IF (0.422). When combined with GEMME (EvoIF-MSA), it achieves 0.518, matching the 16-billion-parameter AIDO Protein-RAG (0.518) and VenusREM (0.518).
  • Extreme Data and Compute Efficiency: EvoIF uses 76M trainable parameters and 30K structures (0.15% of the data used by larger models). It trains in roughly 5 hours on 4 $\times$ NVIDIA H800 GPUs—over $900\times$ faster than VenusREM and $10^9\times$ faster than AIDO Protein-RAG.
  • Robustness Across Challenging Regimes:
  • Viruses: Achieved a massive boost on viral proteins (Spearman 0.534 vs. ESM-2's 0.238), where sparse homologous sequences typically cripple pure sequence models (exemplified in a Spike glycoprotein case study, scoring 0.559 vs. ESM-2's -0.018).
  • Epistasis: Remained resilient at higher mutation depths ($\ge 5$ simultaneous mutations), capturing non-linear interactions better than linear additive pLM baselines.

Limitations and Future Work

  • Rigid Backbone Assumption: Assumes mutations do not significantly distort the wild-type backbone ($X^{\text{wt}} = X^{\text{mt}}$), which breaks down for large insertions, deletions, or destabilizing mutations.
  • No Explicit Side-Chain Modeling: Focuses on $C_\alpha$/backbone geometry rather than full-atom rotamer packing.
  • Future Directions: Incorporating side-chain flexibility, extending the MDP/IRL formulation to explicitly model higher-order epistasis, and integrating diffusion-based priors during inference.

Summary updated

Abstract

Predicting the fitness impact of mutations is central to protein engineering but constrained by limited assays relative to the size of sequence space. Protein language models (pLMs) trained with masked language modeling (MLM) exhibit strong zero-shot fitness prediction; we provide a unifying view by interpreting natural evolution as implicit reward maximization and MLM as inverse reinforcement learning (IRL), in which extant sequences act as expert demonstrations and pLM log-odds serve as fitness estimates. Building on this perspective, we introduce EvoIF, a lightweight model that integrates two complementary sources of evolutionary signal: (i) within-family profiles from retrieved homologs and (ii) cross-family structural–evolutionary constraints distilled from inverse folding logits. EvoIF fuses sequence–structure representations with these profiles via a compact transition block, yielding calibrated probabilities for log-odds scoring. On ProteinGym (217 mutational assays; >2.5M mutants), EvoIF and its MSA-enabled variant achieve state-of-the-art or competitive performance while using only 0.15% of the training data and fewer parameters than recent large models. Ablations confirm that within-family and cross-family profiles are complementary, improving robustness across function types, MSA depths, taxa, and mutation depths.
BibTeX
@article{jiao2026evolutionary,
  author = {Xiaoran Jiao and Jigang Fan and Shengdong Lin and Zhanming Liang and Weian Mao and Chenchen Jing and Hao Chen and Chunhua Shen},
  title = {{Evolutionary Profiles for Protein Fitness Prediction}},
  journal = {Bioinformatics},
  year = {2026},
  doi = {10.1093/bioinformatics/btag525},
}
Figure