NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Predict-Project-Renoise: Sampling Diffusion Models under Hard Constraints

Omer Rochman-Sharabi, Gilles Louppe

TL;DR

While diffusion models excel at generating realistic data, they cannot inherently guarantee adherence to hard physical constraints like conservation laws or exact observations. Predict-Project-Renoise (PPR) solves this by introducing a training-free corrector kernel that iteratively projects samples through the model's denoiser and restores appropriate noise levels. This allows pretrained diffusion models to satisfy strict mathematical constraints while maintaining high distributional fidelity across complex tasks, from chaotic physics simulations to global weather forecasting.

What Problem Does This Paper Address?

In scientific and engineering applications—such as fluid dynamics, medical imaging, and climate modeling—generative samples must be more than just "visually plausible." They must strictly obey physical laws, boundary conditions, or exact observational data ($x \in C$).

Standard diffusion models generate data unconditionally or via soft guidance. When faced with hard constraints, existing training-free inference methods fall into two traps:

  1. Bayesian Guidance/Observation Methods: They treat hard constraints as a Dirac delta likelihood, which causes gradients to explode or become uninformative outside the immediate vicinity of the constraint.
  2. Naive Projection Methods: They force the sample onto the constraint space either in the noisy state ($x_t$) or the clean state ($x_0$). This often pulls samples off the actual data manifold, introducing unphysical artifacts (like sharp discontinuities) or causing mode collapse.

Methods

The authors introduce Predict-Project-Renoise (PPR), a training-free algorithm that modifies the reverse sampling process by introducing a mathematically rigorous corrector step.

Instead of a standard predictor-corrector loop, PPR applies a three-step conditional resampling loop $M$ times at each noise level:

  • Predict: A standard diffusion step moves the sample from noise level $t+1$ to $t$.
  • Project (Through the Denoiser): Instead of minimizing the constraint function $c(x_t)$ directly on the noisy state, PPR minimizes $c(d_\theta(x_t))$, where $d_\theta$ is the pretrained denoiser. Because the denoiser is trained to output clean data on the true data manifold, optimizing through it forces the constraint update to respect the underlying data structure.
  • Renoise: Pure projection strips away necessary variance, leading to deterministic mode collapse. PPR fixes this by re-injecting noise via the forward diffusion kernel, restoring the correct noise level for that timestep and ensuring proper stochastic mixing.

The authors provide theoretical backing (Proposition 3.1), proving that this specific kernel possesses the true constrained marginal distribution as its unique stationary distribution.

Visualization of the unconstrained vs. constrained diffusion process using PPR on a 2D dataset.

Datasets

The method was evaluated across three distinct regimes:

  1. DATA2D: Synthetic 2D distributions (a uniform checkerboard and a mixture of Gaussians) subjected to random non-linear constraints generated via Gaussian Random Fields.
  2. Kuramoto-Sivashinsky (KS): A 1D chaotic partial differential equation system used to evaluate high-dimensional physical trajectory generation under non-linear constraints.
  3. WEATHER: A massive, real-world setup utilizing Appa, a $10^8$-dimensional global latent weather model trained on the ERA5 reanalysis dataset, constrained by perfect non-linear observations.

Key Insights and Ideas

  • The Denoiser acts as a Manifold Regularizer: Projecting through the denoiser leverages learned data correlations. If a constraint is violated in one spatial region, backpropagating through $d_\theta$ updates the entire sample globally and coherently, preventing pixel-level discontinuities.
  • Renoising is Mandatory: Without the "Renoise" step ($M=0$), the algorithm collapses into a deterministic attractor toward the nearest feasible points. Renoising injects the stochasticity needed to explore the full constrained distribution.
  • Compute-Quality Tradeoff: Unlike other methods that hit a performance ceiling, PPR allows users to linearly scale the number of inner iterations ($M$) to trade computational time for stricter constraint satisfaction and better distributional accuracy.

Key Results

PPR significantly outperforms existing constrained sampling methods (like DPS, MMPS, and CPS) in both constraint satisfaction and sample quality.

  • High Feasibility Rates: On the chaotic Kuramoto-Sivashinsky physics benchmark, PPR achieved an 82.7% feasibility rate, whereas the next best baseline achieved a mere 1%. On DATA2D, PPR hit 79.0% feasibility compared to 31.6% for the best baseline.
  • Distributional Fidelity: As shown in the ablation studies, increasing the number of project-renoise steps ($M$) consistently improves prediction accuracy metrics (RMSE, Skill, CRPS) while keeping constraint violations exceptionally low.
Figure 2: KS and DATA2D PPR ablation. We vary the number of kernel applications M and whether information is propagated through the denoiser. Projecting in x0-space rather than xt-space worsens the constrained distribution for both datasets and in KS, x0-space samples are not in S because they are discontinuous. When projecting through the denoiser in xt-space, larger M improves the constrained distributions in both settings. For KS, skill, RMSE, and CRPS measure prediction accuracy; for DATA2D, k-NN measures constrained-distribution quality. Max-Norm is better when closer to 1 (dotted red line). In the KS metrics, the x-axis t denotes system time, not diffusion time.
  • Large-Scale Weather Application: When integrated with the $10^8$-dimensional Appa weather model, PPR maintained stable, physically accurate trajectories over time, outperforming all baselines across surface temperature, wind components, and mean sea level pressure.
Comparison of PPR against baselines on the Appa weather model across multiple atmospheric variables.

Limitations and Future Work

  • Differentiability Requirement: PPR relies on computing the gradient of the constraint function $c(x)$ to backpropagate through the denoiser. It cannot be applied out-of-the-box to non-differentiable, discrete, or black-box constraints.
  • Computational Overhead: Differentiating through a large neural network denoiser multiple times ($M$) per diffusion step increases inference wall-clock time.
  • Future Directions: The authors suggest exploring optimization strategies like projecting only at a subset of diffusion steps, extending the framework to inequality constraints (e.g., via Langevin projections), and adapting it for discrete domains like protein design.

Summary updated

BibTeX
@inproceedings{rochmansharabi2026predict,
  author = {Omer Rochman-Sharabi and Gilles Louppe},
  title = {{Predict-Project-Renoise: Sampling Diffusion Models under Hard Constraints}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=0RZexLnRZZ},
}
Figure