Composing Diffusion Priors with Explicit Physical Context via Generative Gibbs Sampling
Weizhou Wang, Jonathan Weare, Aaron R Dinner
NeurIPS page · Open on the map
Category: Time Series, PDEs & Probabilistic ML › Constrained Generative Modeling · Type: new method · Keywords: diffusion priors, physics-aware sampling, Gibbs sampling, generative models, scientific simulation
Areas: Generative Models (Diffusion & Flows) › Flow Matching and Diffusion › Constrained Generation; AI for Science › Molecular Systems Modeling › Constrained Generative Flows
Summary
GG-PA is a training-free framework that composes pretrained diffusion priors with explicit physical context via a Gibbs sampler, enabling context-aware sampling without retraining.
Explained to a 5-year-old
Scientists want to understand how particles move together. They have a big computer model that knows general patterns, but sometimes a special rule changes those patterns. This new idea lets the computer mix the general knowledge with the special rule to guess new ways the particles can move, without teaching it anything new. It helps scientists see how things might behave in real life. This makes the computer smarter for solving science problems.
Explained to a 5-year-old, longer
In science, researchers often want to know how many ways tiny pieces can be arranged. They build computer programs that have learned general ideas about how things usually look. Sometimes they need to add extra rules that describe special conditions, like how gravity works in a particular experiment. The new method connects the general ideas with those extra rules so the computer can imagine new possibilities. It does this by using a step-by-step guessing process that mixes the two kinds of information. The guessing process gets more accurate the longer it runs, eventually matching the true behavior. For simple situations where the extra rules are easy to calculate, the method is perfectly accurate even after a short time. To make the guessing faster, the computer also tries different amounts of mixing at the same time. This helps the computer explore many possibilities without having to start over from scratch. The result is that scientists can see how the special rules change the overall picture of what they are studying. It works on things like droplets that can be in two places at once, on special mathematical models, and on tiny protein pieces. All of this lets researchers understand complex systems without having to retrain the whole computer model.
For a technical reader
The paper presents a way to combine a pretrained diffusion model with additional physical constraints by treating the problem as joint inference in an augmented space. It builds a Gibbs sampler that alternates updates between the learned prior and the explicit context, guaranteeing exactness under certain conditions. To speed up convergence, the authors add replica exchange across diffusion times, allowing the sampler to explore the space more efficiently. Experiments on physics-based test cases show that the method recovers context-dependent distributions without any model retraining.
Problem
Scientific sampling often requires target distributions that depend on physical context not fully captured by a single pretrained generative model. This creates a need for a method that can combine learned priors with explicit context while preserving correctness.
Method
The approach formulates the composition of partial learned priors and explicit physical context as inference over a joint target distribution in an augmented state space. It derives a Gibbs sampler for this joint target, incorporates replica exchange over diffusion time to improve mixing, and leverages asymptotic exactness properties of the sampler.
Results
The approach recovers context-induced distribution shifts and emergent collective behavior in interacting systems without retraining, demonstrating practical utility.
Contributions
It introduces a training-free framework for composing learned priors with explicit physical context, derives a Gibbs sampler with theoretical exactness guarantees, and validates the method on physics-based systems.
Practical relevance
It enables practical, context-aware sampling for scientific applications without retraining large generative models.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction