NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Backdiff: a diffusion model for generalized transferable protein backmapping

Yikai Liu, Ming Chen, Guang Lin · DOI

Introduction

In computational biology, all-atom molecular dynamics (MD) simulations provide high-resolution insights into protein behavior but are computationally prohibitive for large systems or long timescales. To mitigate this, researchers employ coarse-grained (CG) models that simplify proteins into "beads." However, restoring atomic detail from these simplified models—a process known as backmapping—remains a significant challenge. Traditional methods are often computationally intensive or "brittle," requiring retraining for every specific CG protocol. BackDiff introduces a novel, generative framework using conditional score-based diffusion to provide a "plug-and-play" solution for protein reconstruction that is transferable across diverse proteins and CG models.

Methodology

BackDiff treats backmapping as a missing-node imputation problem on a molecular graph. It utilizes an Equivariant Graph Neural Network (GNN) based on the e3nn library to ensure that the model remains invariant to rotations and translations of the protein structure.

Self-Supervised Training and Manifold Constraints

The framework's transferability stems from two primary innovations. First, a self-supervised training strategy uses randomized masking of atoms. By varying which atoms are treated as "known" CG sites during training, the model learns general spatial relationships rather than memorizing a fixed mapping. Second, Manifold Constraint Sampling allows the model to incorporate various CG auxiliary variables (e.g., center of mass) as constraints during inference. Rather than embedding these variables into the network architecture, BackDiff "nudges" the generated atoms during each diffusion step to ensure they satisfy physical laws and match the provided CG beads.

The BackDiff framework: Reverse diffusion steps are guided by manifold constraints to ensure consistency with coarse-grained (CG) atoms.

Experimental Results

The model was evaluated using the Protein Structural Ensemble Database (PED), focusing on 92 proteins across three distinct CG models: UNRES, Rosetta, and MARTINI.

Accuracy and Physical Realism

BackDiff consistently outperformed state-of-the-art baselines, including GenZProt and Torsional Diffusion (TD), in terms of Root Mean Squared Distance (RMSD). Notably, the inclusion of manifold constraints significantly improved physical realism. For instance, the Steric Clash Ratio (SCR)—a measure of how often atoms are placed too close together—was markedly lower in BackDiff compared to other machine learning approaches.

Performance comparison of BackDiff against baseline methods across various metrics including RMSD and Steric Clash Ratio (SCR).

Transferability and Geometry

A key finding was the success of the "zero-shot" transferable model (BackDiff trans). This single pre-trained model performed nearly as well as models specifically optimized for a single CG protocol (BackDiff fixed). Furthermore, the manifold constraints reduced the Mean Absolute Error (MAE) for bond lengths from approximately 0.5 Å to less than 0.001 Å, effectively resolving the geometric "stiffness" issues common in generative molecular models.

Conclusion

BackDiff represents a significant advancement in protein backmapping by decoupling the reconstruction model from specific CG protocols. While the model currently faces limitations in sampling speed and the explicit handling of chirality, its ability to produce physically realistic, all-atom structures from diverse CG inputs makes it a powerful tool for multi-scale molecular modeling. Future work will focus on improving inference efficiency and expanding the training dataset to further enhance generalization.

Summary updated

BibTeX
@misc{liu2023backdiff,
  author = {Yikai Liu and Ming Chen and Guang Lin},
  title = {{Backdiff: a diffusion model for generalized transferable protein backmapping}},
  year = {2023},
  eprint = {2310.01768},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.01768},
}
Figure