Anchored Protein Engineering

Chi Zhang, Maria Rosaria Briglia, Litu Rout, Jeffrey Ouyang-Zhang, Iacopo Masi, Sanjay Shakkottai, Adam Klivans, Daniel Jesus DiazNeurIPS 2026

TL;DR

Engineering a better protein requires making multiple coordinated mutations at once—pushing a sequence toward a desired trait without accidentally unfolding it into biological gibberish. APEX is a training-free, plug-and-play algorithm that pairs any frozen generative protein model with a property predictor to figure out both where to mutate and what amino acids to put there. It achieves higher predicted gains in stability, solubility, and binding than existing methods while keeping the resulting proteins structurally and evolutionarily plausible.

What Problem Does This Paper Address?

Suppose you want to make an enzyme survive higher temperatures or dissolve better. Single amino-acid swaps rarely give big improvements, so protein engineers look for higher-order variants—sequences with several simultaneous mutations (say, a strict wet-lab budget of 8 or 16 edits).

This creates a nasty combinatorial trap. First, mutations interact (epistasis): two edits that look great individually might ruin the protein together, while two seemingly useless edits might unlock a massive gain when combined. Second, there is a tug-of-war between plausibility and optimization:

  • Generative protein models know what natural, foldable proteins look like, but usually rely on reward-blind heuristics (like model uncertainty) to pick mutation sites.
  • Reward-guided search methods aggressively optimize property predictors, often "reward hacking" their way off the natural protein manifold—producing sequences with high predicted scores that would never fold in a test tube.

How do you make exact-budget, multi-site edits that account for mutation interactions and stay anchored to biological reality, without retraining anything?

Methods

The authors introduce APEX (Anchored Protein Engineering via quantized eXpectation), an inference-time pipeline that decouples where to edit from what to substitute, using a frozen base generative model and a differentiable reward model.

Figure 1: The APEX pipeline. Given a source sequence, a frozen base model, and a reward model, Phase I screens candidate residues with reward gradients and selects anchors using single- site scores and pairwise reward interactions (where to mutate). Phase II tilts the base model’s amino-acid probabilities toward higher predicted reward and commits a substitution at each anchor (what to substitute). Optional refinement revisits weak edits without changing the mutation budget. Right: anchoring reward optimization to the base prior keeps designs on the protein manifold while improving the target property.
  1. Phase I: Anchor Selection (Where to mutate). APEX uses reward gradients across randomly masked contexts to shortlist sensitive positions. On that shortlist, it probes single-site effects and pairwise reward interactions—checking whether pairs of sites cooperate or interfere under the reward model. A subset solver then picks the exact $B$ "anchor" sites maximizing individual and pairwise gains.
  2. Phase II: Anchored Tilted Decoding (What to substitute). Starting from the base model's amino-acid probability distributions at the chosen anchors, APEX nudges ("tilts") those logits along the reward gradient. Because amino acids are discrete tokens (blocking standard backpropagation), APEX adapts a straight-through quantized-expectation trick: the forward pass snaps soft probability expectations to the nearest discrete amino-acid embedding, while gradients flow smoothly backward through the soft expectation.
Straight-through quantized expectation: discrete nearest-neighbor embeddings in the forward pass, smooth gradients through soft expectations in the backward pass.
  1. Optional Iterative Refinement. For extra test-time compute, APEX can revert the weakest mutations and re-solve them in the updated sequence context while keeping the total mutation budget fixed.

Crucially, APEX only ever asks the base model for per-position amino-acid probabilities—a universal primitive. That means the exact same code works out-of-the-box on masked language models (ESM-2), discrete diffusion models (DPLM), and structure-conditioned inverse-folding networks (LigandMPNN, SolubleMPNN).

Datasets

APEX is evaluated in a one-shot, fixed-budget setting (no iterative wet-lab acquisition loops) across existing benchmarks:

  • Thermostability & Solubility: Splits from Huang et al. (2025) (100 source proteins per split, budgets $B \in \{8, 16\}$), using reward predictors trained on Meltome melting temperatures (following TemBERTure) and DeepSol, respectively.
  • GB1 Binding: The Olson 2014 deep mutational scanning (DMS) dataset for the 55-residue B1 domain of protein G ($B=2$), using a ProteinNPT reward model and checking designs against experimentally measured fitness.
  • T4 Lysozyme Case Study: Starting from PDB 2LZM ($B \in \{8, 16\}$), testing whether APEX recovers 31 experimentally characterized stabilizing mutations from literature.

Key Insights and Ideas

  • Choosing where to edit does most of the heavy lifting. Ablations show that tilting amino-acid choices at random sites fails badly—to climb the reward at bad locations, the optimizer is forced off the natural protein prior. Conversely, picking smart anchors via Phase I and just accepting the base model's default substitutions already captures 55–78% of the full reward gain.
  • Pairwise interaction terms matter. Dropping the second-order interaction score ($\alpha = 0$) cuts reward gains by 16–33%, proving that explicitly modeling how pairs of sites cooperate catches synergies that first-order gradients miss.
  • Unanchored baselines "cheat" via compositional collapse. Reward-steering baselines often hack predictors by spamming a single favored amino acid—for instance, activation steering (SPLM) turns almost every mutated site into Leucine, while GGS overuses Tryptophan. Because APEX initializes every step at the base model's local probabilities, its edits remain chemically conservative and context-dependent.
SPLM collapses almost entirely onto Leucine (column L), whereas GGS overuses Tryptophan (W)—compositional biases that APEX avoids.

Key Results

  • Thermostability (THERM-LOW): At $B=16$, APEX boosts predicted melting temperature by +14.43 °C (87% success rate), beating the strongest baseline (PEX, +11.79 °C). More importantly, APEX is the only reward-guided method whose sequences become more likely under ESM-2 (+0.12 $\Delta$PLL) while losing just 0.5 pLDDT points of structural confidence (baselines lose 3.2–5.0 points). These gains hold even when re-scored by an unseen predictor architecture.
  • Solubility (SOL-LOW): At $B=16$, APEX achieves the highest solubility probability gain (+0.326, 81% success) while preserving structural confidence (74.6 pLDDT vs. 65.9 for SPLM).
  • Experimental Overlap: On GB1 ($B=2$), 98% of APEX's designs clear the high-fitness experimental DMS threshold ($\ln W > 1.0$). On T4 lysozyme ($B=16$), 60% of APEX designs recover known literature-stabilizing mutations, compared to 30–48% for reward-guided baselines.

Limitations and Future Work

  • In-silico evaluation: The primary thermostability and solubility gains are predictions from learned evaluators, and the GB1 lookup is retrospective (since the reward model trained on that DMS). Prospective wet-lab experiments are still required to verify that multi-mutant designs fold and function as predicted.
  • Pairwise ceiling: Phase I captures single-site and pairwise interactions, leaving three-way or higher-order epistatic interactions as unmodeled residuals. Additionally, full details on broader impacts and limitations are deferred to Appendix E (not included in the main text).

Summary updated

Abstract

Inspired by recent work on discrete diffusion with anchored remasking, we introduce a training-free framework for protein engineering that generates higher-order variants that improve a target phenotype while accounting for epistatic interactions among the mutations. Prior approaches typically choose mutation sites without reward information and can drive sequences away from the natural protein manifold. We address these limitations with Anchored Protein Engineering via quantized eXpectation (APEX), an inference-time method consisting of anchor selection, tilted decoding, and optional iterative refinement. APEX selects anchor residues using a reward-gradient score with an explicit correction for pairwise interactions, decodes substitutions at the anchors by tilting the base model's per-site predictive distributions along reward gradients, and revisits low-scoring anchors iteratively for optional test-time scaling. All phases query the base model only through its per-position residue probabilities, a primitive shared by masked language models, discrete-diffusion models, and inverse-folding networks; as a result, APEX works out of the box across commonly used model families. Across thermostability, solubility, and GB1 binding benchmarks, APEX outperforms the compared baselines in predicted gain while avoiding the loss of sequence and structural plausibility that reward-search-only baselines tend to incur.
BibTeX
@inproceedings{zhang2026anchored,
  author = {Chi Zhang and Maria Rosaria Briglia and Litu Rout and Jeffrey Ouyang-Zhang and Iacopo Masi and Sanjay Shakkottai and Adam Klivans and Daniel Jesus Diaz},
  title = {{Anchored Protein Engineering}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=HrcMl3Whuk},
}
Figure