REVIEW 4 major objections 4 minor 2 cited by
Generative modeling of protein ensembles guided by crystallographic electron densities
T0 review · 4 major / 4 minor · reviewed 2026-08-11 · deepseek-v4-flash
Pith's one-line read A diffusion model guided by crystallographic electron densities recovers protein conformations that unconditional sampling misses.
desk verdict Non-i.i.d. ensemble guidance over a diffusion prior is a genuinely new idea for crystallographic ensemble fitting, but the evaluation leans on filtered self-consistency and an admittedly approximate forward model, so read the altloc claims as promising rather than proven. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The load-bearing object is the non-i.i.d. ensemble guidance term in the backward SDE of a score-based diffusion model. The variable $X$ concatenates all backbone coordinate sets in the ensemble; the unconditional prior score is block-diagonal (separable), but the guidance score $\nabla_X \log p(F_o | X, \chi(X), a)$ is inseparable, so the ensemble is optimized jointly. This score is computed through the differentiable forward model of Eq. 3 (a kernel-density estimate of atomic Gaussians with tabulated form factors and a uniform B-factor) and the Gaussian likelihood of Eq. 2, with sidechain dihedrals $\chi(X)$ produced by the model's differentiable sidechain packer. A matching-pursuit algorithm then selects the subset of generated samples that best explains the observed density, which the authors find necessary because some ensemble members overfit noise.
What would settle it
Run the guidance on a structure whose true alternate conformations and per-atom B-factors are known, or on a synthetic density generated from a known two-state ensemble, and recompute the ensemble with the B-factor taken inversely proportional to ensemble size instead of the naive average. If the recovered states shift or the bimodality score collapses, the forward-model approximation is the deciding factor; if recovery is unchanged, the method is insensitive to this approximation. Another decisive test: compare the guided ensemble's calculated density with the deposited density at unconstrained regions away from altlocs, since overfitting to noise there would indicate the likelihood model is too simplistic.
Extended reading notes
Core claim
The paper's central discovery is methodological: a differentiable forward model of electron density can be inserted into the backward diffusion step of a pretrained protein backbone model as a guidance score, and the correct way to use it is to compute the likelihood of the entire sampled batch at once rather than per-sample. The calculated density $F_c$ is a kernel-density estimate of atomic Gaussian spheres with tabulated form factors (Eq. 3), the likelihood is a Gaussian comparing the observed map to the ensemble-averaged calculated map (Eq. 2), and the guidance term $\nabla_X \log p(F_o | X, \chi(X), a)$ couples all backbone coordinates in the joint SDE (Eq. 4). On a set of high-resolution structures with known alternate locations, this non-i.i.d. guidance improves density-map cosine similarity and produces bimodal distributions straddling both deposited altlocs, while unconditional sampling fails to reproduce the experimental states. The authors also show that batched (non-i.i.d.) guidance beats per-sample (i.i.d.) guidance, and that a matching-pursuit filter that greedily selects the best-fitting subset of the ensemble further stabilizes the result.
Load-bearing premise
The method's success hinges on the forward model and likelihood of Eqs. 2-3 being faithful: specifically, that a uniform B-factor set to the average of the deposited per-atom B-factors, and an implicit unit noise scale, correctly describe how the true conformations would appear in electron density.
Editorial extensions
If this is right
- Density-guided generation yields ensembles whose mean calculated density matches the observed map substantially better than unconditional sampling, across all tested high-resolution structures.
- In regions with modeled alternate locations, guided sampling produces samples near both altloc states, while unconditional sampling concentrates on a single mode, so the method recovers experimental conformational heterogeneity rather than just the prior's preferred state.
- The non-i.i.d. (batched) likelihood is essential: ablating it to per-sample guidance degrades density alignment on the tested proteins, confirming that ensemble coupling is what carries the recovery.
- On unimodal control regions, guided sampling stays unimodal while still fitting the density better than unconditional sampling, suggesting the guidance does not invent multimodality where the data do not support it.
- The same guidance machinery can in principle be applied to other experimental observables, since only the differentiable forward model and the likelihood need to be swapped.
Reading between the lines
- If the B-factor is truly a free parameter, the naive average-B-factor choice could be replaced by an optimized or learned bandwidth during sampling; the authors' own comment that B 'should be inversely proportional to ensemble size' points to a concrete improvement that might further sharpen altloc recovery.
- Because the likelihood couples all ensemble members through their average density, the method implicitly enforces a first-moment constraint on the sampled distribution; a natural extension would be to match higher-order statistics, such as the variance of density, to capture broad conformational ensembles with weak bimodality.
- The matching-pursuit filter discards samples that overfit noise, which suggests the raw non-i.i.d. posterior still over-disperses; a differentiable subset selection or a sparse ensemble prior could reduce reliance on post-hoc filtering.
- The failure of unconditional generation to capture experimentally stable altlocs implies that generative protein models may systematically under-represent subpopulations; density guidance offers a data-anchoring mechanism to recover such subpopulations without retraining.
Signed reviews
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper proposes a generative approach for reconstructing protein structure ensembles from crystallographic electron density maps. The method combines a pre-trained diffusion model (Chroma) as a structural prior with a differentiable forward model that computes electron density from an ensemble of backbone and sidechain coordinates (Eq. 3). Sampling is performed via a non-i.i.d. score-guidance scheme (Eq. 4), where the entire ensemble is guided toward the observed density using a Gaussian likelihood (Eq. 2). The authors evaluate their method on thirteen protein structures with known alternate conformations (altlocs), reporting improved density alignment and recovery of bimodal backbone distributions compared to unconditional sampling.
Significance. The problem is timely and of genuine biological interest: connecting generative structure models to experimental electron density measurements could provide a systematic way to extract ensembles from crystallographic data. The paper contributes a clear inverse-problem formulation, a non-i.i.d. ensemble guidance scheme, an ablation of batched versus i.i.d. sampling, and a unimodal control experiment. These are useful ingredients for the community. However, the quantitative evidence for the central claim is weakened by the selection-based evaluation and by an apparent sign inconsistency in the guidance formula. If these issues are resolved, the method would constitute a valuable step toward data-driven ensemble modeling; in its current form, the paper's conclusions outrun the evidence.
major comments (4)
- [Section 2, Eq. (2), Eq. (4), Algorithm A1 (line 17)] The sign of the guidance term is inconsistent with the log-likelihood. Equation (2) defines log p(Fo|X, a) = -||Fo - (1/|X|) Σ Fc||^2, so the likelihood gradient points in the direction that decreases the squared density error. Equation (4) contains the drift term -PP^T(∇ log p_t + η ∇ log p), which, after using ∇ log p = -∇(squared error), yields a guidance contribution +η PP^T ∇(squared error). Algorithm A1, line 17, explicitly uses xn-1 = μ + λ ∇x [||Fc(...)-Fo||^2], again the positive gradient of the squared error. Both expressions move the ensemble in the direction that increases the density mismatch, i.e., they implement gradient ascent on the error rather than the likelihood guidance described in the text. Standard classifier guidance (Dhariwal and Nichol, 2021) adds ∇ log p(y|x) with the opposite sign. If the implemented code uses the negative sign, then the equations and algorithm as written are wrong; if the positive sign is actually used, the reported improvement in alignment is unexplained. This must be clarified and corrected.
- [Section 3, Evaluation criteria and Algorithm A2] The primary quantitative evaluation is circular with respect to the filtering procedure. Algorithm A2 selects a subset I of samples that maximizes corr(d_{I∪i}, dt), i.e., the correlation (or related density match) with the observed density Fo. The evaluation then reports cosine similarity between the mean density of the selected subset and Fo (Figures A3 and 2, Table A2). Because the selection criterion is the same metric as the reported outcome, the absolute density-alignment numbers are inflated by construction; they do not independently measure the quality of guidance. The guided-versus-unconditional comparison is less affected because both arms are filtered identically, but the absolute claim that the method "accurately recovers" densities is not supported. The authors should report unfiltered ensemble metrics, or use a held-out region or a metric not used by the matching pursuit selector.
- [Section 2, Modeling the likelihood (Eqs. 2 and 3)] The forward model is not calibrated, and no sensitivity analysis is provided. The B-factor in Eq. (3) is set to the average PDB B-factor, which the authors themselves describe as "naive," and it acts as a global KDE bandwidth. The Gaussian likelihood in Eq. (2) contains no noise variance, leaving the likelihood scale arbitrary up to the guidance weight η. The bandwidth directly controls the geometry of the guidance landscape: a too-large B-factor can make a unimodal ensemble's average density fit a bimodal Fo, while a too-small B-factor can reward overfitting to coordinate noise. Without a systematic sensitivity analysis over B (and the noise scale, grid spacing, and normalization), and without a synthetic test with known ground-truth modes, the claim that the guidance gradient recovers the true alternate conformations rather than artifacts of the approximate forward model is not established.
- [Section 3, Bimodality and structural alignment (Figure 3)] The structural recovery claim rests on the bimodality scores shown in Figure 3, computed only for samples that survived the matching pursuit filter (at most 5 of 16 initial samples). The figure shows score distributions but provides no error bars, no significance tests, and no distance threshold that would let the reader judge whether the recovered modes are truly close to the PDB altlocs. With such a small filtered sample size, the bimodality may be dominated by the selection procedure rather than by the guidance signal. The authors should either report the full unfiltered ensemble or provide a quantitative metric such as the fraction of samples within 1 Å of each altloc, with uncertainties, before claiming accurate recovery.
minor comments (4)
- [Abstract and Appendix A.1] There are several typos: "heterogenity" in the abstract, "dihderal" and "backpropagtaion" in Section A.1, and "angels" in Section A.2 (should be "angles").
- [Algorithm A2] In the algorithm's input list, the target density is denoted "dt", but the text refers to it as "Fo"; the notation should be made consistent.
- [Section 3, Experimental setup] The description of the density conversion (Lang et al. method) is brief; a reference to the exact equation or software used to convert PDB maps to e-/Å^3 would improve reproducibility.
- [Section A.2] The statement that results were obtained "without any additional tuning" is difficult to reconcile with the absence of a sensitivity study for the central hyperparameters (guidance scale, gradient clipping, B-factor); a small table varying these would strengthen the robustness claim.
Circularity Check
No significant circularity: density-guided sampling is the definition of the inverse problem, and altloc recovery is judged by an independent structural metric; minor caveats are a target-derived B-factor and a same-group citation used for motivation.
full rationale
The central derivation is not circular. Equation (2) defines the likelihood of the observed density Fo given an ensemble; equation (4) injects the gradient of that likelihood into the diffusion sampler. Measuring cosine similarity between the reconstructed mean density and Fo is therefore measuring the objective that was optimized — but that is the definition of conditional sampling/inverse problem solving, not a hidden circular derivation, and the paper does not claim it as an out-of-sample prediction. The load-bearing altloc claim is evaluated by the bimodality score, a structural metric comparing samples to PDB-deposited alternate locations; this metric is not the quantity optimized by Eq. 4 or Algorithm A2, and the comparison against unconditional Chroma sampling is meaningful. The prior (Chroma, [5]) is external, pre-trained, and not fitted per target. The forward model uses a uniform B-factor taken as the average of the target PDB structure B-factors — a mild target-derived calibration that could influence the likelihood landscape, but it does not reduce the altloc recovery claim to an identity. Reference [11] is authored by overlapping researchers and is used to motivate the task and select the altloc dataset, but it is not invoked to justify any equation or to forbid alternatives. These caveats warrant a low score, not a circularity finding.
Assumptions & free parameters
free parameters (9)
- Guidance scale η =
9.0
- Gradient clipping threshold =
32.5
- Sidechain resampling interval Tχ =
40 diffusion steps
- Sidechain optimization steps Sχ =
25
- Sidechain optimization step size λχ =
0.001
- Ensemble batch size =
16
- Maximum selected samples mmax =
5
- Uniform B-factor (KDE bandwidth) =
average of per-atom B-factors from the PDB structure
- Likelihood noise scale =
implicitly 1 (no variance parameter in Eq. 2)
assumptions (5)
- domain assumption The forward model Eq. 3 (KDE of form-factor Gaussians with uniform B-factor) accurately approximates the crystallographic electron density for the purpose of gradient guidance.
- domain assumption The likelihood p(Fo|X,a) is Gaussian with unit covariance over density voxels (Eq. 2).
- domain assumption Chroma's pre-trained distribution p(x)p(a,χ|x) is a valid prior over protein conformations for the sampled regions.
- ad hoc to paper The SubstructureConditioner can fix atoms outside the target residues to their ground truth locations without biasing the ensemble in the target region.
- ad hoc to paper The matching pursuit filter (Algorithm A2) selects a subset whose mean density is the best representation of the observed density.
Cite this review
Pith. "Pith review of Generative modeling of protein ensembles guided by crystallographic electron densities." pith.science (2026). https://pith.science/paper/D3KQF63K
@misc{pith2026241213223,
author = {Pith},
title = {Pith review of: Generative modeling of protein ensembles guided by crystallographic electron densities},
year = {2026},
howpublished = {\url{https://pith.science/paper/D3KQF63K}},
note = {Machine review of arXiv:2412.13223}
}
read the original abstract
Proteins are dynamic, adopting ensembles of conformations. The nature of this conformational heterogenity is imprinted in the raw electron density measurements obtained from X-ray crystallography experiments. Fitting an ensemble of protein structures to these measurements is a challenging, ill-posed inverse problem. We propose a non-i.i.d. ensemble guidance approach to solve this problem using existing protein structure generative models and demonstrate that it accurately recovers complicated multi-modal alternate protein backbone conformations observed in certain single crystal measurements.
Figures
Forward citations
Cited by 2 Pith papers
-
Inverse problems with experiment-guided AlphaFold
Experiment-guided AlphaFold3 samples structural ensembles consistent with electron density and NOE restraints, improving heterogeneity modeling and reducing NMR structure determination time.
-
Adaptive Multimodal Protein Plug-and-Play with Diffusion-Based Priors
Adam-PnP guides a pre-trained protein diffusion model with multiple experimental data types, using online noise estimation and precision-based weighting, and reports a backbone RMSD of 0.65 Å on one protein.
Reference graph
Works this paper leans on
-
[1]
Se(3)-stochastic flow matching for protein backbone generation
Avishek Joey Bose, Tara Akhound-Sadegh, Guillaume Huguet, Killian Fatras, Jarrid Rector- Brooks, Cheng-Hao Liu, Andrei Cristian Nica, Maksym Korablyov, Michael Bronstein, and Alexander Tong. Se(3)-stochastic flow matching for protein backbone generation. In The International Conference on Learning Representations (ICLR), 2024
work page 2024
-
[2]
Stephen K Burley, Charmi Bhikadiya, Chunxiao Bi, Sebastian Bittrich, Li Chen, Gregg V Crichlow, Cole H Christie, Kenneth Dalenberg, Luigi Di Costanzo, Jose M Duarte, et al. Rcsb protein data bank: powerful new tools for exploring 3d structures of biological macromolecules for basic and applied research and education in fundamental biology, biomedicine, bi...
work page 2021
-
[3]
Diffusion models beat gans on image synthesis
Prafulla Dhariwal and Alexander Nichol. Diffusion models beat gans on image synthesis. Advances in neural information processing systems, 34:8780–8794, 2021
2021
-
[4]
Modeling with alternate loca- tions in x-ray protein structures
Torben Gutermuth, Jochen Sieg, Tim Stohn, and Matthias Rarey. Modeling with alternate loca- tions in x-ray protein structures. Journal of Chemical Information and Modeling, 63(8):2573– 2585, 2023
work page 2023
-
[5]
Ingraham, Max Baranov, Zak Costello, Karl W
John B. Ingraham, Max Baranov, Zak Costello, Karl W. Barber, Wujie Wang, Ahmed Ismail, Vincent Frappier, Dana M. Lord, Christopher Ng-Thow-Hing, Erik R. Van Vlack, Shan Tie, Vincent Xue, Sarah C. Cowles, Alan Leung, João V . Rodrigues, Claudio L. Morales-Perez, Alex M. Ayoub, Robin Green, Katherine Puentes, Frank Oplinger, Nishant V . Panwar, Fritz Oberme...
work page 2023
-
[6]
Alphafold meets flow matching for generating protein ensembles
Bowen Jing, Bonnie Berger, and Tommi Jaakkola. Alphafold meets flow matching for generating protein ensembles. In Forty-first International Conference on Machine Learning, 2024
work page 2024
-
[7]
P. Therese Lang, James M. Holton, James S. Fraser, and Tom Alber. Protein structural ensembles are revealed by redefining x-ray electron density noise. Proceedings of the National Academy of Sciences, 111(1):237–242, 2014
work page 2014
-
[8]
Matching pursuits with time-frequency dictionaries
Stéphane G Mallat and Zhifeng Zhang. Matching pursuits with time-frequency dictionaries. IEEE Transactions on signal processing, 41(12):3397–3415, 1993
work page 1993
Show all 17 references
-
[9]
Ucsf chimerax: Structure visualization for researchers, educators, and developers
Eric F Pettersen, Thomas D Goddard, Conrad C Huang, Elaine C Meng, Gregory S Couch, Tristan I Croll, John H Morris, and Thomas E Ferrin. Ucsf chimerax: Structure visualization for researchers, educators, and developers. Protein science, 30(1):70–82, 2021
2021
-
[10]
International Tables for Crystallography, Volume C: Mathematical, physical and chemical tables
Edward Prince. International Tables for Crystallography, Volume C: Mathematical, physical and chemical tables. Springer Science & Business Media, 2004
2004
-
[11]
Rosenberg, Sanketh Vedula, Alex M
Aviv A. Rosenberg, Sanketh Vedula, Alex M. Bronstein, and Ailie Marx. Seeing double: Molecular dynamics simulations reveal the stability of certain alternate protein conformations in crystal structures. bioRxiv, 2024
2024
-
[12]
A smoothed backbone-dependent rotamer library for proteins derived from adaptive kernel density estimates and regressions
Maxim V Shapovalov and Roland L Dunbrack. A smoothed backbone-dependent rotamer library for proteins derived from adaptive kernel density estimates and regressions. Structure, 19(6):844–858, 2011
2011
-
[13]
Generative modeling by estimating gradients of the data distribution
Yang Song and Stefano Ermon. Generative modeling by estimating gradients of the data distribution. Advances in neural information processing systems, 32, 2019
2019
-
[14]
Partially collapsed gibbs samplers: Theory and methods
David A Van Dyk and Taeyoung Park. Partially collapsed gibbs samplers: Theory and methods. Journal of the American Statistical Association, 103(482):790–796, 2008
2008
-
[15]
Wankowicz, Ashraya Ravikumar, Shivani Sharma, Blake T
Stephanie A. Wankowicz, Ashraya Ravikumar, Shivani Sharma, Blake T. Riley, Akshay Raju, Daniel W. Hogan, Henry van den Bedem, Daniel A. Keedy, and James S. Fraser. Uncovering protein ensembles: Automated multiconformer model building for x-ray crystallography and cryo-em. bioR...
2023
-
[16]
Bron- stein, and Renana Gershoni-Poranne
Tomer Weiss, Eduardo Mayo Yanes, Sabyasachi Chakraborty, Luca Cosmo, Alex M. Bron- stein, and Renana Gershoni-Poranne. Guided diffusion for inverse molecular design. Nature Computational Science, 3(10):873–882, Oct 2023
2023
-
[17]
Predicting equilibrium distributions for molecular systems with deep learning
Shuxin Zheng, Jiyan He, Chang Liu, Yu Shi, Ziheng Lu, Weitao Feng, Fusong Ju, Jiaxi Wang, Jianwei Zhu, Yaosen Min, et al. Predicting equilibrium distributions for molecular systems with deep learning. Nature Machine Intelligence, pages 1–10, 2024. 7 A Appendix and Supplemental...
2024
Reviewed August 11, 2026 · model on record in the stance chip above.
Discussion (0). Continue with ORCID to comment.