Adam-PnP: Diffusion-Based Protein Reconstruction
- Adam-PnP is a plug-and-play framework that reconstructs protein structures by guiding a pre-trained diffusion model with gradients from heterogeneous experimental sources.
- It integrates multiple modalities—such as partial coordinates, pairwise distances, and cryo-EM density—using dynamic weighting based on adaptive noise estimation.
- Empirical evaluations demonstrate improved folding fidelity with lower RMSD values when high-resolution data are used, while unreliable modalities are down-weighted.
Adam-PnP is a Plug-and-Play framework for protein structure reconstruction that guides a pre-trained protein diffusion model with gradients from multiple, heterogeneous experimental sources while adapting to unknown and modality-specific noise levels on the fly. In the formulation introduced in "Adaptive Multimodal Protein Plug-and-Play with Diffusion-Based Priors" (Banerjee et al., 28 Jul 2025), the method targets inverse problems in which a protein backbone is represented by 3D coordinates and observed through lossy or noisy measurement operators, and it combines a diffusion-based structural prior with adaptive noise estimation, dynamic modality weighting, and guided reverse-time sampling.
1. Problem formulation and reconstruction objective
Adam-PnP models a protein backbone by coordinates for residues. For each modality , the observation model is
where is a known differentiable operator, may have modality-specific dimensionality, and the noise level is unknown. The corresponding Bayesian posterior factorizes as
with induced by a pre-trained diffusion model and Gaussian likelihoods of the form
The MAP estimate is therefore
0
The central practical difficulty is that the 1 are both unknown and heterogeneous across modalities. Classical approaches often require manual weighting of modality-specific guidance terms to balance gradient magnitudes. In the Adam-PnP construction, this is treated as brittle and labor-intensive when the noise profile is misestimated. The framework addresses the issue through two coupled mechanisms: adaptive noise estimation, which estimates modality-specific 2 from residuals while correcting for denoiser-induced bias, and dynamic modality weighting, which sets
3
during reverse diffusion, thereby favoring modalities with higher estimated precision (Banerjee et al., 28 Jul 2025).
2. Diffusion prior and guided reverse dynamics
The prior is implemented with a pre-trained score-based SDE prior, specifically the Chroma backbone model, although the framework is described as compatible with DDPMs and other score-based models. In the generic score-based setting, the forward and reverse SDEs are
4
and
5
where 6 is the score network.
Chroma employs a non-isotropic diffusion process to preserve biophysical constraints. Its noise covariance is represented by a matrix 7, with whitening latent 8. The Chroma forward SDE is
9
and the hybrid Langevin reverse SDE is
0
Within this prior, Adam-PnP performs guidance in a discrete-time reverse loop. The learned reverse step is augmented by data-consistency gradients:
1
where 2. The method applies this guidance in the whitened latent space. At time 3, it first computes a denoised latent estimate
4
then performs a weighted gradient step to obtain 5, which is used in the next reverse propagation (Banerjee et al., 28 Jul 2025).
This embedding of Plug-and-Play guidance into reverse diffusion is structurally analogous to diffusion posterior sampling, but the Adam-PnP variant is explicitly multimodal, variance-adaptive, and executed in a whitened latent. A plausible implication is that the latent-space implementation is not merely computationally convenient; it is coupled to Chroma’s non-isotropic noise model and thus to the geometry of the protein prior.
3. Adaptive noise estimation and dynamic modality weighting
For each modality, Adam-PnP uses residuals
6
under the Gaussian log-likelihood
7
A direct residual-based estimator for 8 is biased because the residual contains both measurement noise and denoiser error:
9
If 0 is 1-Lipschitz and 2 approximates 3, the paper states
4
To address this, Adam-PnP uses a bias-corrected robust estimator with EMA:
5
6
The estimator is described as robust because it uses the median, and stabilized because it uses exponential moving average across timesteps. The annealed correction term 7 reduces bias as denoiser accuracy improves over time.
These estimated variances directly scale the modality-specific likelihood gradients:
8
with 9 substituted for the unknown 0. Dynamic weights are then assigned according to estimated precision,
1
This normalization preserves overall guidance magnitude while prioritizing reliable modalities (Banerjee et al., 28 Jul 2025).
The method’s name can invite confusion with Adam-style adaptive optimization. The paper explicitly states that Adam-PnP does not maintain per-modality first or second moments for the weights. Instead, it uses EMA inside 2 and a single global Polyak momentum on the aggregated guidance. Under modality conflict, residual growth increases 3 and reduces the corresponding 4, so unreliable modalities are automatically down-weighted across timesteps.
4. Sampling algorithm, modality operators, and computational profile
The full algorithm is a guided sampling loop over 5 in the whitened latent variable. Its inputs are measurements 6, operators 7, a pre-trained denoiser 8, and whitening matrix 9. The latent is initialized as 0, with momentum 1 and optional initialization of 2 from initial residuals. Each reverse step consists of the following operations (Banerjee et al., 28 Jul 2025):
- Prior projection: 3.
- Residual computation: 4.
- Adaptive noise estimation: compute 5 by median residual statistics, then update 6 by EMA with bias correction.
- Dynamic weighting: set 7 with 8.
- Guidance aggregation: form
9
- Global momentum and guidance step:
0
- Reverse propagation:
1
followed by the final output 2.
The experiments instantiate three differentiable modalities:
| Modality | Operator |
|---|---|
| Partial C3 coordinates (P) | 4 |
| Pairwise C5 distances (D) | 6 returns selected distances 7 |
| Simulated low-resolution cryo-EM density (E) | 8 renders a low-resolution electron density map or its Fourier coefficients |
For the coordinate modality,
9
For pairwise distances, the likelihood is
0
with coordinate gradients derived from
1
For cryo-EM density,
2
All guidance is transferred to latent space by the chain rule,
3
Relative to unguided diffusion, the overhead is dominated by per-modality forward evaluations 4 and Jacobian-vector products or autodiff for the likelihood gradients. Additional memory consists mainly of the global momentum vector 5 and per-modality variance estimates 6. The overall cost scales roughly linearly with the number of modalities 7, plus renderer cost for complex operators such as cryo-EM (Banerjee et al., 28 Jul 2025).
5. Empirical evaluation in protein reconstruction
The reported reconstruction task is PDB 7r5b with 127 residues, using combinations of the three modalities above. Performance is measured by aligned backbone C8 RMSD in ångströms:
9
The prior is a pre-trained Chroma diffusion model, and comparisons are made across modality combinations with fixed schedules (Banerjee et al., 28 Jul 2025).
| Modality combination | Backbone C0 RMSD (Å) |
|---|---|
| P | 1 |
| D | 2 |
| E | 3 |
| P + D | 4 |
| P + D + E | 5 |
| P + E | 6 |
| D + E | 7 |
Among the reported combinations, 8 gives the best mean RMSD, while 9 alone fails to fold. The paper states that low-resolution 0 alone or with 1 is weak, and that Adam-PnP dynamically down-weights 2 when conflicting. This suggests that the adaptive weighting mechanism is functioning as a reliability estimator rather than as a fixed fusion rule.
A data sparsity ablation with 3 active shows that increasing high-resolution data, specifically more distances and partial coordinates, monotonically improves RMSD and reaches 4 Å at high coverage and low noise 5 Å). For adaptive variance estimation on the distance modality, the reported true-versus-estimated values are:
- 6 with absolute error 7,
- 8 with absolute error 9,
- 00 with absolute error 01.
Qualitative examples are summarized as improved folding fidelity when fusing 02 with 03, whereas 04 alone produces unfocused conformations. The paper also reports failure cases: extremely low-quality or severely mis-specified modalities can still impede progress if their gradients dominate early, although adaptive weighting mitigates this effect.
6. Position within Plug-and-Play research, nomenclature, and limitations
Adam-PnP is explicitly situated within the Plug-and-Play prior tradition, in which a strong prior operator is alternated with a data-consistency step. In classical PnP, the prior operator is often a proximal map or denoiser; in Adam-PnP, the cycle is embedded in discretized reverse diffusion, with a denoiser-driven prior projection followed by multimodal likelihood guidance. The paper describes this as analogous to diffusion posterior sampling, but differentiated by multimodal guidance, variance adaptation, and operation in a whitened latent (Banerjee et al., 28 Jul 2025).
A nomenclature issue arises because the label “Adam-PnP” is not uniformly used in the literature. In "Prior Mismatch and Adaptation in PnP-ADMM with a Nonconvex Convergence Analysis" (Shoushtari et al., 2023), “Adam-PnP” refers to ADMM-based Plug-and-Play, not the Adam optimizer. That work studies PnP-ADMM under prior mismatch, establishes a nonconvex convergence analysis for mismatched MMSE denoisers, and clarifies that ADMM-based PnP alternates a data-consistency step with denoising. This is a distinct usage from the protein-focused diffusion framework of (Banerjee et al., 28 Jul 2025). The shared terminology reflects the broader Plug-and-Play lineage rather than a common algorithmic core.
The diffusion-based Adam-PnP paper does not provide formal convergence guarantees. It instead gives stability and convergence intuition grounded in Plug-and-Play principles: a strong pre-trained prior projection is alternated with a likelihood gradient step, while adaptive noise estimation and precision-based weighting mitigate gradient-scale mismatch and conflicting modalities. The reported limitations are specific. The method requires differentiable measurement operators and tractable Jacobian-vector products; bias correction depends on approximate 05 and 06; strong diffusion priors are needed under sparse or noisy conditions; and very low-resolution modalities may be down-weighted to near-irrelevance, limiting their contribution. Future work identified in the paper includes formal analysis of stability for multimodal adaptive guidance, per-modality adaptive moment schemes for weights, and improved physics-based renderers for cryo-EM and other modalities (Banerjee et al., 28 Jul 2025).