Papers
Topics
Authors
Recent
Search
2000 character limit reached

Generative Gibbs for Physics-Aware Sampling

Updated 5 July 2026
  • The paper introduces GG-PA, a training-free Gibbs sampling framework that composes pretrained diffusion priors with explicit physical context to recover complex target distributions.
  • It alternates between prior-conditioned denoising updates and context-aware physical updates, allowing modular handling of environmental and interaction variables.
  • Replica exchange across diffusion times enhances mixing efficiency, with theoretical guarantees of asymptotic exactness and finite-time precision in quadratic settings.

Generative Gibbs for Physics-Aware Sampling (GG-PA) is a training-free framework for composing pretrained diffusion priors with explicit physical context at inference time by performing Gibbs sampling over an augmented state space that contains both the full physical system and auxiliary prior variables. Rather than requiring a single generative model to represent the entire target ensemble, GG-PA keeps the physical state explicit, couples it to one or more learned partial priors through projection operators, and alternates between prior-conditioned denoising updates and context-aware physical updates. The method is formulated for scientific sampling problems in which the target distribution depends on environmental or interaction variables not represented in the prior, and it is asymptotically exact as the diffusion time approaches zero; in quadratic settings with linear-Gaussian forward kernels, it can remain exact at finite diffusion time (Wang et al., 11 May 2026).

1. Problem setting and augmented-state formulation

GG-PA is motivated by settings in which a pretrained diffusion model encodes only part of the degrees of freedom relevant to the target ensemble. The examples given include a protein backbone, a molecular fragment, or an isolated monomer, whereas the actual target distribution may also depend on solvent, ions, neighboring molecules, fields, or other environmental interactions. In such cases, expressing all additional information as a likelihood or energy over exactly the same variables as the prior can become awkward or intractable, especially when the context already exists as an explicit force field or simulator rather than as a tractable marginal model (Wang et al., 11 May 2026).

The framework therefore introduces an augmented state space

Z=S×i=1KXi,\mathcal{Z}=\mathcal{S}\times\prod_{i=1}^K \mathcal{X}_i,

where sS\mathbf{s}\in\mathcal{S} is the full-system state and xiXi\mathbf{x}_i\in\mathcal{X}_i are the variables associated with KK pretrained priors pi(xi)p_i(\mathbf{x}_i). Each prior is linked to the physical system through a projection Φi(s)\Phi_i(\mathbf{s}), so the priors need only cover projected components of the full state rather than the entire system (Wang et al., 11 May 2026).

At diffusion time tt, the joint target is

πt ⁣(s,{xi})qctx(s,t)  i=1K[pi(xi)qt(i) ⁣(Φi(s)xi)].\pi_t\!\left(\mathbf{s},\{\mathbf{x}_i\}\right) \propto q_{\mathrm{ctx}}(\mathbf{s},t)\; \prod_{i=1}^K \left[ p_i(\mathbf{x}_i)\, q_t^{(i)}\!\big(\Phi_i(\mathbf{s})\mid \mathbf{x}_i\big) \right].

Here qctx(s,t)q_{\mathrm{ctx}}(\mathbf{s},t) is the explicit context factor, typically a Boltzmann weight from a physical energy, and qt(i)q_t^{(i)} is the forward diffusion kernel for prior sS\mathbf{s}\in\mathcal{S}0. In the small-sS\mathbf{s}\in\mathcal{S}1 limit,

sS\mathbf{s}\in\mathcal{S}2

so that

sS\mathbf{s}\in\mathcal{S}3

This limiting marginal is the composed target distribution that GG-PA is designed to sample (Wang et al., 11 May 2026).

A central implication is that the method does not force the environmental degrees of freedom to be marginalized into an effective energy on the prior variables alone. This suggests a modular sampling architecture in which learned priors and explicit physical models remain separate objects coupled only through the augmented target.

2. Gibbs structure and alternating updates

GG-PA is implemented as alternating Gibbs updates on the augmented target. Conditioned on the physical state sS\mathbf{s}\in\mathcal{S}4, the prior variables update independently according to

sS\mathbf{s}\in\mathcal{S}5

The interpretation given is Bayesian denoising: sS\mathbf{s}\in\mathcal{S}6 is treated as a noisy observation at diffusion time sS\mathbf{s}\in\mathcal{S}7, and the conditional is the denoising posterior induced by the clean-data prior and the forward corruption kernel. In practice, the pretrained reverse diffusion sampler for prior sS\mathbf{s}\in\mathcal{S}8 is initialized at sS\mathbf{s}\in\mathcal{S}9, started from time xiXi\mathbf{x}_i\in\mathcal{X}_i0, and integrated backward to xiXi\mathbf{x}_i\in\mathcal{X}_i1 to produce xiXi\mathbf{x}_i\in\mathcal{X}_i2. These updates are parallel across xiXi\mathbf{x}_i\in\mathcal{X}_i3 (Wang et al., 11 May 2026).

Conditioned on the prior variables, the physical state is then updated from

xiXi\mathbf{x}_i\in\mathcal{X}_i4

Equivalently, the update is governed by the effective potential

xiXi\mathbf{x}_i\in\mathcal{X}_i5

This context-aware aggregation step can be exact in tractable families, especially Gaussian or linear-Gaussian settings, and otherwise can be performed with Metropolis-Hastings or Langevin/MCMC (Wang et al., 11 May 2026).

The operational pattern is therefore a two-stage alternation: denoise under the learned priors, then update the full explicit system under the physical context plus soft coupling terms induced by the diffusion kernels. The paper presents this as distinct from ordinary diffusion guidance, because the state being updated in the context step is the full physical system xiXi\mathbf{x}_i\in\mathcal{X}_i6, not merely the prior variable space (Wang et al., 11 May 2026).

3. Exactness results and finite-xiXi\mathbf{x}_i\in\mathcal{X}_i7 Gaussian theory

The principal theoretical claim is asymptotic exactness as xiXi\mathbf{x}_i\in\mathcal{X}_i8. For decomposable systems in which the true energy separates into component energies xiXi\mathbf{x}_i\in\mathcal{X}_i9, environment energy KK0, and interaction terms KK1, the paper assumes exact isolated-component priors

KK2

with KK3, and a context factor

KK4

Under these assumptions, the KK5 marginal recovers the true physical Boltzmann distribution exactly: KK6 The derivation follows immediately from the delta-function limit of the forward diffusion kernels (Wang et al., 11 May 2026).

A stronger result is available at finite diffusion time for quadratic interactions with linear-Gaussian forward kernels. The assumptions are that, conditional on the environment, the interaction energy is Gaussian in the system variables,

KK7

that the stacked forward kernels are linear-Gaussian,

KK8

and that the finite-KK9 interaction context is chosen Gaussian,

pi(xi)p_i(\mathbf{x}_i)0

Then exact finite-pi(xi)p_i(\mathbf{x}_i)1 recovery occurs iff

pi(xi)p_i(\mathbf{x}_i)2

The admissibility condition is

pi(xi)p_i(\mathbf{x}_i)3

which defines a maximal diffusion time pi(xi)p_i(\mathbf{x}_i)4 beyond which the deconvolved covariance becomes invalid (Wang et al., 11 May 2026).

The paper also notes a split-Gibbs consequence for linear inverse problems: the corrected covariance should be

pi(xi)p_i(\mathbf{x}_i)5

rather than the naive pi(xi)p_i(\mathbf{x}_i)6. This removes the finite-pi(xi)p_i(\mathbf{x}_i)7 covariance inflation that standard split Gibbs incurs (Wang et al., 11 May 2026).

A common misconception is that GG-PA is exact at arbitrary finite diffusion time. The paper explicitly limits finite-pi(xi)p_i(\mathbf{x}_i)8 exactness to quadratic or linear-Gaussian structure; outside that regime, exactness is only asymptotic as pi(xi)p_i(\mathbf{x}_i)9 (Wang et al., 11 May 2026).

4. Diffusion-time replica exchange and mixing considerations

Because small diffusion time yields faithful but stiff targets, whereas larger diffusion time weakens prior consistency while often improving exploration, GG-PA introduces replica exchange over diffusion time. The method runs Φi(s)\Phi_i(\mathbf{s})0 replicas at

Φi(s)\Phi_i(\mathbf{s})1

with each replica carrying Φi(s)\Phi_i(\mathbf{s})2, and proposes swaps between neighboring times (Wang et al., 11 May 2026).

The Metropolis-Hastings acceptance ratio is derived directly from the joint target. In schematic form,

Φi(s)\Phi_i(\mathbf{s})3

An important practical feature is that the unknown prior densities Φi(s)\Phi_i(\mathbf{s})4 cancel exactly. For a constant context schedule Φi(s)\Phi_i(\mathbf{s})5, the context terms cancel as well, so the swap test depends only on known diffusion kernels (Wang et al., 11 May 2026).

The intended interpretation is tempering along a diffusion-time axis: high-noise replicas cross barriers more easily, and successful swaps transfer those exploratory moves to low-noise replicas. The paper further describes MBAR reweighting using reduced potentials

Φi(s)\Phi_i(\mathbf{s})6

with prior terms omitted because they are replica-independent (Wang et al., 11 May 2026).

This establishes a fidelity–mixing trade-off as a central organizing principle of the method. A plausible implication is that practical performance depends not only on the prior quality and the context model, but also on the diffusion-time ladder and the efficiency of exchanging information across replicas.

5. Relation to adjacent physics-aware generative samplers

GG-PA belongs to a broader family of physics-aware generative sampling methods, but its structure differs from both local learned Gibbs schemes and reversibility-based global samplers.

The most direct distinction from standard diffusion posterior sampling, classifier guidance, and score composition is structural: those methods typically assume that all additional information can be expressed as a likelihood or energy on the same variable space as the diffusion prior, whereas GG-PA keeps an explicit full-system state Φi(s)\Phi_i(\mathbf{s})7 and couples it to priors only through projections Φi(s)\Phi_i(\mathbf{s})8 (Wang et al., 11 May 2026). This avoids marginalizing unmodeled environmental variables into an effective energy over the prior coordinates alone.

The method is algorithmically close to plug-and-play and split Gibbs approaches because it alternates between a prior-driven update and a context-driven update. The paper emphasizes, however, that the augmented pair Φi(s)\Phi_i(\mathbf{s})9 is not merely a numerical splitting device but the actual composition space of inference (Wang et al., 11 May 2026).

In relation to learned Gibbs or heatbath samplers, PBMG provides a different form of physics-aware composition. PBMG learns local conditional proposal distributions tt0 and inserts them into Metropolis-within-Gibbs updates over checkerboard blocks in lattice models. It does not model the full joint lattice distribution directly; instead, it learns one-site conditionals from the analytic local action, without requiring target samples, and uses Metropolis correction to preserve exactness. PBMG is demonstrated on the XY and tt1 models, with average acceptance about tt2 for the XY setup and about tt3 for the tt4 setup (Faraz et al., 2023). The conceptual overlap is that both PBMG and GG-PA are physics-aware Gibbs-type samplers, but PBMG learns local proposals inside a lattice update schedule, whereas GG-PA composes pretrained partial priors with an explicit full-system context in an augmented diffusion-coupled state space.

RevGen, by contrast, replaces score matching and variational objectives with a reversibility constraint on Markov trajectories. It trains a generator tt5 by minimizing the MMD between forward and time-reversed trajectory-pair distributions under a fixed physical transition kernel such as Metropolis-Hastings. The objective is target-gradient-free and uses only energy evaluations through acceptance ratios, with support for continuous, discrete, and hybrid spaces (Li et al., 10 Mar 2026). A plausible interpretation is that RevGen and GG-PA address complementary aspects of physics-aware generative sampling: RevGen learns a generator whose outputs satisfy equilibrium reversibility constraints, whereas GG-PA performs training-free inference by coupling pretrained priors and explicit context through Gibbs updates.

6. Empirical demonstrations, scope, and limitations

The experiments reported for GG-PA cover a coupled double-well system, a 2D tt6 lattice model, and atomistic alanine dipeptide systems (Wang et al., 11 May 2026).

For the coupled double-well system,

tt7

the prior is trained only on the isolated symmetric double well, and the environment is introduced only at sampling time. GG-PA recovers the environment-induced asymmetry in the marginal of tt8 and the correct shifted ensemble despite the symmetric prior. The study reports JS divergence versus diffusion time, the integrated autocorrelation time of the basin indicator tt9, and a finite theoretical bound πt ⁣(s,{xi})qctx(s,t)  i=1K[pi(xi)qt(i) ⁣(Φi(s)xi)].\pi_t\!\left(\mathbf{s},\{\mathbf{x}_i\}\right) \propto q_{\mathrm{ctx}}(\mathbf{s},t)\; \prod_{i=1}^K \left[ p_i(\mathbf{x}_i)\, q_t^{(i)}\!\big(\Phi_i(\mathbf{s})\mid \mathbf{x}_i\big) \right].0. Below πt ⁣(s,{xi})qctx(s,t)  i=1K[pi(xi)qt(i) ⁣(Φi(s)xi)].\pi_t\!\left(\mathbf{s},\{\mathbf{x}_i\}\right) \propto q_{\mathrm{ctx}}(\mathbf{s},t)\; \prod_{i=1}^K \left[ p_i(\mathbf{x}_i)\, q_t^{(i)}\!\big(\Phi_i(\mathbf{s})\mid \mathbf{x}_i\big) \right].1, fixed-πt ⁣(s,{xi})qctx(s,t)  i=1K[pi(xi)qt(i) ⁣(Φi(s)xi)].\pi_t\!\left(\mathbf{s},\{\mathbf{x}_i\}\right) \propto q_{\mathrm{ctx}}(\mathbf{s},t)\; \prod_{i=1}^K \left[ p_i(\mathbf{x}_i)\, q_t^{(i)}\!\big(\Phi_i(\mathbf{s})\mid \mathbf{x}_i\big) \right].2 GG-PA and GG-PA-RE match the target well; above πt ⁣(s,{xi})qctx(s,t)  i=1K[pi(xi)qt(i) ⁣(Φi(s)xi)].\pi_t\!\left(\mathbf{s},\{\mathbf{x}_i\}\right) \propto q_{\mathrm{ctx}}(\mathbf{s},t)\; \prod_{i=1}^K \left[ p_i(\mathbf{x}_i)\, q_t^{(i)}\!\big(\Phi_i(\mathbf{s})\mid \mathbf{x}_i\big) \right].3, errors rise as predicted; replica exchange substantially reduces autocorrelation and can sometimes outperform MD in decorrelation (Wang et al., 11 May 2026).

For the 2D Ginzburg-Landau πt ⁣(s,{xi})qctx(s,t)  i=1K[pi(xi)qt(i) ⁣(Φi(s)xi)].\pi_t\!\left(\mathbf{s},\{\mathbf{x}_i\}\right) \propto q_{\mathrm{ctx}}(\mathbf{s},t)\; \prod_{i=1}^K \left[ p_i(\mathbf{x}_i)\, q_t^{(i)}\!\big(\Phi_i(\mathbf{s})\mid \mathbf{x}_i\big) \right].4 lattice model,

πt ⁣(s,{xi})qctx(s,t)  i=1K[pi(xi)qt(i) ⁣(Φi(s)xi)].\pi_t\!\left(\mathbf{s},\{\mathbf{x}_i\}\right) \propto q_{\mathrm{ctx}}(\mathbf{s},t)\; \prod_{i=1}^K \left[ p_i(\mathbf{x}_i)\, q_t^{(i)}\!\big(\Phi_i(\mathbf{s})\mid \mathbf{x}_i\big) \right].5

the diffusion prior is trained only on the local on-site double-well factor, while the explicit quadratic coupling is added at inference time. GG-PA recovers the spontaneous symmetry breaking phase transition, the magnetization curve, the susceptibility peak near πt ⁣(s,{xi})qctx(s,t)  i=1K[pi(xi)qt(i) ⁣(Φi(s)xi)].\pi_t\!\left(\mathbf{s},\{\mathbf{x}_i\}\right) \propto q_{\mathrm{ctx}}(\mathbf{s},t)\; \prod_{i=1}^K \left[ p_i(\mathbf{x}_i)\, q_t^{(i)}\!\big(\Phi_i(\mathbf{s})\mid \mathbf{x}_i\big) \right].6, critical scaling, and universal data collapse in finite field. The reported observables include the order parameter πt ⁣(s,{xi})qctx(s,t)  i=1K[pi(xi)qt(i) ⁣(Φi(s)xi)].\pi_t\!\left(\mathbf{s},\{\mathbf{x}_i\}\right) \propto q_{\mathrm{ctx}}(\mathbf{s},t)\; \prod_{i=1}^K \left[ p_i(\mathbf{x}_i)\, q_t^{(i)}\!\big(\Phi_i(\mathbf{s})\mid \mathbf{x}_i\big) \right].7, susceptibility πt ⁣(s,{xi})qctx(s,t)  i=1K[pi(xi)qt(i) ⁣(Φi(s)xi)].\pi_t\!\left(\mathbf{s},\{\mathbf{x}_i\}\right) \propto q_{\mathrm{ctx}}(\mathbf{s},t)\; \prod_{i=1}^K \left[ p_i(\mathbf{x}_i)\, q_t^{(i)}\!\big(\Phi_i(\mathbf{s})\mid \mathbf{x}_i\big) \right].8, and integrated autocorrelation time πt ⁣(s,{xi})qctx(s,t)  i=1K[pi(xi)qt(i) ⁣(Φi(s)xi)].\pi_t\!\left(\mathbf{s},\{\mathbf{x}_i\}\right) \propto q_{\mathrm{ctx}}(\mathbf{s},t)\; \prod_{i=1}^K \left[ p_i(\mathbf{x}_i)\, q_t^{(i)}\!\big(\Phi_i(\mathbf{s})\mid \mathbf{x}_i\big) \right].9. GG-PA tracks checkerboard Metropolis MC across the phase diagram, and replica exchange sharply lowers autocorrelation near criticality, with order-of-magnitude gains (Wang et al., 11 May 2026).

For atomistic alanine dipeptide systems, the method is tested outside the quadratic regime. In the AD–Naqctx(s,t)q_{\mathrm{ctx}}(\mathbf{s},t)0 example, a diffusion prior is trained only on isolated alanine dipeptide backbone torsions qctx(s,t)q_{\mathrm{ctx}}(\mathbf{s},t)1, while the full atomistic system and ion context are explicit. GG-PA captures the ion-coordination-induced distribution shift and reproduces the O–O distance distribution near quantitatively. A data-efficiency study reports that GG-PA reaches low JS divergence with far less target-coupled training data than a direct diffusion model (Wang et al., 11 May 2026).

In the alanine dipeptide dimer example, two monomer priors are composed to model dimerization and hydrogen-bond-mediated topology selection. GG-PA-RE qualitatively recovers symmetry-broken organization: anti-parallel dimers favor qctx(s,t)q_{\mathrm{ctx}}(\mathbf{s},t)2, whereas parallel dimers favor qctx(s,t)q_{\mathrm{ctx}}(\mathbf{s},t)3 and qctx(s,t)q_{\mathrm{ctx}}(\mathbf{s},t)4. The method also produces more off-basin or residual states than MD, indicating approximation error. The paper reports a residual unassigned category qctx(s,t)q_{\mathrm{ctx}}(\mathbf{s},t)5, interpreting it as a coarse-graining artifact plus some rare or off-basin motifs. For sampled observables, autocorrelation times are massively reduced relative to MD, often from thousands of ps down to order qctx(s,t)q_{\mathrm{ctx}}(\mathbf{s},t)6 ps or less (Wang et al., 11 May 2026).

The reported limitations are explicit. Finite-qctx(s,t)q_{\mathrm{ctx}}(\mathbf{s},t)7 exactness is confined to quadratic or linear-Gaussian structure; outside that regime, finite-qctx(s,t)q_{\mathrm{ctx}}(\mathbf{s},t)8 sampling is approximate. There is a fidelity–mixing trade-off between small and large diffusion times. The covariance admissibility bound

qctx(s,t)q_{\mathrm{ctx}}(\mathbf{s},t)9

imposes a noise ceiling. Mixing can remain difficult in stiff systems, and replica exchange increases computational cost because it requires multiple replicas. Performance depends on prior fidelity, overlap between prior and context, projection design, and avoidance of double counting of interactions. The paper identifies annealed context schedules, more efficient tempering, multiscale decompositions, and explicit force-field contexts as future directions (Wang et al., 11 May 2026).

Taken together, these results define GG-PA as a probabilistic composition framework for partial pretrained priors and explicit physics, rather than as a monolithic conditional diffusion model. Its core contribution is the replacement of end-to-end retraining with augmented-space Gibbs inference, supported by asymptotic exactness, a finite-qt(i)q_t^{(i)}0 Gaussian exactness condition, and diffusion-time replica exchange for practical sampling in stiff systems (Wang et al., 11 May 2026).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Generative Gibbs for Physics-Aware Sampling (GG-PA).