Manuscript Offprint
arXiv:2611.02170Restrained Diffusion Bridges: Targeted Denoiser Training and Refinement
Abstract
Diffusion models are often inaccurate in critical, data-sparse regions of the target distribution. Sampling from restrained distributions, biased distributions used in classical enhanced sampling to concentrate data near chosen configurations, can control where training data are collected but biases the learned distribution. We establish that this bias cancels exactly when forward noising from restrained data is conditioned on the restrained configuration at an appropriately chosen intermediate time. This allows a pretrained model fine-tuned on restrained data to achieve high accuracy in any chosen region of the target distribution, regardless of its probability, using standard denoising or flow matching objectives without importance weights. When no target data are available, Gibbs sampling enables inference from a model trained exclusively on restrained data.
1 Introduction
A fundamental challenge in diffusion-based generative modeling is poor accuracy in regions of state space that have low probability under the (possibly unnormalized) target measure and are poorly represented in training data. These regions, such as transition states in molecular simulations, rare posterior configurations, or low-frequency image modes, are often of critical importance in downstream analysis. A potential remedy is to reweight the training distribution toward rare regions or collect more data there. However, simple reweighting or oversampling causes the model to learn the wrong target measure. Correcting with importance weights, when they are available, does not resolve the problem because those weights are small in low probability regions by design.
Classical umbrella sampling uses harmonic biases to restrain simulations near selected configurations (Torrie and Valleau, 1977; Kästner, 2011). The resulting densities suppress distant configurations and keep a chain near , facilitating sampling even when is highly atypical under . As for reweighting and oversampling, a diffusion model trained directly on restrained data learns the restrained density rather than .
Here, we show that conditioning the forward noising process on restrained data exactly cancels the biasing effect of those data. A model trained on restrained data with standard denoising or flow matching objectives, and no other modifications, therefore recovers the unconditional score of with no importance weights or

Figure 1: Conceptual overview of Restrained Diffusion Bridges (RDBs). (a) Standard training provides many trajectories to the dominant mode of but few to the rare mode. (b) Multiplying (blue dashed) by the Gaussian restraint (red dashed) gives the restrained target (orange). Restrained endpoints and bridges pinned at focus fine-tuning on the rare region while recovering the score of . (c) Algorithm 1 uses the pretrained model from to and the fine-tuned model from to 0. Algorithm 2 alternates the reverse bridge with using only the fine-tuned model
correction terms (Theorem 1). This cancellation exploits the observation that the restrained density at scale coincides exactly with the posterior distribution inside a diffusion model when the noise level is matched to (Lemma 1).
These results motivate a targeted training algorithm that requires no additional samples from and allows precise control over where training data are concentrated without introducing any bias (Figure 1). It can also be used to fine-tune a pretrained diffusion model whose accuracy degrades near a rare configuration: the model is refined only for times in and only in a neighborhood of that configuration, using restrained samples drawn near it. When is available, we sample the restrained distributions using Langevin sampling. We also propose an alternative dataset resampling strategy when only samples from are available (Appendix C). The fine-tuned model produces independent samples via standard inference at no extra cost.
When no reasonable pretrained model is available, our algorithm can be used to train a model valid on only. The model on can then be used to generate samples from using a learned Gibbs sampler (Section 5.2). We validate our approach on the Müller-Brown potential, where analytic ground truth is available, and on two molecular benchmarks, alanine dipeptide in explicit solvent and chignolin in implicit solvent, which test the approach in realistic simulation settings (Section 6).
Restricted-Gaussian conditionals underlie proximal Gibbs sampling (Lee et al., 2021) and related diffusion-assisted MCMC methods (Kim and Ye, 2023; Chen et al., 2024). Chen et al. (2026a) implement a Gibbs transition through learned denoising and a Metropolis correction to remove score and discretization bias. Generative Gibbs methods (Wang et al., 2026c,a,b) exploit the freedom to learn a conditional under a convenient marginal over and compose it with a different -distribution at inference. In those papers that freedom is used to reduce the dimensionality and complexity of the training distribution. Here it is used to focus training on chosen target regions.
Diffusion bridge methods construct endpoint-conditioned generative dynamics (De Bortoli et al., 2021; Zhou et al., 2024). In our approach, posterior-matched restrained samples are bridged to fixed endpoints and the ordinary denoising target recovers the unconditional score. Endpoint frequencies can therefore emphasize rare regions. This targeted use of restrained components is related to stratification, which can improve inverse-temperature scaling of classical sampling for multimodal targets (Dinner et al., 2020).
3 Setup
We use for forward noised states. We reserve bare for the target density. Subscripted denotes the finite-dimensional laws induced by the forward process initialized with . For example, , and denote the marginal, joint, posterior, and bridge densities, respectively.
For definiteness, we consider Gaussian forward processes with marginals
where , , and is strictly decreasing, with , , and so that is noise-dominated. Our results generalize beyond Gaussian and continuous space settings with appropriate redefinition of the restrained densities. We write for the transition ratio and for the conditional variance. The latter is nonnegative when is decreasing. The forward process (1) induces the joint and marginal densities
whose score drives the reverse dynamics.
The marginal (1) is realized by the Itô stochastic differential equation (SDE)
where is standard Brownian motion, overdots denote time derivatives, and follows from decreasing. The corresponding reverse-time SDE is
where is a reverse-time Brownian motion (Song et al., 2021). Alternatively, the probability flow ordinary differential equation (ODE)
shares the same marginals as (3) (Song et al., 2021) and generates samples from deterministically. We refer to both (3) and (4) as the reverse dynamics. The choice between stochastic and deterministic integration is independent of training. The variance preserving schedule () and the flow-matching schedule
(Lipman et al., 2023) are special cases. With the latter schedule, the ODE (4) recovers standard flow-matching inference. A network is trained to approximate a chosen parameterization of either the score or the velocity field and then, at inference time, used to drive the corresponding reverse dynamics (3) or (4) starting from initial conditions sampled from . Our goal is to either train a new model or refine a pretrained model in low-density regions for .
We choose a probe point and a bridge time , which together determine the restraint width . The restrained density centered at is
Gaussian forward-noise posteriors are common in diffusion-assisted sampling (Kim and Ye, 2023; Chen et al., 2024). As the following lemma shows, restrained samples at scale are exact draws from the diffusion posterior at , the condition under which bridge score matching recovers the unconditional score of (Theorem 1).
Lemma 1 (Posterior identification). With , the restrained density equals the diffusion posterior exactly: .
Proof. Apply Bayes' theorem to the Gaussian forward kernel, then substitute .
Forward noising from produces a restrained marginal rather than , so ordinary denoising score matching (Vincent, 2011; Ho et al., 2020) would learn the wrong score. More generally, at a fixed time , the population denoising regressor depends on the conditional law , not on the marginal distribution from which is sampled. We could therefore choose any distribution for and draw from its matching posterior. In the Gaussian case this posterior is a restrained distribution, but implementing this construction directly would require a separate restrained simulation for every selected and .
A bridge amortizes these conditional simulations across time. Fix and an endpoint , draw , and then draw . By the Markov property of the forward process, . Thus ordinary denoising regression has the unconditional population optimum for every fixed endpoint . The marginal distribution of may therefore be chosen arbitrarily, allowing endpoints in rare regions to be oversampled. Lemma 1 identifies the required endpoint posterior for with the restrained ensemble .
Given a starting point drawn from and the bridge endpoint , the forward process conditioned on both values is a Gaussian bridge:
with mean and bridge variance
Because for every , bridge samples are more concentrated than ordinary forward samples around the conditional bridge tube connecting to . They therefore provide dense training coverage of the targeted region throughout the low-noise interval.
4 Restrained bridge-based training
Algorithm 1 trains a diffusion model on from samples of the restrained density . To generate training data we assume access to the true score (e.g., the negative gradient of a potential energy), so the restrained score is . Overdamped Langevin dynamics with this score confines the chain to a neighborhood around , regardless of how atypical is under , at the same per-step cost as Langevin on itself (one call to ). An alternative training procedure that leverages existing samples from instead of access to the true score is provided in Appendix C.
The restraint width controls the mixing time of the restrained Langevin sampler. The upper bound on comes from the slowest degrees of freedom. If spans a free-energy barrier, restrained Langevin must cross it and mixes no faster than the unrestrained chain. Fast dynamics like bond vibrations and angle bending in molecular dynamics (MD) simulations in principle put a lower bound on through numerical stability, because a stiff restraint requires a small time step, but in practice this bound lies well below choices of interest. The two bounds are independent, and their ratio can span many orders of magnitude, giving wide latitude in the choice of . The parameter plays the same role as the force constant of the restraining potential in umbrella sampling simulations but is determined by the noise schedule in the Gibbs sampling context rather than set by hand.
Theorem 1 (Training correctness). Let , let , and let be drawn from the bridge (6) with endpoint . Then for any , any , and every :
(i) The -optimal regressor of the score target against equals .
(ii) The -optimal regressor of the velocity target against equals in (4).
Proof sketch. Lemma 1 identifies , so the construction is a posterior-initialized likelihood bridge. The general cancellation identity, Proposition 1, gives part (i), and part (ii) follows by an affine change of parameterization. The full proof is in Appendix A.
Theorem 1 extends immediately to a low-dimensional collective variable (CV) constrained to a target value (e.g., a dihedral angle or end-to-end distance of a polymer). Define the CV-restrained distribution to be the joint conditional law
For any draw from (8), the conditional is exactly the probe-point restrained density (5) with implicit probe . The Gaussian bridge (6) from to is therefore a standard probe-point bridge, and Theorem 1 applies directly for any and . Appendix B gives the exact linear-CV construction. For nonlinear CVs, the restrained data must be sampled directly from (8), rather than from a closed-form construction.
Algorithm 1 Restrained Bridge Training
1 Input: pretrained , bridge time (giving ), gradient steps , batch size , learning rate
2 Input: sample pools providing pairs : either with explicit probe [probe-point], or from (8) with [CV; Appendix B]
3 Output: fine-tuned model
4 for gradient step to do
5 For each : and independently one probe per item 6 Sample bridge times independently 7 for to do 8 Compute bridge statistics for : 9 Eq. (7) 10 Eq. (7) 11 Sample ; 12 Compute denoising target : Thm. 1; see below for both options 13 14 15 16 Update: 17 18
The model need not represent every degree of freedom of the system. It is sufficient that the restraint on the full system depend only on the modeled variables (e.g., protein backbone dihedral angles). Let the full configuration reduce to the modeled variable , with target marginal . The CV conditioning in (8) multiplies by a factor depending only on , with the -marginal of (8). Biasing the full system by therefore produces this restrained marginal from training data generated in the full space.
Several strategies are available to select the probe points . If an initial set of training samples from is available and contains one or more samples in the targeted region, then we can choose with . The points can be selected deterministically, or according to any chosen reweighting of the initial training samples from . Note that each can correspond to many . The added noise is not strictly necessary but is often important for training an accurate denoiser.
If few or no samples from are available, several exploration strategies can be used to generate probe points covering the target region. A simple option is to run Langevin dynamics on at reduced inverse temperature (scaling the score by samples ). Other options include adiabatic-bias MD (Marchi and Ballone, 1999), which can steer configurations to prescribed regions of sample space, as well as temperature-accelerated MD (Maragliano and Vanden-Eijnden, 2006), and metadynamics (Laio and Parrinello, 2002).
Algorithm 1 handles multiple probe points by drawing one independent pair per batch item, giving an unbiased estimator of where and is the distribution of probe points. The CV-restrained case (Appendix B) fits within the same loop. Probe-point and CV pools may be mixed across with any chosen frequencies. When is unavailable but samples from exist, dataset resampling (Appendix C) provides a third pool type that fits the same loop without any modification.
5 Inference
5.1 Inference from a fine-tuned model
Theorem 1 guarantees that the procedure in Algorithm 1 produces the correct driving field of the reverse dynamics for . Combined with the pretrained model on , the resulting model on therefore produces samples correctly distributed according to (up to training error). The marginal smooths by a Gaussian kernel of variance , so the pretrained denoiser need only capture the smoothed landscape. The fine-tuned model resolves local detail for . Errors arise only if the pretrained denoiser is inaccurate at noise levels above , because the reverse dynamics then deliver with a distribution that deviates from .
5.2 Inference without
When no pretrained denoiser is available for , the bridge-trained model supports a learned Gibbs sampler that produces correlated samples on the joint density
whose -marginal is by construction, and whose conditionals are by Lemma 1 and . Gibbs sampling on (9) alternates between two steps:
-
Sample : set exactly and run the stochastic reverse SDE (3) from to 0 with .
-
Resample : a single Gaussian draw.
The -update samples exactly from the forward kernel , so the resulting has the correct marginal . Stochastic reverse diffusion from with the correct score (Theorem 1) then recovers , and marginalizing over returns . Pseudocode, proximal interpretation, and a Metropolized variant are provided in Appendix D.
6 Numerical Experiments
We evaluate restrained diffusion bridge (RDB) refinement on the two-dimensional Müller–Brown system, as well as two molecular generation problems: isomerization of -acetyl--methylalaninamide, often termed the alanine dipeptide since it is an alanine amino acid with two peptide bonds to blocking group, in explicit solvent demonstrates Cartesian sampling without an explicit solute-marginal energy function, while folding of the 10-amino-acid peptide chignolin in implicit solvent tests high-dimensional rare-state fine-tuning in the latent space of a model with 93 heavy (i.e., nonhydrogen) atoms. We assess both rare-state and global accuracy.
6.1 Müller–Brown potential
The Müller–Brown (MB) potential (Müller and Brown, 1979) is a two-dimensional energy surface with three minima (metastable basins). The Boltzmann density can be evaluated exactly on a grid. For this example we measure sampling quality against results from quadrature. The inverse-temperature acts as a difficulty parameter. Raising it sharpens the gradients of the target and raises the effective barriers between minima. In this section, we examine the performance of restrained RDB training with a fixed budget for generating the training data and Gibbs sampling inference in . Our


Figure 2: (a) The Müller–Brown potential with the central basin outlined in red. (b) Free-energy profile along , , at for a representative sampling run of each method against the exact profile; the shaded band marks the extent of the central basin in . The restrained sampler recovers the central basin, whereas the baseline does not. (c) Central-basin occupancy relative to its reference value from quadrature, , against inverse temperature for the restrained sampler at and for the budget-matched baseline. Raw occupancy values are plotted in Appendix E. Median (dots and diamonds) and interquartile range (shading) are plotted for twenty independently seeded inference runs.
goal is to understand how model accuracy changes as the problem becomes more difficult. For the MB example we do not consider the cost of inference. More details can be found in Appendix E.
We train a model with RDB on restrained Langevin bridge endpoints alone, without pretraining, over diffusion times for . This RDB model is sampled at inference time using the Gibbs strategy described in Section 5.2. We obtain 10,000 probe points from an unrestrained Langevin trajectory at , recorded every 0.25 time units. Each probe initializes a 0.3 time-unit trajectory of overdamped Langevin dynamics, whose final configuration yields a single restrained sample. Integrations were performed at a time step of . We train the baseline standard diffusion model over the full range on unrestrained Langevin data at each value considered. The two models use the same architecture (a three-layer multilayer perceptron (MLP) with 128 hidden units, trained for 10,000 iterations) and total Langevin cost, which yields 10,000 training points for the RDB trained model and 22,000 points for the standard diffusion model at each value.
For the RDB trained model with Gibbs sampling inference on , we run 1,000 independent inference chains, all initialized at the deepest minimum, for 50,000 sweeps each. Each sweep noises the state forward to and integrates the reverse process back to in 100 steps. We treat sweeps before 10,000 as burn-in and retain every tenth configuration from sweep 10,000 through sweep 50,000, inclusive. This yields 4,001 configurations per chain and 4,001,000 pooled samples. The baseline is sampled directly from noise using the same 100 reverse steps, yielding 4,000,000 samples.
The central basin in Figure 2(a) is high in energy compared with the other two and carries little probability mass. A diffusion model trained directly on equilibrium samples therefore sees relatively few training points there. As shown in Figure 2(b), the baseline fails to resolve this basin, whereas the RDB trained model with Gibbs sampling inference captures it accurately. Figure 2(c) shows that the failure of the baseline model becomes more acute as temperature decreases, with its interquartile range excluding exact agreement at every . In contrast, the restrained sampler stays close to the exact occupancy throughout the temperature range, suggesting that an analogue of umbrella sampling's favorable low-temperature efficiency (Dinner et al., 2020) may apply.
6.2 Alanine dipeptide in explicit solvent
Our alanine dipeptide numerical experiment involves a 22-atom solute and 628 TIP3P water molecules (Jorgensen et al., 1983). Solvent variables appear only in the MD simulations used to generate training data. The diffusion model generates (Kabsch-aligned (Kabsch, 1976)) Cartesian coordinates for the solute atoms. We use Ramachandran angles (Ramachandran et al., 1963) to define five metastable free-energy basins, including the rarest, (Figure 3(a)). We assess global fidelity using the Jensen–Shannon (JS) distance between normalized two-dimensional histograms, defined as the square root of the JS divergence (Lin, 1991). Rare-state accuracy is assessed by comparing the generated population with the reference population.
For both the reference population and training the baseline diffusion model, we run five 300 K equilibrium MD trajectories of 5.05 s each, including a 50 ns warm-up per trajectory, for a total MD budget of 25.25 s. The baseline model captures the global distribution but underestimates the population of .
We compare the baseline diffusion model to two ways to improve rare-basin sampling. The two approaches use the same model architecture and are compared at matched numbers of training updates.
Setting I: Refinement without additional MD. We use the equilibrium dataset to construct synthetic restraint pairs and fine-tune the baseline model from its 20,000-update checkpoint for another 30,000 updates. On a grid on , 10,000 probes are allocated in proportion to , where is the equilibrium count in cell . For each probe, we select 30 synthetic restrained samples without further MD or energy evaluations (Appendix C). The restraints act on the Cartesian coordinates of the solute heavy atoms (Appendix B); the Ramachandran angles are used only to allocate probes and evaluate the generated samples. Following refinement, inference consists of using the pretrained model on and the fine-tuned model on .
Setting II: Generation at fixed MD cost. When starting from an energy function and no pre-trained model, we instead spend the same 25.25 s MD budget on a 250 ns trajectory at 500 K to generate 5,000 probes and ns of restrained MD at 300 K. Although total simulation time is matched, the restrained trajectories allow much greater parallelism and can substantially reduce wall-clock time. The resulting pairs train a denoiser on , with , from scratch. Equilibrium samples are then obtained using a Gibbs chain.
At the full 25.25 s MD budget, Figure 3(b) compares two variants of RDB refinement. The synthetic-pair variant branches from the baseline model at 20,000 updates and rapidly brings the population close to the reference. The restrained-MD-pair variant provides a more accurate estimate than the baseline model even at the earliest training checkpoints. To assess sensitivity to simulation cost, we then fix training at 50,000 updates and vary the matched MD budget from 5.25 to 25.25 s (Figure 3(c)). At each budget, we shorten all five equilibrium trajectories used by the baseline model and synthetic-pair refinement, and adjust the number of restrained-MD probes from 1,000 to 5,000. Synthetic-pair refinement improves the estimate at all budgets. Restrained-MD refinement yields a more accurate estimate than the matched-budget baseline model and continues to improve with increasing MD budget, whereas the baseline model accuracy appears to saturate. The 2D JS distances remain similar across methods and budgets. Their trends and further details are reported in Appendix F.
6.3 Chignolin in implicit solvent
Next we study a variant of the peptide chignolin (CLN025, with sequence Tyr-Tyr-Asp-Pro-Glu-Thr-Gly-Thr-Trp-Tyr, corresponding to 93 heavy atoms) (Honda et al., 2008) using a 22 s trajectory at 340 K, sampled every 10 ps. We discard the first 2 s as warm-up, and evaluate every model against the remaining 20 s reference ensemble. The distances NO1 = and NO2 =

(b)
(c)
Figure 3: Results for isomerization of the alanine dipeptide in explicit solvent. (a) Free energy as a function of the Ramachandran angles, with the five basins that we characterize marked. (b) Generated population versus training updates at a fixed 25.25 s MD budget; synthetic-pair refinement branches at 20,000 updates. (c) Generated population versus matched MD budget at 50,000 updates. Curves and bars show medians over 20 training runs, and bands and error bars show interquartile ranges. Dashed lines indicate the reference value.
distinguish the native -turn (short NO2) from the misfolded -turn (short NO1, longer NO2) (Maruyama et al., 2020). The misfolded region, NO1 < 3.7 Å and 5.0 < NO2 < 8.0 Å, has reference population 0.3747% (Figure 4(a)).
For this system, we did not obtain a satisfactory Cartesian baseline diffusion model within a reasonable training budget. We therefore represent the configuration with 128 latent variables of an autoencoder trained on the MD data for each MD budget. We use the same trained autoencoder across independently seeded diffusion runs at each MD budget (Appendix G). Restraining to the latent variables would require repeated encoder evaluation and differentiation during MD simulation, so we consider only refinement without additional MD simulation (Setting I). As for the alanine dipeptide, we allocate 10,000 probes to occupied (NO1, NO2) cells in proportion to and construct 30 synthetic posterior endpoints per probe. The baseline model is trained for 160,000 updates. Synthetic-pair refinement branches from its 80,000 update checkpoint and performs 80,000 fine-tuning updates at . Following refinemet, inference consists of using the baseline model on and the fine-tuned model on .
At the full 22 µs MD budget, the median generated misfolded population rises from 0.3055% at the 80,000 update branch point to 0.3675% after only 10,000 refinement updates and remains close to the reference thereafter (Figure 4(b)). At 160,000 total updates, synthetic-pair refinement improves the median from 0.3215% for the baseline model to 0.3665%, reducing the absolute relative error from 14.2% to 2.2%. Across the 7, 12, 17, and 22 µs MD budgets, the corresponding synthetic errors are 11.4%, 4.9%, 3.9%, and 2.2%, compared with 37.8%, 16.5%, 15.7%, and 14.2% for the baseline model (Figure 4(c)). Additional JS-distance and bridge-time results are reported in Appendix G.
7 Conclusions
Leveraging the fact that the restrained density at scale is the exact diffusion posterior at the noise level matched to (Lemma 1), we showed that conditioning the forward noising process on restrained data exactly cancels the biasing effect of those data. As a result, a model trained on restrained distributions, using standard denoising or flow matching objectives, recovers the unconditional score of without importance weights or corrections (Theorem 1).


Figure 4: Results for chignolin in implicit solvent. (a) Free energy in the (NO1, NO2) plane estimated from the 20 µs reference ensemble, with folded and misfolded regions outlined. (b) Generated misfolded population versus training updates at a fixed 22 µs MD budget. Synthetic-pair refinement branches at 80,000 updates. (c) Generated misfolded population versus total MD budget at 160,000 total updates. Synthetic-pair refinement uses . Curves and bars show medians over 10 training runs, and bands and error bars show interquartile ranges. Dashed lines indicate the reference value.
Algorithm 1 uses restrained Langevin samples to fine-tune a pretrained model on near chosen probe points. The result produces independent samples from via standard reverse dynamics at no extra cost. A likelihood-free variant replaces Langevin sampling with importance-weighted resampling from an existing dataset when is unavailable (Appendix C). When no pretrained model is available, the learned Gibbs sampler can use only the bridge-trained model on to generate correlated samples from .
Our approach cannot repair errors due to an inadequate choice of network architecture. We are also not yet able to provide more than heuristic guidance on the choice of , though we find that our results are not overly sensitive to that choice (Appendix G.6). For the Gibbs scheme there is an important tradeoff between higher sampling efficiency of the restrained distributions for lower and faster mixing at inference for larger (Appendix E).
Molecular simulation, where large pretrained structure models degrade at transition states and rare configurations that often govern biological function, is a natural application. Similar problems arise in other fields such as generative models for global climate and image generation. Algorithm 1 addresses this failure without global retraining.
Several directions remain open: whether an analog of the umbrella sampling exponential data efficiency result in Dinner et al. (2020) holds, extensions of the framework to discrete diffusion, and broader applications of the likelihood-free resampling approach to high-dimensional generative settings such as image generation.
Acknowledgments
We acknowledge support from National Institutes of Health awards R35 GM136381 and R01 GM169399, Office of Naval Research award N000142612500, and the Margot and Tom Pritzker Science Foundation. Generative AI tools were used to identify relevant literature, create and revise scientific figures, and write and revise code used in the execution of the research. Generative AI tools were also used to draft and revise portions of the manuscript and to improve its clarity, structure, grammar, and style. The authors take responsibility for the final content of this paper, including text, claims, and artifacts produced with the assistance of generative AI.
References
Tara Akhound-Sadegh, Jarrid Rector-Brooks, Joey Bose, Sarthak Mittal, Pablo Lemos, Cheng-Hao Liu, Marcin Sendera, Siamak Ravanbakhsh, Gauthier Gidel, Yoshua Bengio, Nikolay Malkin, and Alexander Tong. Iterated denoising energy matching for sampling from boltzmann densities. In Proceedings of the 41st International Conference on Machine Learning (ICML), pages 760–786, 2024.
Julius Berner, Lorenz Richter, and Karen Ullrich. An optimal control perspective on diffusion-based generative modeling. Transactions on Machine Learning Research, 2024.
Han Chen, Sifan Liu, and Jun Yang. Markov chain monte carlo with diffusion paths, 2026a. URL https://arxiv.org/abs/2607.11631.
Wenlin Chen, Mingtian Zhang, Brooks Paige, José Miguel Hernández-Lobato, and David Barber. Diffusive Gibbs sampling. In Proceedings of the 41st International Conference on Machine Learning (ICML), volume 235 of Proceedings of Machine Learning Research, pages 7731–7747, 2024.
Yifan Chen, Xiaou Cheng, Jonathan Niles-Weed, and Jonathan Weare. Convergence of unadjusted langevin in high dimensions: Delocalization of bias. Communications on Pure and Applied Mathematics, 79(6):1467–1491, 2026b. doi: 10.1002/cpa.70032. URL https://onlinelibrary.wiley.com/doi/abs/10.1002/cpa.70032.
Hyungjin Chung, Jeongsol Kim, Michael T. McCann, Marc L. Klasky, and Jong Chul Ye. Diffusion posterior sampling for general noisy inverse problems. In International Conference on Learning Representations (ICLR), 2023.
Tom Darden, Darrin York, and Lee Pedersen. Particle mesh ewald: An nlog(n) method for ewald sums in large systems. The Journal of Chemical Physics, 98(12):10089–10092, 06 1993. ISSN 0021-9606. doi: 10.1063/1.464397. URL https://doi.org/10.1063/1.464397.
Valentin De Bortoli, James Thornton, Jeremy Heng, and Arnaud Doucet. Diffusion schrödinger bridge with applications to score-based generative modeling. In Advances in Neural Information Processing Systems (NeurIPS), volume 34, pages 17695–17709, 2021.
Prafulla Dhariwal and Alexander Nichol. Diffusion models beat GANs on image synthesis. In Advances in Neural Information Processing Systems (NeurIPS), volume 34, pages 8780–8794, 2021.
Aaron R. Dinner, Erik H. Thiede, Brian Van Koten, and Jonathan Weare. Stratification as a general variance reduction method for Markov chain Monte Carlo. SIAM/ASA Journal on Uncertainty Quantification, 8(3): 1139–1188, 2020.
Carles Domingo-Enrich, Jiequn Han, Brandon Amos, Joan Bruna, and Ricky T. Q. Chen. Stochastic optimal control matching. In Advances in Neural Information Processing Systems (NeurIPS), volume 37, 2024.
Peter Eastman, Jason Swails, John D. Chodera, Robert T. McGibbon, Yutong Zhao, Kyle A. Beauchamp, Lee-Ping Wang, Andrew C. Simmonett, Matthew P. Harrigan, Chaya D. Stern, Rafal P. Wiewiora, Bernard R. Brooks, and Vijay S. Pande. Openmm 7: Rapid development of high performance algorithms for molecular dynamics. PLOS Computational Biology, 13(7):1–17, 07 2017. doi: 10.1371/journal.pcbi.1005659. URL https://doi.org/10.1371/journal.pcbi.1005659.
Aaron J. Havens, Benjamin Kurt Miller, Bing Yan, Carles Domingo-Enrich, Anuroop Sriram, Daniel S. Levine, Brandon M. Wood, Bin Hu, Brandon Amos, Brian Karrer, Xiang Fu, Guan-Horng Liu, and Ricky
T. Q. Chen. Adjoint sampling: Highly scalable diffusion samplers via adjoint matching. In Proceedings of the 42nd International Conference on Machine Learning (ICML), volume 267 of Proceedings of Machine Learning Research, pages 22204–22237, 2025.
Dan Hendrycks and Kevin Gimpel. Gaussian error linear units (gelus), 2023. URL https://arxiv.org/abs/1606.08415.
Jonathan Ho and Tim Salimans. Classifier-free diffusion guidance. arXiv:2207.12598, 2022.
Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. In Advances in Neural Information Processing Systems (NeurIPS), volume 33, pages 6840–6851, 2020.
Shinya Honda, Toshihiko Akiba, Yusuke Kato, Yoshito Sawada, Masakazu Sekijima, Miyuki Ishimura, Ayako Ooishi, Hideki Watanabe, Takayuki Odahara, and Kazuaki Harata. Crystal structure of a ten-amino acid protein. Journal of the American Chemical Society, 130:15327–31, 11 2008. doi: 10.1021/ja8030533.
William Jorgensen, Jayaraman Chandrasekhar, Jeffry Madura, Roger Impey, and Michael Klein. Comparison of simple potential functions for simulating liquid water. J. Chem. Phys., 79:926–935, 07 1983. doi: 10.1063/1.445869.
W. Kabsch. A solution for the best rotation to relate two sets of vectors. Acta Crystallographica Section A, 32(5):922–923, 1976. doi: 10.1107/S0567739476001873. URL https://onlinelibrary.wiley.com/doi/abs/10.1107/S0567739476001873.
Johannes Kästner. Umbrella sampling. WIREs Computational Molecular Science, 1(6):932–942, 2011. doi: 10.1002/wcms.66.
Beomsu Kim and Jong Chul Ye. Denoising MCMC for accelerating diffusion-based generative models. In Proceedings of the 40th International Conference on Machine Learning (ICML), volume 202 of Proceedings of Machine Learning Research, pages 16955–16977, 2023.
Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations, 2015. URL https://arxiv.org/abs/1412.6980.
Alessandro Laio and Michele Parrinello. Escaping free-energy minima. Proceedings of the National Academy of Sciences, 99(20):12562–12566, 2002.
Yin Tat Lee, Ruoqi Shen, and Kevin Tian. Structured logconcave sampling with a restricted gaussian oracle. In Proceedings of the 34th Conference on Learning Theory (COLT), volume 134 of Proceedings of Machine Learning Research, pages 2993–3050, 2021.
J. Lin. Divergence measures based on the shannon entropy. IEEE Transactions on Information Theory, 37(1): 145–151, 1991. doi: 10.1109/18.61115.
Kresten Lindorff-Larsen, Stefano Piana, Kim Palmo, Paul Maragakis, John L. Klepeis, Ron O. Dror, and David E. Shaw. Improved side-chain torsion potentials for the amber ff99sb protein force field. Proteins: Structure, Function, and Bioinformatics, 78(8):1950–1958, 2010. doi: 10.1002/prot.22711. URL https://onlinelibrary.wiley.com/doi/abs/10.1002/prot.22711.
Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matthew Le. Flow matching for generative modeling. In International Conference on Learning Representations (ICLR), 2023.
James A. Maier, Carmenza Martinez, Koushik Kasavajhala, Lauren Wickstrom, Kevin E. Hauser, and Carlos Simmerling. ff14sb: Improving the accuracy of protein side chain and backbone parameters from ff99sb. Journal of Chemical Theory and Computation, 11(8):3696–3713, 08 2015. ISSN 1549-9618. doi: 10.1021/acs.jctc.5b00255. URL https://doi.org/10.1021/acs.jctc.5b00255.
Luca Maragliano and Eric Vanden-Eijnden. A temperature accelerated method for sampling free energy and determining reaction pathways in rare events simulations. Chemical Physics Letters, 426(1-3):168–175, 2006. doi: 10.1016/j.cplett.2006.05.062.
Massimo Marchi and Pietro Ballone. Adiabatic bias molecular dynamics: A method to navigate the conformational space of complex molecular systems. The Journal of Chemical Physics, 110(8):3697–3702, 1999. doi: 10.1063/1.478259.
Yutaka Maruyama, Shunpei Koroku, Misaki Imai, Koh Takeuchi, and Ayori Mitsutake. Mutation-induced change in chignolin stability from pi-turn to alpha-turn. RSC Advances, 10(38):22797–22808, 06 2020. ISSN 2046-2069. doi: 10.1039/d0ra01148g. URL https://doi.org/10.1039/d0ra01148g.
Klaus Müller and Leo D. Brown. Location of saddle points and minimum energy paths by a constrained simplex optimization procedure. Theoretica Chimica Acta, 53(1):75–93, 1979.
Hai Nguyen, Daniel R. Roe, and Carlos Simmerling. Improved generalized born solvent model parameters for protein simulations. Journal of Chemical Theory and Computation, 9(4):2020–2034, 04 2013. ISSN 1549-9618. doi: 10.1021/ct3010485. URL https://doi.org/10.1021/ct3010485.
Jerome P. Nilmeier, Gavin E. Crooks, David D. L. Minh, and John D. Chodera. Nonequilibrium candidate Monte Carlo is an efficient tool for equilibrium simulation. Proceedings of the National Academy of Sciences, 108(45):E1009–E1018, 2011.
Ethan Perez, Florian Strub, Harm de Vries, Vincent Dumoulin, and Aaron Courville. FiLM: Visual reasoning with a general conditioning layer. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 32, pages 3942–3951, 2018. doi: 10.1609/aaai.v32i1.11671.
G. N. Ramachandran, C. Ramakrishnan, and V. Sasisekharan. Stereochemistry of polypeptide chain configurations. Journal of Molecular Biology, 7:95–99, 1963. doi: 10.1016/S0022-2836(63)80023-6.
Lorenz Richter and Julius Berner. Improved sampling via learned diffusions. In International Conference on Learning Representations (ICLR), 2024.
Marcin Sendera, Minsu Kim, Sarthak Mittal, Pablo Lemos, Luca Scimeca, Jarrid Rector-Brooks, Alexandre Adam, Yoshua Bengio, and Nikolay Malkin. Improved off-policy training of diffusion samplers. In Advances in Neural Information Processing Systems (NeurIPS), volume 37, 2024.
Yang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-based generative modeling through stochastic differential equations. In International Conference on Learning Representations (ICLR), 2021.
Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. In Advances in Neural Information Processing Systems, volume 30, pages 1195–1204, 2017. URL https://proceedings.neurips.cc/paper/2017/hash/68053af2923e00204c3ca7c6a3150cf7-Abstract.html.
Glenn M. Torrie and John P. Valleau. Nonphysical sampling distributions in monte carlo free-energy estimation: Umbrella sampling. Journal of Computational Physics, 23(2):187–199, 1977. doi: 10.1016/0021-9991(77)90121-8.
Francisco Vargas, Will Grathwohl, and Arnaud Doucet. Denoising diffusion samplers. In International Conference on Learning Representations (ICLR), 2023.
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in Neural Information Processing Systems, volume 30, pages 5998–6008, 2017. URL https://proceedings.neurips.cc/paper/2017/hash/3f5ee243547dee91fbd053c1c4a845aa-Abstract.html.
Pascal Vincent. A connection between score matching and denoising autoencoders. Neural Computation, 23 (7):1661–1674, 2011.
Weizhou Wang, Jonathan Weare, and Aaron R. Dinner. Composing diffusion priors with explicit physical context via generative gibbs sampling. arXiv preprint arXiv:2605.10642, 2026a. doi: 10.48550/arXiv.2605.10642.
Weizhou Wang, Jonathan Weare, and Aaron R. Dinner. Nuclear quantum effects as a denoising problem. arXiv preprint arXiv:2607.19680, 2026b. doi: 10.48550/arXiv.2607.19680.
Weizhou Wang, Xuanxi Zhang, Jonathan Weare, and Aaron R. Dinner. Quantum statistics from classical simulations via generative gibbs sampling. arXiv preprint arXiv:2601.20228, 2026c. doi: 10.48550/arXiv.2601.20228.
Qinsheng Zhang and Yongxin Chen. Path integral sampler: A stochastic control approach for sampling. In International Conference on Learning Representations (ICLR), 2022.
Zhijun Zhang, Xinzijian Liu, Kangyu Yan, Mark E. Tuckerman, and Jian Liu. Unified efficient thermostat scheme for the canonical ensemble with holonomic or isokinetic constraints via molecular dynamics. The Journal of Physical Chemistry A, 123(28):6056–6079, 07 2019. ISSN 1089-5639. doi: 10.1021/acs.jpca.9b02771. URL https://doi.org/10.1021/acs.jpca.9b02771.
Linqi Zhou, Aaron Lou, Samar Khanna, and Stefano Ermon. Denoising diffusion bridge models. In International Conference on Learning Representations (ICLR), 2024.
A Likelihood–bridge cancellation and proof of Theorem 1
The main theorem is a Gaussian instance of the following classical Doob-transform identity.
Proposition 1 (Posterior-initialized likelihood bridge). Let a Markov process have initial density , transition density , and a nonnegative endpoint-observation likelihood . For define
Initialize from the posterior proportional to and sample the corresponding likelihood-conditioned bridge. Then the population regressor of the ordinary denoising target , conditional on , is .
Proof. Writing , the posterior-initialized bridge joint density at times 0 and t is
The factor is constant in the conditional law of given . Hence
Thus the likelihood, equivalently the Doob-transform factor, cancels from the ordinary regression.
Proof of Theorem 1. For the Gaussian process, observing gives . Lemma 1 identifies the posterior initial law with , and the corresponding likelihood-conditioned process is the bridge (6). Moreover,
Proposition 1 proves part (i). For part (ii), gives
Taking conditional expectations and applying part (i) yields .
The exact endpoint observation gives the Gaussian restrained construction, while the regular conditional observation gives (8). Thus both the probe-point and exact CV constructions are special cases of Proposition 1, which is an organizing identity rather than a novelty claim about the Doob transform.
B Sampling the CV-restrained joint density
This appendix provides procedures for generating pairs from the conditional law (8), which are passed to Algorithm 1 with implicit probe .
Linear CVs. Let with full row-rank. Marginalizing in (8) gives the -marginal
a harmonic restraint on with target and stiffness . Samples are drawn by restrained Langevin dynamics in . Given , the -conditional is Gaussian and is drawn analytically:
Since is the orthogonal projector onto ker , the noise lies in ker and holds exactly. Pairs are therefore generated independently with no MCMC over .
Nonlinear CVs. When C is nonlinear, the sampler must target the regular conditional law (8). Replacing the constraint by a finite stiff harmonic penalty gives an approximation to that law that can be sampled using standard algorithms.
Setting (i.e. , ) in (11), the covariance vanishes, so the conditional distribution degenerates to the point mass . The two-step procedure then reduces exactly to the probe-point construction of Section 4: sample by restrained Langevin, then set deterministically.
C Dataset resampling for likelihood-free bridge-based model refinement
Algorithm 1 requires to draw restrained samples by Langevin dynamics. When samples from are available but gradients are not—e.g., image distributions or black-box simulators—restrained samples can instead be obtained by importance-weighted resampling from .
Choose a probe by perturbing a dataset point: , , . Assign each dataset point the weight
and draw proportional to the normalized weights . The pair replaces the Langevin-drawn pair in Algorithm 1. All other steps are unchanged.
Proposition 2 (Dataset-resampling correctness). Let be drawn with weights (12). As , converges weakly to , and the -minimizer of the bridge training loss converges to (score parameterization) or (velocity parameterization).
Proof. Let . For any bounded continuous , the self-normalized law of large numbers gives, under standard integrability conditions,
Thus the empirical weights are proportional only to , while the factor is supplied by drawing the dataset from . The result then follows by Theorem 1.
The weights in (12) are large only for dataset points within distance of . Points farther away contribute negligibly. The method therefore fails when falls in a low-density region of , where few dataset points lie nearby and the resampled is determined by whichever point happens to be closest rather than by the true conditional . Restrained Langevin handles this case because it actively drives toward . Resampling is the better choice when the dataset already covers the neighborhood of but the pretrained model is miscalibrated there.
D Gibbs sampling details
Algorithm 2 Generative Gibbs Sampler
1 Input: fine-tuned , , , initial probe , iterations , thinning
2 Output: samples from (exactly when is exact)
3 Initialize
4 for to do
5 Set 6 Run the stochastic reverse SDE (3) from to 0 with to obtain 7 Sample ; set 8 if then record end if
9 end for
10 return
Algorithm 2 is a learned proximal Gibbs sampler: its first step samples the restricted-Gaussian conditional with stochastic reverse diffusion, while its second step is an exact Gaussian update (Lee et al., 2021;
Kim and Ye, 2023; Chen et al., 2024). Step 1 is called a proximal sample of at because is the stochastic analog of the proximal operator familiar from convex optimization, , with . Rather than minimizing a penalized objective, we sample from the corresponding penalized distribution. With Metropolization, the construction here is essentially identical to that introduced recently in Chen et al. (2026a). The key distinction is that here we use restrained data to train the sampler, avoiding the need for or during training and permitting direct training of marginal samplers.
Algorithm 2 targets exactly when is exact (Theorem 1), and in practice the error is entirely attributable to the quality of the fine-tuned model and time discretization error, not to the Gibbs structure. Mixing speed depends on how broadly the probe points cover the relevant region during training and on the choice of . Matching to the local length scale of improves both coverage and mixing. Algorithm 2 produces correlated rather than independent samples, but because is small relative to , each Step 1 requires only a fraction of the function evaluations of a full diffusion trajectory.
Though we do not employ it in any of our experiments in this paper, when model error is a concern, Metropolization via Nonequilibrium Candidate Monte Carlo (NCMC) (Nilmeier et al., 2011) is straightforward and eliminates asymptotic bias entirely. The Metropolized chain then targets exactly, regardless of model quality, at the cost of occasional rejected proposals. As with all Metropolized samplers, the rejection rate will increase with dimension, even when the un-Metroplized sampler’s accuracy does not necessarily degrade rapidly (Chen et al., 2026b).
Metropolization by NCMC requires to use a score parameterization (), written in what follows. We write for the one-step reverse-transition density obtained by an Euler–Maruyama step of the reverse SDE (3) with score , and for the time-reversal of a discrete trajectory (i.e. the sequence with its elements in reversed order). Computing the path log-probabilities requires the SDE drift, which depends explicitly on the score.
To construct the Metropolized scheme, we replace the exact marginal noising step (, ) of Algorithm 2 with a discrete simulation of the forward SDE over the time grid , with Gaussian transition kernel
This replaces the explicit probe anchor with a stochastic coupling state whose path probability is tractable. Denote the forward trajectory and the reverse denoising trajectory produced by running via Euler–Maruyama from the shared coupling state . The full round-trip from to constitutes a single NCMC proposal with acceptance probability , where the nonequilibrium work is
Algorithm 3 Metropolized Generative Gibbs Sampling (NCMC-Gibbs)
1 Input: fine-tuned (score parameterization), true log-target , time grid , initial , iterations , thinning
2 Output: samples targeting exactly
3 for to do 4 5 Initialize 6 for to do 7 Sample 8 Append to 9 end for; set coupling state 10 11 Initialize ; set 12 for downto 1 do 13 Sample 14 Append to 15 end for; set candidate 16 17 18 19 20 21 22 Draw ; if then end if 23 if then store end if 24 end for; return
E Müller–Brown: setup and additional results
All experiments are run at target inverse temperatures , with the main text reporting . Densities and reference occupancies are evaluated on a quadrature grid over , which contains all three minima. A basin is defined as the connected sub-level region containing the corresponding minimum, with . The reference occupancy is the Boltzmann weight integrated over that region by grid quadrature. For the central basin this gives and at and , respectively, so the mode of interest carries under 4% of the mass even at the highest temperature.
The two pipelines are matched on total Langevin simulated time, burn-in included. The total budget for restrained data is time units for probe generation and on restrained runs, for 5,525 in total. The budget for the baseline model is the same 5,525 time units, spent on one unrestrained trajectory at the target , seeded from a randomly chosen probe point: 25 units of burn-in followed by recording at the same 0.25 interval, which yields 22,000 points. The baseline therefore receives more training data at identical simulation cost.
For the forward diffusion process in equation (1), we use the linear variance-preserving (VP) schedule (Song et al., 2021):
Both models use Adam (Kingma and Ba, 2015) with learning rate , batch size 1,000 and an Exponential Moving Average (EMA) (Tarvainen and Valpola, 2017) with decay 0.99. Models are trained for 10,000 iterations and evaluated with EMA weights. At sampling time all Gibbs chains start from the same point , so the chains must locate the remaining basins unaided. Each replicate of the pipeline is run at its own seed, 20 in total, and the sweep below uses the first five of them.
The hyperparameter sets the restraint width through , so increasing it weakens the harmonic restraint. Its influence is most pronounced at large , where the target has sharper gradients and taller barriers. Figure 5(b) reports the central-basin occupancy relative to its exact value, , against at each , with every other parameter held at the values given in Section 6.1; in particular the restrained trajectory length is fixed at 0.3 time units for every , so the simulation budget does not vary along the horizontal axis. This sweep uses the first five of the seeded replicates.


Figure 5: (a) The raw values of central-basin occupancy plotted in Figure 2(c). For , the baseline model gives zero occupancy. (b) Central-basin occupancy relative to its exact value, , against at each inverse temperature , after 10,000 training iterations. Median and interquartile range are calculated over five independently seeded runs.
At fixed restrained-trajectory length the occupancy is close to exact at , with median ratios of 0.85, 0.87, 0.90 and 1.10 at , 1.50, 2.00 and 3.00, respectively. As grows the basin is increasingly overpopulated, especially at larger . The restrained density is smoothed into a single well by the harmonic term only when that term dominates. As grows the restraint weakens, the barrier structure of survives in the restrained density, and sampling training data from it re-introduces the barrier-crossing problem. The fixed-length trajectories used to generate training data then no longer reach the intended conditional, so the training pairs are biased and the learned model inherits that bias. Recovering the correct conditional in this regime would require longer restrained trajectories, or more bridge points per probe, than at small .
Small smooths the restrained density more strongly and so makes the inner sampling problem easier, with an important drawback. Successive Gibbs iterations become strongly correlated, since each sweep perturbs the state only by an amount set by and the effective number of independent samples per iteration therefore falls. In particular, transitions between basins become slower during sampling. The method thus exhibits a trade-off between the cost of generating the training data and the efficiency of the resulting sampler.
F Alanine dipeptide: setup and additional results
F.1 System, preprocessing, and reference distribution
Explicit-solvent molecular dynamics. The solvated system contains a 22-atom alanine-dipeptide solute and 628 TIP3P water molecules in a cubic box of side length 2.7222 nm (1906 atoms total). We use the OpenMM (Eastman et al., 2017) implementations of the AMBER99SB-ILDN protein force field (Lindorff-Larsen et al., 2010) and TIP3P water, particle-mesh Ewald (Darden et al., 1993) electrostatics with a 0.9 nm real-space cutoff, constrained solute hydrogen bonds, rigid water, and center-of-mass motion removal. All trajectories use a Langevin-middle integrator (Zhang et al., 2019) with friction and step size 2 fs. After at most 2000 energy-minimization iterations, velocities are drawn at the simulation temperature and the system is propagated for 10 ps before the first stored frame. Production calculations use single-precision CUDA.
Five independent 300 K trajectories are generated with seeds 9000–9004 and saved every 1 ps. The reported experiment uses each trajectory over 0–5.05 µs, treats the first 50 ns as warm-up, and hence has 25.0 µs of production data and a total reported MD cost of 25.25 µs. A separate 250 ns 500 K trajectory (seed 9500) stores the full solvated state every 10 ps, supplying the 5000 probe candidates used in Setting II. Water is retained during MD but discarded before training.
Each equilibrium solute frame is Kabsch-aligned, using all 22 solute atoms, to a fixed reference structure used consistently across all experiments. The restrained-MD preprocessing described below additionally makes each solute whole under periodic boundary conditions. Coordinates are expressed in nm and multiplied by 20 before entering the model. Baseline model training uses a 50 ps subsample of the production interval.
Ramachandran reference and basins. The reference histogram uses all 25,000,000 raw 1 ps frames in (0.05, 5.05] µs from the five 300 K trajectories. We form a 300 × 300 periodic histogram over , smooth its density with a wrapped Gaussian of standard deviation two bins, and define the dimensionless free energy . We identify the five distinct local minima listed in Table 1. Basin is the four-neighbor, periodically connected component containing minimum and satisfying . This construction gives (0.1574%).
| Basin | minimum (rad) | minimum (rad) | |
|---|---|---|---|
| -2.5237 | 2.7541 | 0.6 | |
| -1.2462 | 2.6704 | 1.0 | |
| -1.3090 | -0.3037 | 1.5 | |
| 0.9320 | 0.5341 | 3.0 | |
| 1.0367 | 3.0264 | 2.0 |
Table 1: Local-minimum coordinates and basin-specific free-energy barriers used for all alanine dipeptide analyses.
F.2 Restrained-pair construction
Shared Cartesian CV. Let select the Cartesian coordinates of the ten solute heavy atoms with zero-based atom indices (1, 4, 5, 6, 8, 10, 14, 15, 16, 18). We use the same VP schedule (14) for the diffusion model. At , and the matched restraint width is in scaled model coordinates, or 0.101416 nm in physical coordinates.
Setting I: synthetic pairs. For each MD-budget level, only its matching equilibrium pool is used. The Ramachandran plane is divided into a grid. If an occupied cell contains frames, its probe quota is proportional to , with integer remainders assigned by largest fractional part and quotas capped by cell occupancy. We then draw 10,000 distinct equilibrium probes without replacement within their cells. For each training run and MD-budget level, the 10,000 probes and their posterior-matched synthetic pairs are independently resampled using seed-specific random streams.
Each clean probe produces 30 pairs. In scaled coordinates, a target CV is drawn as
A source frame is drawn by discrete resampling from the linear-CV marginal in Equation (10), with the endpoint target in that equation set to . Equivalently, its unnormalized resampling weight is
Given , the conditional distribution in Equation (11), again evaluated at endpoint target , gives the normalized endpoint
Therefore exactly. Every budget contains 300,000 synthetic pairs and requires no additional MD or energy evaluations. The equilibrium-pool mean is subtracted before lower-time training and restored after sampling.
Setting II: restrained-MD pairs. The 250 ns of the 500 K trajectory is sampled every 50 ps, giving 5000 candidates that include the complete solvent state and periodic box. For each candidate, Gaussian noise of standard deviation 0.101416 nm is added only to the ten selected heavy atoms to define a restraint center. Starting from the corresponding solvated state, velocities are redrawn at 300 K and a 5 ns trajectory is run without minimization using the same physical model as above. We implement the harmonic factor in Equation (10) in physical coordinates using minimum-image displacements:
Frames are stored every 10 ps, but only the 30 frames at 2.1,2.2, ..., 5.0 ns are retained. Before pair construction, each solute is made whole, the restraint displacement is taken by the minimum-image convention, and the configuration and target share the same framewise Kabsch transform. The unconstrained component of is then resampled analytically as above, which preserves exactly. The full dataset contains 150,000 pairs, and its centering shift is the mean of the 5000 aligned high-temperature candidates.
F.3 Matched MD budgets and repeated runs
For the MD-budget curve, all five equilibrium trajectories are retained and their production intervals are shortened together. The restrained method uses a matching number of 5 ns trajectories, so both sides have cost at level (Table 2). The reference distribution is used to evaluate every level and is not treated as training data at smaller budgets.
| Matched MD budget (µs) | Baseline model training dataset | RDB model training dataset | ||
|---|---|---|---|---|
| Production interval per trajectory (µs) | Training configurations | Restrained-MD probes | Retained training pairs | |
| 5.25 | (0.05, 1.05] | 100,000 | 1,000 | 30,000 |
| 10.25 | (0.05, 2.05] | 200,000 | 2,000 | 60,000 |
| 15.25 | (0.05, 3.05] | 300,000 | 3,000 | 90,000 |
| 20.25 | (0.05, 4.05] | 400,000 | 4,000 | 120,000 |
| 25.25 | (0.05, 5.05] | 500,000 | 5,000 | 150,000 |
Table 2: Comparison of the two model-training datasets at matched MD budgets. The baseline model dataset pools configurations from five equilibrium trajectories after discarding the first 50 ns of each trajectory and subsampling the remaining production segments every 50 ps. The restrained-MD RDB model dataset is constructed from a 250 ns high-temperature probe trajectory and matched restrained simulations. After discarding the equilibration portion of each restrained trajectory, 30 target configurations are retained per probe. Consequently, the two approaches use the same total MD time but different numbers of retained training configurations.
We use 20 runs with training seeds 42–61. Base training uses the same equilibrium pool across seeds. For synthetic-pair refinement, the probes and posterior-matched pairs are independently resampled for every training seed at each MD-budget level. For restrained MD we uniformly select probes without replacement. At the maximum budget all runs use all 5000 probes.
F.4 Model, optimization, and sampling
The denoiser treats the 22 atoms as tokens. A two-layer GELU (Hendrycks and Gimpel, 2023) MLP maps each 3-vector to width 128; learned atom-slot and atomic-number embeddings and a sinusoidal time embedding followed by a two-layer GELU MLP are added. Three pre-norm Transformer (Vaswani et al., 2017) encoder layers use eight attention heads, feed-forward width 512, GELU activations, and zero dropout. A linear head predicts one three-dimensional noise vector per atom.
All models use batch size 4096, Adam with constant learning rate , and an EMA with decay 0.99. The baseline model is trained from scratch for 50,000 updates with diffusion time uniform on . The synthetic-pair RDB refinement initializes both the live and EMA models from the base-20,000 EMA checkpoint, resets the optimizer and update counter, and performs 30,000 bridge updates with diffusion time uniform on ; no equilibrium examples are mixed into these updates. The restrained-MD RDB model is initialized randomly and trained from scratch for 50,000 lower-time bridge updates. The training-budget curve saves and evaluates checkpoints every 2000 updates.
Each evaluation uses 100,000 generated solute configurations in two batches of 50,000. Euler–Maruyama reverse sampling uses time step for baseline model and time step for synthetic-pair RDB model. Baseline sampling runs the 50,000 model from standard Gaussian noise over . Sampling of the synthetic-pair RDB model integrates the baseline 20,000 model over , shifts to the centered coordinate system, and runs the RDB model over . Restrained-MD RDB model evaluation initializes 100,000 Gaussian states at and runs one reverse pass; this is Gibbs iteration 0. Each of the next 50 iterations applies the analytic forward update followed by a 100-point reverse pass. Reported restrained-MD RDB metrics are the arithmetic average of the ten per-iteration metrics at iterations 41–50. PyTorch deterministic algorithms are enabled, cuDNN benchmarking is disabled.


Figure 6: Two-dimensional Ramachandran JS distance versus (a) training updates at a fixed 25.25 µs MD budget and (b) matched MD budget at 50,000 updates. Curves and bars show medians over 20 training runs, and bands and error bars show interquartile ranges. Dashed lines indicate the expected JS distance between a 100,000-sample multinomial draw and the 25.0 µs reference histogram.
F.5 Metrics and additional results
For every generated set, is accumulated on the same grid as the reference. With , the reported global metric is
where zero-count terms are omitted. The rare-state relative error is . Figure 3 reports medians across the 20 runs; bands and error bars span the first and third quartiles. For the restrained MD RDB model, the last-ten-iteration average described above is computed within each run before the across-run median and quartiles are taken.
Because the generated histogram contains only 100,000 samples spread over 90,000 bins, even an exact generator has nonzero empirical JS distance. We estimate this finite-sample floor by 5000 independent multinomial draws of 100,000 samples from the 25.0 s reference histogram; its mean is 0.234812. Figure 6 shows that all three methods approach this floor during training and remain close to it throughout the MD-budget sweep, supporting the conclusion that the improvement in does not come at the expense of global fidelity.
G Chignolin: setup and additional results
G.1 Reference simulation and collective variables
We simulate CLN025 (Tyr-Tyr-Asp-Pro-Glu-Thr-Gly-Thr-Trp-Tyr) at 340 K with OpenMM using the AMBER14 ff14SB protein force field (Maier et al., 2015) and GBN2 implicit-solvent model (Nguyen et al., 2013) using the protein.ff14SB.xml and gbn2.xml definitions supplied with OpenMM. The system uses no nonbonded cutoff, constrains bonds to hydrogen, removes center-of-mass motion, and sets the solute and solvent dielectric constants to 1 and 78.5. A Langevin-middle integrator uses a 2 fs step and friction . Velocities are initialized at 340 K with seed 2026061800. The trajectory is propagated for 22.36 s and stored every 10 ps, yielding 2,236,000 frames.
Only the 93 heavy atoms are retained. Coordinates are converted to and each frame is Kabsch-aligned, using the ten atoms, to a fixed folded reference structure used consistently across all experiments. The two evaluation coordinates are
The folded region shown in Figure 4(a) is 4.5 < NO1 < 8.0 Å and NO2 < 3.6 Å. The misfolded region used for every quantitative result is
G.2 Data budgets and fixed reference
The data-scaling experiment uses only the first 22 µs. We discard the first 2 µs as warm-up and define a single reference distribution from the remaining 2,000,000 frames in (2, 22] µs. This reference contains 7494 misfolded frames, hence . All generated samples, including models trained at smaller data budgets, are compared with this same reference.
The four training windows are prefixes of the post-warm-up interval (Table 3). For each window we recompute the per-atom Cartesian center and one global scale, the square root of the mean coordinate variance. No frame after the stated endpoint contributes to its normalization, autoencoder, latent statistics, probes, or diffusion training.
| MD budget ( ) | Source interval ( ) | Frames |
|---|---|---|
| 7 | (2, 7] | 500,000 |
| 12 | (2, 12] | 1,000,000 |
| 17 | (2, 17] | 1,500,000 |
| 22 | (2, 22] | 2,000,000 |
Table 3: Chignolin training windows. The 2–22 s reference is fixed across all four data budgets.
G.3 Autoencoder and latent representation
We train one independent autoencoder for each data budget and share that representation across all ten diffusion seeds at that budget. The encoder and decoder each have width 512 and four residual blocks. A block applies layer normalization followed by two linear layers with a SiLU activation and adds the result to the skip connection with a factor. The bottleneck has dimension 128.
With coordinates in their standardized units and distances in , let and denote the input and reconstructed Cartesian coordinates of atom in configuration , and let and be the corresponding coordinates after transforming back to . For a batch of configurations, the four loss terms are
and
Here, contains the 98 covalent heavy-atom bonds in the fixed molecular topology, while contains all pairwise distances among the ten atoms. The final term explicitly preserves NO1 and NO2, the two distances used to distinguish the folded and misfolded conformations. The complete objective is
Thus, the coordinate term controls overall reconstruction, the bond term preserves local molecular geometry, the term preserves the global backbone arrangement, and the NO term emphasizes reconstruction accuracy in the rare-state collective variables.
We use Adam, batch size 1024, gradient clipping at 1, and bfloat16 autocasting. The learning rate warms linearly to over 2000 updates and follows a cosine schedule with 100,000-update horizon and minimum multiplier 0.1. Training stops at the fixed 60,000-update endpoint; the common autoencoder seed is 2026090744. Across the four validation splits, the coordinate RMSD is 0.0406–0.0420 Å and the decoded-to-original misfolded-population ratio is 0.983–1.008.
After encoding every frame, each latent coordinate is standardized. Its mean and standard deviation are estimated from at most 200,000 evenly spaced frames in the corresponding training window. All posterior construction, diffusion training, and reverse sampling below occur in this standardized 128-dimensional latent space.
G.4 Probe allocation and synthetic posterior pairs
For each MD budget, the (NO1, NO2) plane of that training window is divided into a grid. If cell b contains frames, 10,000 distinct probe frames are allocated in proportion to ; integer remainders are assigned by largest fractional part. Sampling within cells is uniform without replacement.
We use the same linear VP schedule as Equation (14). Let be a standardized latent probe and . We draw a perturbed restraint center , where . For each , we sample 30 clean endpoints with replacement from the empirical version of the restrained distribution in Equation (5), taking and and assigning equal base mass to every latent frame. This produces 300,000 bridge pairs per data budget without additional MD. We evaluate and 0.35, for which equals and . A pair set is shared across the ten diffusion seeds at fixed data budget and .
G.5 Model training and inference
The denoiser is a time-conditioned residual MLP with width 1024, eight FiLM (Perez et al., 2018) residual blocks, and a 256-dimensional Fourier time embedding (Vaswani et al., 2017). It predicts VP noise in the standardized latent space. We use seeds 42–51, batch size 2048, Adam, EMA decay 0.99, gradient clipping at 1, and bfloat16 autocasting. The learning-rate schedule warms to over 2000 updates and then decays by the same cosine rule to 0.1 of its peak at 160,000 updates.
The baseline model is trained for 160,000 updates with diffusion time . Synthetic-pair RDB refinement copies the complete baseline model, EMA, optimizer, and random state at the 80,000-update checkpoint and performs 80,000 additional bridge updates with diffusion time . The optimizer and global learning-rate clock are not reset, and no equilibrium examples are mixed into these lower-time updates. The runs reuse the audited autoencoders and base trajectories from the experiment; exact baseline 80,000 and baseline 160,000 checkpoint state hashes are checked before reuse.
Every evaluation generates 100,000 configurations with the EMA parameters. Euler–Maruyama sampling uses one common 300-transition grid. Baseline model sampling uses baseline 160,000 from 1 to 0. Synthetic-pair RDB model sampling uses baseline 80,000 from 1 to and the RDB refined model from to 0. The same evaluation random stream is used for baseline and both synthetic-pair RDB model branches within each seed, yielding paired comparisons. Training curves evaluate every 10,000 updates; the smaller data budgets retain only the final 160,000-update evaluation.
G.6 Metrics and bridge-time sensitivity
The fixed 2–22 µs reference defines 100 interior bins along each NO coordinate, with endpoints at its and 0.9999 quantiles. Explicit underflow and overflow bins give a probability table. We compare the generated and reference tables using the base-2 JS distance in Equation (15). The expected finite-sample JS distance is 0.09822, estimated from 200 independent 100,000-sample resamples of the fixed 2–22 µs reference ensemble. Rare-state accuracy is the generated fraction . Figures and tables report the median over ten independently trained diffusion models; bands and error bars span the first and third quartiles.
(a)

(b)

Figure 7: Chignolin bridge-time comparison. Generated misfolded population versus (a) training iteration at a fixed 22 µs MD budget and (b) MD budget at 160,000 total updates. Curves and bars show medians over ten seeds; bands and error bars show interquartile ranges. The dashed line is the fixed reference population, 0.3747%, and the dotted line in (a) marks the 80,000 branch point.
(a)

(b)

Figure 8: Chignolin global fidelity. Two-dimensional NO JS distance versus (a) training iteration at a fixed 22 µs MD budget and (b) MD budget at 160,000 total updates, for both and 0.35. Curves and bars show medians over ten seeds; bands and error bars show interquartile ranges. Dashed lines indicate the expected finite-sample JS distance, 0.09822, estimated from 200 independent 100,000-sample resamples of the fixed 2–22 µs reference ensemble. The dotted line in (a) marks the 80,000 branch point.
| MD budget (µs) | Method | (%) | |relative error| (%) | 2D NO JS distance | |
|---|---|---|---|---|---|
| Median [Q1, Q3] | Median | [Q1, Q3] | |||
| 7 | Base | 0.2330 [0.2302, 0.2440] | 37.8 | 0.13290 | [0.13179, 0.13386] |
| Synthetic, | 0.3320 [0.3132, 0.3558] | 11.4 | 0.14217 | [0.14167, 0.14316] | |
| Synthetic, | 0.3010 [0.2833, 0.3145] | 19.7 | 0.13552 | [0.13453, 0.13655] | |
| 12 | Base | 0.3130 [0.2993, 0.3158] | 16.5 | 0.11184 | [0.11153, 0.11268] |
| Synthetic, | 0.3930 [0.3862, 0.3970] | 4.9 | 0.12443 | [0.12254, 0.12498] | |
| Synthetic, | 0.3580 [0.3448, 0.3628] | 4.5 | 0.11679 | [0.11591, 0.11726] | |
| 17 | Base | 0.3160 [0.3020, 0.3287] | 15.7 | 0.10946 | [0.10880, 0.10956] |
| Synthetic, | 0.3600 [0.3330, 0.3852] | 3.9 | 0.11842 | [0.11772, 0.11872] | |
| Synthetic, | 0.3420 [0.3365, 0.3615] | 8.7 | 0.11103 | [0.11016, 0.11268] | |
| 22 | Base | 0.3215 [0.3090, 0.3277] | 14.2 | 0.10875 | [0.10850, 0.10968] |
| Synthetic, | 0.3665 [0.3572, 0.3852] | 2.2 | 0.11673 | [0.11599, 0.11690] | |
| Synthetic, | 0.3595 [0.3382, 0.3732] | 4.1 | 0.11016 | [0.10981, 0.11129] | |
Table 4: Final Chignolin metrics at 160,000 total updates. Relative error is computed from each across-seed median and the fixed reference population 0.3747%.
Both bridge times improve the median misfolded population over the baseline model at every data budget, but their quantitative tradeoffs differ. is usually closer in rare-state population, while usually incurs a smaller increase in 2D NO JS distance. At 22 µs, for example, the absolute relative population error is 2.2% at and 4.1% at , whereas the median JS distances are 0.11673 and 0.11016. Both nearby choices consistently improve the rare-state estimate, so performance is not sharply sensitive over the tested range; however, we do not yet have a general strategy for choosing the optimal .