Aligning Protein Conformation Ensemble Generation with Physical Feedback

Jiarui Lu, Xiaoyin Chen, Stephen Zhewen Lu, Aurelie Lozano, Vijil Chenthamarakshan, Payel Das, Jian Tang

Proteins are not static structures; they are highly dynamic molecular machines that constantly shift between different shapes, or conformations, to perform their biological functions. Understanding this "ensemble" of shapes is critical for structural biology and drug discovery.

Traditionally, researchers have relied on Molecular Dynamics (MD) simulations to study these movements. However, MD is computationally expensive—simulating just a few milliseconds of protein movement can take hundreds of GPU days. While recent advances in generative AI, specifically diffusion models, offer a fast "shortcut" by predicting structures from data, these models often fail to capture thermodynamic reality. They generate plausible-looking structures but lack the physical intuition to distinguish between high-energy (rare) and low-energy (common) states.

Integrating physical supervision into these data-driven models is notoriously difficult because calculating the total probability space of a protein—known as the partition function—is mathematically intractable. To solve this, researchers have developed Energy-based Alignment (EBA), a framework that fine-tunes diffusion models to generate protein conformation ensembles that respect physical laws.

Bridging the Gap with Energy-Based Alignment (EBA)

The core innovation of EBA is how it bridges the gap between data-driven generation and physics-based simulation without getting bogged down by impossible math.

Illustration of Energy-based Alignment bypassing the intractable partition function.

Instead of attempting to calculate absolute probabilities across all possible states, EBA focuses on the Boltzmann factor—the ratio of probabilities between two states based on their energy difference. By evaluating the relative weights within a mini-batch of candidate structures, the model effectively bypasses the intractable partition function problem.

The researchers adapted this objective for denoising diffusion models. The model is trained to minimize a weighted denoising loss, where the weights are determined by the physical energy of the ground-truth structures. Built on an AlphaFold3-style architecture, the model predicts the positions of every single heavy atom (rather than just a coarse-grained backbone), allowing for highly granular physical feedback. To ensure the model remains robust regardless of the protein's spatial orientation, it employs SE(3)-invariant losses like Rigid Aligned MSE and Smooth lDDT.

Key Insights: Beyond Standard Alignment

A fascinating mathematical insight from the paper is the relationship between EBA and Direct Preference Optimization (DPO), a popular technique used to align Large Language Models (LLMs). The authors demonstrate that DPO is essentially a simplified, special case of EBA where only two states are compared, and the magnitude of the energy difference is ignored. EBA proves much more robust for physical systems because it accounts for how much better one state is than another.

Furthermore, the team showed that stochastic approximation works well in this context. The model doesn't need to map the entire energy landscape; by comparing a small subset of shapes in a mini-batch, it can effectively learn the slope of the landscape and generate thermodynamically plausible states.

Results: State-of-the-Art Physical Plausibility

The researchers benchmarked EBA using the ATLAS MD ensemble dataset, which contains high-quality, all-atom MD trajectories for 1,390 different protein targets.

Comparison of generated protein ensembles and RMSF flexibility profiles.

EBA achieved state-of-the-art performance, outperforming existing models like AlphaFlow and MDGen across almost all metrics:

  • Unprecedented Flexibility Correlation: EBA achieved a 0.90 correlation in per-target RMSF (Root Mean Square Fluctuation, a measure of how much each part of the protein moves). Previous generative methods hovered around 0.71.
  • Improved Ensemble Observables: The model showed a massive improvement in capturing subtle structural features that data-only models usually miss, such as exposed residues and transient contacts.
  • Drastic Efficiency Gains: While a full MD simulation takes months, EBA generates a high-quality, physically aligned ensemble in roughly 0.9 GPU seconds per sample.

Limitations and the Path Forward

While EBA represents a massive leap forward, the authors note a few limitations. Because the base model relies on an AlphaFold3 architecture originally optimized for static folding, it may still struggle with extremely long-timescale dynamics, such as large-scale unfolding events. Additionally, the quality of the physical feedback is inherently tied to the accuracy of the underlying force fields used to calculate energy.

Currently, the model uses "off-policy" energy labels that are pre-calculated. Moving toward "on-policy" training—where the model generates a shape and immediately receives energy feedback—could make the alignment even more precise. Finally, extending this framework from single-chain proteins to multi-chain complexes will be a crucial next step for modeling complex biological interactions.

Summary updated

BibTeX
@inproceedings{lu2025aligning,
  author = {Jiarui Lu and Xiaoyin Chen and Stephen Zhewen Lu and Aurelie Lozano and Vijil Chenthamarakshan and Payel Das and Jian Tang},
  title = {{Aligning Protein Conformation Ensemble Generation with Physical Feedback}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=Asr955jcuZ},
}
Figure