potentialpaper

Composing Diffusion Priors with Explicit Physical Context via Generative Gibbs Sampling

Weizhou Wang, Jonathan Weare, Aaron Dinner

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We compose partial diffusion priors with explicit physical context at inference time via Gibbs sampling, provably exactly for quadratic interactions, enabling emergent collective behavior from isolated-component priors without retraining.

Abstract. Pretrained diffusion models provide powerful learned priors, but in scientific sampling the target distribution often depends on physical context that a single generative model can neither fully represent nor learn from scarce joint-system data. We introduce Generative Gibbs for Physics-Aware Sampling (GG-PA), a training-free framework that composes learned partial priors with explicit physical context through Gibbs sampling. We prove that this sampler is asymptotically exact as the diffusion time vanishes and remains exact at finite diffusion time for quadratic interactions. As a special case, the finite-time result corrects a finite-noise bias in plug-and-play split Gibbs samplers for linear inverse problems at no additional cost. We further introduce replica exchange over diffusion time to accelerate mixing. In experiments, a one-dimensional double-well prior recovers a context-induced distribution shift when coupled to an environment, and copies of such a prior composed on a lattice reproduce the emergent collective behavior of the ϕ4\phi^4 model. In atomistic peptide systems, GG-PA captures a context-induced distribution shift and the spontaneous formation of hydrogen-bonded dimers from two copies of a prior trained only on the monomer.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:46 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The reviewers found the paper interesting and well written. All reviewers initially raised concerns that the experiments are simple, and furthermore, that for the simple cases classical baselines are missing. The authors successfully addressed these concerns in the rebuttal and the reviewers agree that the paper presents a solid contribution. The authors should make sure to address the reviewer comments and integrate the additions from the discussion phase when revising the paper.

Final justification

See above.

Area Chair e5aP · Meta-reviewOpenReview ↗
Final justification
See above.
Read meta-review
Meta-review

The reviewers found the paper interesting and well written. All reviewers initially raised concerns that the experiments are simple, and furthermore, that for the simple cases classical baselines are missing. The authors successfully addressed these concerns in the rebuttal and the reviewers agree that the paper presents a solid contribution. The authors should make sure to address the reviewer comments and integrate the additions from the discussion phase when revising the paper.

1 comment
Authors · CommentOpenReview ↗

Consolidated response to the meta-review

We thank the AC for the meta-review. We summarize here where each of the three points is addressed.

Usefulness. The method targets systems where component-level priors exist, joint-system data is scarce or absent, and the coupling is known in closed form. This is common in scientific computing, from the sampling of biomolecular complexes to quantum statistics. In those cases the composition is not a cheaper alternative to retraining but the only available route. (Reviewer 74hp Q1; Reviewer SY3J W2/W3)

The same structure covers the general linear inverse problem, which is the single-prior, linear-Gaussian case. There we show that the splitting covariance used by current split Gibbs and PnP samplers inflates the effective measurement covariance, so their target is biased at any finite splitting noise, and we give the correction that removes it at no additional cost. This also removes a trade-off: the uncorrected sampler is exact only in the limit that makes it mix slowest, whereas after matching the splitting noise can be chosen for mixing alone. (Reviewer SY3J W1/W4; App. A.5, C.1)

Merits for high-dimensional diffusion priors. We agree this is central, since it is how we motivate the method. With a single prior and a linear-Gaussian context, GG-PA is the split Gibbs sampler already deployed at full image dimension, at identical per-sweep cost, so its scalability is inherited rather than assumed. With multiple priors, we have since composed 32 copies of a 1,944-dimensional liquid-water prior into a 62,208-dimensional target matching the reference path-integral distribution. (Reviewer SY3J W2/W3; Reviewer 74hp W1)

Simple experiments and missing classical baselines. Classical baselines are present throughout: Metropolis Monte Carlo for the ϕ4\phi^4 model, MD for the coupled double well and the alanine systems, and path-integral MD for the liquid-water composition. They verify correctness rather than competitiveness, since they require the complete target Hamiltonian, which is the input GG-PA does not need. The methods that do share our input, score composition and split Gibbs, differ from ours in exactness at finite noise. On the size of the systems, we state the dimension of each explicitly, from the alanine dimer at 132 to the additioanl liquid-water composition at 62,208. (Reviewer SY3J W5 and W1/W4; Reviewer ZK3c Q; Reviewer 74hp W1)

Reviewer SY3J has since confirmed that their questions and concerns were addressed. We are glad to answer any further questions.

Reviewer ZK3cOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

A sampling algorithm is presented that is based on diffusion models for subsystem-priors. The interactions of the subsystems within the total system are considered as context during inference and implemented via a Gibbs sampling scheme. The algorithm is exact for quadratic interactions and can lead to satisfactory results also for systems with higher order interactions.

Strengths and weaknesses

This is a very interesting approach to generating complex system states under varying environmental conditions. As the authors admit, the quadratic interaction restriction is quite severe. They demonstrate that satisfactory results can be achieved even when this constraint is violated. However, more testing will be required for a full assessment of the usefulness of this approach. For the non-trivial case studies, phi^4 and the AD model, a comparison with traditional sampling approaches would be helpful.

Questions

For the phi^4 model, what are the benefits of the presented algorithm over traditional sampling/parallel tempering methods? For the AD system, what are the benefits of the presented algorithm over MD / replica exchange methods?

Limitations

yes

Final justification

I thank the authors for addressing my concerns, and I’m looking forward to reading the revised version. I keep my current positive score.

Formatting concerns

none

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Response to Reviewer ZK3c

We thank the reviewer for the careful reading and positive assessment.

We use the same application classification scheme as in our other replies: (A) single prior with a linear-Gaussian context; (B) multiple priors with quadratic interactions, exact at finite diffusion time (Prop. 2); (C) multiple priors with non-quadratic interactions, asymptotically exact as t→0t \to 0.

W1. Severity of the quadratic-interaction restriction.

The restriction is real, but there are broad applications in physics, and we will revise Sec. 3.3 to make this clearer. It contains every linear-Gaussian likelihood, hence all linear inverse problems (class A; Remark 1); harmonic and elastic couplings, restraints and constraints; Gaussian field couplings, including the intersite gradient term of ϕ4\phi^4 (Sec. 4.2); harmonic-bath couplings of Caldeira-Leggett type [1]; and imaginary-time path measures of quantum statistical mechanics [2].

The last deserves emphasis. Since submission we have applied the framework to imaginary-time path integrals, where the discretized action splits exactly into a term quadratic in the bead coordinates and a residual term factorizing into independent single-bead classical Boltzmann factors. The quadratic term carries the quantum context in closed form, so a prior trained once on classical statistics composes with the analytic action to sample the quantum ensemble, transferring across all quantum contexts without retraining. More details are in our reply to Reviewer SY3J (W2/W3).

Q. Benefits over traditional sampling for ϕ4\phi^4, and over MD or replica exchange for the AD system.

In both cases the traditional methods require the energy function of the full target system, whereas GG-PA requires only a prior trained on each subsystem plus the interaction between them.

ϕ4\phi^4: We chose this system not as a replacement for traditional sampling but to demonstrate the exactness of our method at finite diffusion time against a fully known reference. The benefit becomes pronounced as the on-site potential becomes more costly to evaluate: traditional Monte Carlo pays that evaluation at every step, whereas in GG-PA the on-site term is absorbed into the prior and is never evaluated during sampling, so the inference cost per sweep is essentially fixed and set by the denoiser rather than by the complexity of the on-site energy. That cost is not removed but paid once at training and then amortized, and the amortization is what makes GG-PA favorable in practice: no retraining is required when the coupling coefficient JJ changes, so a single prior serves the entire scan in Fig. 2. On mixing, GG-PA-RE reduces the integrated autocorrelation time near JcJ_c by orders of magnitude relative to the local Monte Carlo reference (Fig. 2f). We note that this reference is local Metropolis rather than parallel tempering, and that for models with special structure specialised algorithms can be highly efficient, whereas our claim concerns the general composition setting.

AD system: This example was chosen to show that collective behavior can emerge from composing priors with the interaction between them. The current baseline here is MD, and as shown in Fig. S7 GG-PA-RE populates basins that the MD reference does not reach, which we attribute to the high barriers separating them. Because the prior already encodes global information about the monomer configurations, composition with the explicit interaction can place the system into the relevant basins rather than requiring it to cross those barriers dynamically. This is reflected in the integrated autocorrelation times of Fig. S8: the MD reference decorrelates on τint(qtopo)∼1200\tau_{\mathrm{int}}(q_{\mathrm{topo}})\sim 1200 ps and τint(qSB)∼3500\tau_{\mathrm{int}}(q_{\mathrm{SB}})\sim 3500 ps, whereas fixed-tt GG-PA decorrelates on ∼1\sim 1–22 ps and GG-PA-RE on sub-ps to ∼1\sim 1 ps of nominal sweep time. We expect this advantage to grow for larger biomolecular systems (see response to Reviewer 74hp (Q1)).

Compared to replica-exchange MD [3], GG-PA-RE can be regarded as a special kind of Hamiltonian replica exchange [4] (App. C.2.2). In principle the noise in the diffusion prior smooths the energy barriers and helps the transition between basins; in this sense, it is similar to traditional replica exchange in MD. However, we agree that a more practical comparison of efficiency and cost between GG-PA-RE and replica-exchange MD is needed, and we will pursue this in future testing.

If you have any more questions, we are happy to discuss them and will do our best to address them!

[1] Caldeira et al. Quantum tunnelling in a dissipative system. Annals of Physics, 1983.

[2] Chandler et al. Exploiting the isomorphism between quantum theory and classical statistical mechanics of polyatomic fluids. J. Chem. Phys., 1981.

[3] Sugita et al. Replica-exchange molecular dynamics method for protein folding. Chem. Phys. Lett., 1999.

[4] Fukunishi et al. On the Hamiltonian replica exchange method for efficient sampling of biomolecular systems. J. Chem. Phys., 2002.

Reviewer 74hpOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper introduces an approach to for inference time steering of diffusion priors. Their main contribution is that they can combine different partial priors and physical context and use them for sampling from a desired distribution. The authors validate their approach on three different physical systems.

Strengths and weaknesses

Strengths

  • The idea of combining physical priors in this way is novel, at least to my knowledge.
  • Appearance and writing of the paper and the motvivation is clear.
  • Overall the paper is well structured and easy to follow.

Weaknesses

  • Although the experiments validate their approach, all of the conducted experiments are very simple systems.
  • The authors discuss this (line 278-279), but coupled priors can lead to undesired effects, this could maybe limit the general applicability of their approach
Questions

Overall this is a solid contribution and I really appreciate the contribution, if the authors can comment on my questions I will raise my score.

  • Can the authors give an outlook where their approach is really applicable for larger systems. Which systems have multiple pre-trained priors that this approachs can avoid training a model directly on the data?
  • I think the inference time can increase if many priors are combined and these priors are also some neuronal networks.
  • The paper claims, that they can combine multiple priors, I think they can be very inhomogenous if not choosen with care, e.g. for MD the simulation depend on many different parameters (e.g. implicity/explicit solvent, different force field paramterizations). Priors can maybe also contradict, so high density regions of one prior is maybe a low density region of another. Can the author comment on that.
  • In line 278-279, the authors write "attribute the errors to three factors .... (2) double counting of interactions from", does that imply that for your approach the priors have to be independent overall?
Limitations

Yes

Final justification

In response to the authors I raise my score, the authors responded to my rasied concerns. Also other reviewers had similar concerns regarding the overlap/contradiction of different priros, which can lead to undesired effects, but the authors argue that they can quantify disagreement which is very important to interpret their generated samples.

Formatting concerns

No

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Response to Reviewer 74hp

We thank the reviewer for the positive assessment and for stating clearly what would change the score.

We use the same application classification scheme as in our reply to Reviewer SY3J (W2/W3): (A) single prior with a linear-Gaussian context, i.e. linear inverse problems, where PnP split Gibbs is the direct baseline; (B) multiple priors with quadratic interactions, exact at finite diffusion time (Prop. 2); (C) multiple priors with non-quadratic interactions, approximate at finite tt.

Q1. Motivation for the method and its significance.

The approach is for systems where component-level data or models exist but joint-system data does not, and where the coupling is known in closed form. This appears in several situations.

  • Biomolecular complexes. Models for single chains, domains, and fragments are abundant, whereas data on specific complexes (e.g., protein-DNA or protein-protein assembly under a given ionic condition) is often scarce or absent [1], so an end-to-end joint model is not merely expensive but infeasible. The gap is wider for our setting, since what we require is not a structure but a Boltzmann ensemble of the complex, which is generally not available at the scale needed for training even where a structure is [2]. The intermolecular interaction, meanwhile, is well described by existing force fields. Our AD dimer (Fig. 3) consists of two copies of an isolated-monomer prior composed through explicit intermolecular physics, and the collective behavior emerges from the composition. It is a reproducible illustration that immediately generalizes to larger biomolecular systems with pretrained priors.
  • Quantum statistics via imaginary-time path integrals. The components are ring-polymer beads carrying classical statistics, coupled by a quadratic action that carries the quantum context [3,4]. Path-integral MD must be rerun from scratch for each quantum context depicted by that quadratic action; here one classical denoiser transfers across all of them without retraining. This is an example in class B, so Prop. 2 enables the exact composition.
  • Linear inverse problems. Patch or region priors under a known measurement likelihood. This is class A (Remark 1; App. A.5).

The motivation for the method is that end-to-end models are generally not available for arbitrary joint systems and, even if they are available, are non-transferable, whereas component models can be trained once and reused, amortized over every context in which that component appears. Fig. S4(d) illustrates this point quantitatively: GG-PA reaches near-minimal divergence from the ion-coupled reference with very little target-coupled data, whereas a directly trained model needs nearly all of it.

Another motivation is exactness at finite diffusion time for quadratic interactions (Prop. 2), which matters in scientific settings where systematic biases do not average away. This is crucial for systems like the ϕ4\phi^4 model near the critical point and the quantum statistics we state above.

W1. Simplicity of the systems studied.

For class A, the algorithm is the split Gibbs sampler already deployed at full image dimension with pretrained priors, at identical per-sweep cost, so scalability is inherited (Remark 1). For class B, we have now applied the framework to imaginary-time path integrals: for liquid water with 216 molecules each prior acts on a full 1,944-dimensional configuration and P=32P=32 copies are coupled into a 62,208-dimensional target matching the path-integral reference. A fuller account is in our reply to Reviewer SY3J (W2/W3). For class C the AD dimer example is indeed only 44 atoms x 3 Cartesian variables / atom = 132 dimensional, but the approach should generalize to biomolecules treatable by molecular dynamics simulations (routinely 105−10610^5-10^6 dimensions today) as discussed immediately above (Q1).

Q2. Inference time with many priors.

The inference time is nominally linear in KK, but in practice the scaling is much more favorable. The KK updates are conditionally independent given ss and run in parallel (Alg. 1, line 3). So the wall-clock time is the same as for one prior given enough GPUs. When the priors are copies of one model such as ϕ4\phi^4 or the AD dimer, the KK updates are batched into a single forward pass. Also, we integrate only from the production diffusion time down to zero rather than from t=1t=1, so at t=0.1t=0.1 only a small fraction of the discretization is traversed. Concretely, an AD dimer trajectory (5,000 sweeps, each 100 restrained-MD steps plus reverse diffusion for both monomers) takes about 15 min on one RTX 5080, and ϕ4\phi^4 composes 1,024 copies at about 2 min per production point (App. B.1.2).

Q3/4 and W2. Inhomogeneous or contradictory priors.

The joint target stays well defined for any priors, projections, and aggregation. Eq. (1) is a product, so inconsistent priors will concentrate probability on a low-mass region of agreement, giving poor mixing and a large residual restraint energy rather than silent corruption. As the reply to Reviewer SY3J (W6) explains, the non-overlap requirement is only for the interpretation of that target as a Boltzmann distribution of a specified energy. This also means the priors do not need to be independent. We should be clear that well-defined is not the same as the distribution one wanted.

This gives a runtime diagnostic: ⟨−log⁡qt(Φi(s)∣xi)⟩\langle -\log q_t(\Phi_i(s)\mid x_i)\rangle measures prior ii's disagreement with the current state, is already computed in the aggregation step, and identifies which component is inconsistent. The diffusion time also acts as a tolerance parameter: small tt enforces consistency with the priors, larger tt relaxes it (Sec. 3.4; Fig. 1c).

In practice the requirement is that priors and context be defined at consistent thermodynamic state points. In our AD system, the prior is trained on the isolated monomer in vacuum at 300 K and the context uses the same temperature and force field (App. B.4). Composing an implicit-solvent prior with an explicit-solvent context would indeed be inconsistent in the interpretation of the target ensemble, and we will state this as a condition of use.

If you have any more questions, we are happy to discuss them and will do our best to address them!

[1]Laine et al. Navigating protein–nucleic acid sequence-structure landscapes with deep learning. Current Opinion in Structural Biology, 2025

[2]Sledzieski & Hanson. The landscape of machine learning approaches for modeling protein conformational ensembles. Current Opinion in Structural Biology, 2026

[3] Chandler et al. Exploiting the isomorphism between quantum theory and classical statistical mechanics of polyatomic fluids. J. Chem. Phys., 1981.

[4] Markland et al. Nuclear quantum effects enter the mainstream. Nature Reviews Chemistry, 2018.

Reviewer SY3JOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors propose a method for composing diffusion-based priors at test time based on a Gibbs sampling approach. The method is based on an explicit full system state, which is weighted by a context factor, and then coupled with priors through specific projections. The authors introduce a diffusion-time replica-exchange method that improves the mixing of the priors.

Strengths and weaknesses

Strengths

  1. The article is well-written and clear. The approach is original compared to competing approaches, and the authors have focused on showing how independent priors can be effectively combined to yield collective behaviour.

Weaknesses

  1. The proposed approach has close links to the products-of-experts (PoE) approach. It would be helpful to include a discussion of this approach. Could the approach be interpreted as a PoE (or also score composition) approach, and how would the GG-PA method be compared against existing PoE approaches?

  2. The method explicitly works with diffusion-based priors. These models are known to be powerful priors in high-dimensional settings. However, the experiments focus on low-dimensional prior settings. It is hard to understand the motivation for using diffusion-based priors in these settings.

  3. Have the authors considered a numerical experiment in a higher-dimensional setting where diffusion-based priors would be more appropriate?

  4. It would be useful to add a comparison of the proposed method with the plug-and-play type of approaches based on Gibbs sampling mentioned in the article.

  5. The comparison methods in the numerical experiments are with basic reference methods. Could the authors consider comparing their approach to other methods for inference-time conditioning and composition for diffusion priors?

  6. The theoretical guarantees rely on the assumption of (non-overlapping) decomposable systems and isolated priors, which is restrictive in practical settings and reduces the usefulness of the approach. Could the authors comment on this restriction in practical settings?

Questions
  1. In image inverse problems with a known likelihood and multiple diffusion-model priors, how exactly should UenvU_{\mathrm{env}}, UintU_{\mathrm{int}}, and the prior energy terms be defined? Does the method require more assumptions when the projections Φi\Phi_i overlap?

  2. Can the method scale when each pip_i is genuinely high-dimensional?

  3. How many Gibbs sampling steps are required for convergence? How is convergence assured in practice?

Limitations

Partially, see weaknesses and questions.

Final justification

The authors have addressed my concerns about the method in the rebuttal response.

Formatting concerns

No formatting concerns

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Response to Reviewer SY3J

We thank the reviewer for the careful review.

W1/W4. Relation to products of experts, plug-and-play, and Gibbs sampling

The clean target is indeed a PoE over projections of a shared state [1], combined with an explicit non-learned factor (Eq. 2). Our contribution is the sampler. The target is reached exactly at finite diffusion time when the interaction is quadratic (Prop. 2).

The augmented target (Eq. 1) couples the full-system state ss to the clean prior variables {xi}\{x_i\}, $πt(s,x1:K)∝πctx(s)∏ipi(xi)qt(Φi(s)∣xi),\pi_t(s, x_{1:K}) \propto \pi_{\mathrm{ctx}}(s) \prod_i p_i(x_i) q_t(\Phi_i(s) \mid x_i),$ and the object of interest is the marginal in the clean variables, obtained by integrating out ss:

πt(x1:K)∝∏ipi(xi)∫πctx(s)∏iqt(Φi(s)∣xi)ds.\pi_t(x_{1:K}) \propto \prod_i p_i(x_i) \int \pi_{\mathrm{ctx}}(s) \prod_i q_t(\Phi_i(s) \mid x_i) ds.

This is therefore a PoE with an interaction term that is a convolution of the context with the diffusion kernels. Note that the learned priors enter this marginal exactly and unsmoothed. The only object distorted in the convolution is πctx\pi_{\mathrm{ctx}}.

The linear-inverse case is explicit (App. A.5). With K=1K=1, Φ=id\Phi=\mathrm{id}, πctx(s)=N(y;Hs,Σsplit)\pi_{\mathrm{ctx}}(s)=\mathcal{N}(y;Hs,\Sigma_{\mathrm{split}}) and coupling N(s;x,ρ2I)\mathcal{N}(s;x,\rho^2I),

∫N(y;Hs,Σsplit)N(s;x,ρ2I)ds=N(y;Hx,Σsplit+ρ2HH⊤),\int \mathcal{N}(y;Hs,\Sigma_{\mathrm{split}}) \mathcal{N}(s;x,\rho^2 I) ds = \mathcal{N}(y;Hx, \Sigma_{\mathrm{split}}+\rho^2 HH^{\top}),

so Σsplit=Ση−ρ2HH⊤\Sigma_{\mathrm{split}}=\Sigma_\eta-\rho^2HH^{\top} gives the exact posterior for every admissible ρ\rho (Eq. S33). This corresponds to the deconvolution and naturally leads to the noise ceiling in Cor. 3.

Split Gibbs samplers [2] and their plug-and-play (PnP) variants with diffusion priors [3] share similar sampling loops but differ in the covariance of the noise applied. They directly apply Σsplit=Ση\Sigma_{\mathrm{split}}=\Sigma_\eta without correction, which leads to a biased posterior distribution (App. A.5, C.1) with inflated covariance at finite diffusion time. This removes a trade-off rather than merely improving accuracy: the uncorrected sampler needs ρ→0\rho\to0 for exactness, which results in slow mixing, while our covariance-matched sampler is exact for any ρ\rho below the noise ceiling. Once matched, ρ\rho no longer affects the stationary distribution (Fig. S1e,f). (PnP covers both optimization variants giving point estimates and sampling variants; the relevant family here is the latter.)

Relative to score composition [4,5]: (i) ours is exact at finite tt for quadratic interactions, whereas score composition is approximate [5]; (ii) we support priors of different dimension on different projections, alongside degrees of freedom that no prior models, whereas score composition requires one set of shared variables and schedule; (iii) score composition is a single-pass sampler along a sequence that is not the noised target, with no correction mechanism, whereas ours is an MCMC whose invariant distribution is the target. Similarly, the guidance-based conditioner [6,7] steers a single prior with an approximate conditional score for the inverse problem, and it is generally an approximation.

Exactness at finite noise matters in scientific computing because the quantities of interest are thermodynamic averages, where a systematic bias does not average away. In ϕ4\phi^4 the susceptibility peak and the Ising collapse (Fig. 2c-e) are sensitive to this, and approximations lead to significant errors near the critical point.

W2/W3 and Q2. Why diffusion priors, and whether each prior can be genuinely high-dimensional.

There are three classes of applications for GG-PA:

  • (A) Single prior, linear-Gaussian context — linear inverse problems. PnP split Gibbs is the direct baseline; our covariance matching removes its finite-splitting bias (Remark 1; App. A.5; App. C.1).
  • (B) Multiple priors, quadratic interactions — double well, ϕ4\phi^4, imaginary-time path integrals. Exact at finite diffusion time (Prop. 2; Cor. 3).
  • (C) Multiple priors, non-quadratic interactions — atomistic systems. Asymptotically exact as t→0t \to 0; finite-tt remains approximate.

In class A, GG-PA with K=1K=1 and Φ=id\Phi=\mathrm{id} is the split Gibbs sampler used for PnP posterior sampling (Remark 1; App. A.5). The only change is the splitting covariance. The per-sweep cost (one denoiser call, one linear-Gaussian solve) is identical. That literature already runs at full image dimension with pretrained priors, so scalability is inherited.

In class B, since submission, we have applied the framework to imaginary-time path integrals. The discretized action splits exactly into a term quadratic in the bead coordinates carrying the quantum context in closed form plus a residual term factorizing into independent single-bead classical Boltzmann factors. This is exactly Eq. (1) with K=PK=P copies of one classical denoiser and the quadratic action as πctx\pi_{\mathrm{ctx}}, so Prop. 2 applies. For liquid water with 216 molecules (216 molecules x 3 atoms / molecule x 3 Cartesian variables / atom = 1944 variables), each prior acts on a full 1,944-dimensional configuration and P=32P=32 copies are coupled to form a 62,208-dimensional target that matches the reference path-integral distribution. This shows our method can scale up to high-dimensional systems, and the results match the reference distribution.

An important point here and also for the meta-review is that in classes B and C there are often no training data for the target joint system at all. In this case, the composition is not a cheaper alternative to retraining but the only route to sampling the target. Component-level priors are trained once and reused across contexts for which no joint data exists. We elaborate on this in the response to Reviewer 74hp, Q1. The numerical examples in Figs. 2 and 3 are chosen to illustrate that we can recover accurate targets in this case.

W5. Baselines

We agree that the roles of the baseline are not sufficiently clear. The baseline methods are

  • Full-target MC / MD (Fig. 1c,d; Fig. 2; Fig. 3): correct references that deliberately use the known total energy, which we do not require. They establish correctness, not competitiveness.
  • Direct diffusion (Fig. 1b; Fig. S4): the uncomposed-prior baseline; requires target data.
  • Target-specific retraining (Fig. S4d): varying the bare/cation-coupled mixing ratio shows retraining reproduces the target only when trained almost entirely on target data, whereas composition needs none.
  • Score composition / PnP / split Gibbs (W1/W4; App. C.1): distinguished by exactness at finite noise and by inhomogeneous composition as discussed above [2-7].

W6. Overlapping projections

Eq. (1) is well defined for arbitrary Φi\Phi_i, including overlapping ones, and the sampler is unchanged. Non-overlap (Eq. 6-7) is required only for Prop. 1's interpretation of the t→0t \to 0 marginal as the Boltzmann distribution of a specified VtotV_{\mathrm{tot}}; with overlap one would double-count. The sampler still targets a well-defined joint distribution over overlapping regions, and if the Boltzmann distribution of a specified energy is wanted the remedy is an inclusion-exclusion term in πctx\pi_{\mathrm{ctx}}.

We already demonstrate a special case: the alanine context removes the internal dihedral and non-bonded terms for the atoms entering the backbone dihedral angles (App. B.4.1), to avoid double counting against the dihedral angle prior. We will state this as a general principle.

Q1. Image inverse problems with a known likelihood and multiple priors

In the image inversion, ss is the full image, πctx(s)∝N(y;Hs,Ση)\pi_{\mathrm{ctx}}(s)\propto\mathcal{N}(y;Hs,\Sigma_\eta) is the likelihood; each Φi\Phi_i is a patch, region, or channel extraction operator; each pip_i is a pretrained prior over that region. Overlap is allowed, and the prior energy never has to be defined or evaluated: −log⁡pi-\log p_i is intractable and never appears. The algorithm only uses the denoiser without the need to evaluate the prior energy, and the prior cancels identically in the replica-exchange swap ratio.

Q3. Number of Gibbs steps and convergence

GG-PA is a Markov chain Monte Carlo (MCMC) with a two-block Gibbs sampler. We report integrated autocorrelation times in Fig. 1d (double well), Fig. 2f (ϕ4\phi^4), and Fig. S8 (AD dimer). In practice, convergence is determined by monitoring the trajectories of the observables of interest, just like other MCMC methods.

Summary

To our best knowledge, GG-PA is the first Gibbs-sampling-based inference-time composition method that (i) composes partial learned priors with an explicit non-learned context without marginalizing the environment into an intractable effective free energy, and so supports inhomogeneous composition including degrees of freedom that no prior models; (ii) is exact at finite noise for quadratic interactions (Prop. 2); and (iii) as a corollary removes a bias in the split Gibbs samplers used for linear inverse problems, at no cost (Remark 1).

If you have any more questions, we are happy to discuss them and will do our best to address them!

[1] Hinton, G.E. Training products of experts by minimizing contrastive divergence. Neural Computation, 2002.

[2] Vono et al. Split-and-augmented Gibbs sampler: application to large-scale inference problems. IEEE Trans. Signal Process., 2019.

[3] Coeurdoux et al. Plug-and-play split Gibbs sampler: embedding deep generative priors in Bayesian inference. IEEE Trans. Image Process., 2024.

[4] Liu et al. Compositional visual generation with composable diffusion models. ECCV, 2022.

[5] Du et al. Reduce, reuse, recycle: compositional generation with energy-based diffusion models and MCMC. ICML, 2023.

[6] Chung et al. Diffusion posterior sampling for general noisy inverse problems. ICLR, 2023.

[7] Song et al. Pseudoinverse-guided diffusion models for inverse problems. ICLR, 2023.

Reviewer SY3J · CommentOpenReview ↗

I thank the authors for the reply. They have successfully answered my questions and concerns. Therefore, I will raise my score.

Authors · CommentOpenReview ↗

We thank the reviewer for the careful reading and for the willingness to raise the score. The comments were valuable in sharpening how we position the method, and we will make the relation to products of experts and score composition, as well as the scope of the non-overlap assumption, explicit in the revised paper.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…