Robust Inference-Time Steering of Protein Diffusion Models via Embedding Optimization

Minhuan Li, Jiequn Han, Pilar Cossio, Luhuan Wu
2/5/2026
8 citations
cs.LG
diffusion-flow

Official code: rs-station/embedopt (19 stars, Python, last commit 2026-04-27).

Abstract

A core challenge in structural biophysics is generating biomolecular conformations that are both physically plausible and consistent with experimental measurements. While sequence-to-structure diffusion models provide powerful priors, posterior sampling methods steer generation by perturbing atomic coordinates with gradients from experimental likelihoods.

Show full abstract

However, when the target lies in a low-density region of the prior, these methods require aggressive upweighting of the likelihood that can destabilize sampling and be sensitive to hyperparameters. We propose EmbedOpt, an inference-time steering framework that introduces an orthogonal optimization axis: rather than performing posterior sampling under a fixed prior, EmbedOpt directly optimizes the prior by updating the model's conditional embedding. This embedding space encodes rich coevolutionary signals, so optimizing it shifts the structural prior to align with experimental constraints. Empirically, EmbedOpt matches coordinate-based posterior sampling baselines on sparse distance constraints and outperforms them on cryo-electron microscopy map fitting, including real, noisy experimental ones. Furthermore, EmbedOpt's smooth optimization behavior yields robustness to hyperparameters spanning two orders of magnitude and enables comparable performance with fewer diffusion steps. Code is available at https://github.com/rs-station/embedopt.

View on arXivView PDF

Code Implementations(1)

Robust Inference-Time Steering of Protein Diffusion Models via Embedding Optimization

190PythonApr 27, 20267 months ago

Similar Papers

Cite this paper

@article{li2026robust,
  title  = {Robust Inference-Time Steering of Protein Diffusion Models via Embedding Optimization},
  author = {Minhuan Li and Jiequn Han and Pilar Cossio and Luhuan Wu},
  year   = {2026},
  eprint = {2602.05285},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.05285v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.05285.svg)](https://codeofpaper.com/paper/2602.05285)

Discussion