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

Conditioning Diffusions Using Malliavin Calculus

Jakiw Pidstrigach, Elizabeth Louise Baker, Carles Domingo-Enrich, George Deligiannidis, Nikolas Nüsken

Introduction

Conditioning diffusion processes—such as steering a particle to a specific target or generating images with specific features—is a fundamental challenge in generative AI and physics simulations. Traditional methods typically rely on the gradient of a reward or likelihood function to steer the process. However, these approaches often fail when rewards are "singular" (e.g., forcing a process to hit an exact point) or when constraints are non-differentiable.

This paper introduces a novel framework using Malliavin calculus to overcome these limitations. By shifting the mathematical complexity from spatial gradients to integration-by-parts on path space, the authors develop a training objective that remains stable even under singular constraints, outperforming existing methods in reliability and accuracy.

The BEL-Algorithm: Path-Space Integration by Parts

The core innovation is the BEL-algorithm, named after the Bismuth-Elworthy-Li formula. Instead of calculating the gradient of the reward directly, the method uses Malliavin calculus to "toss" the derivative onto the underlying Brownian motion (the noise). This is conceptually similar to the "reparameterization trick" used in Variational Autoencoders but scaled up to entire stochastic trajectories.

Key components of the framework include:

  • Generalised Tweedie Formula: Extending denoising principles to complex, nonlinear Stochastic Differential Equations (SDEs).
  • The Score Process ($S_s$): A process tracking how noise perturbations at time $t$ affect the outcome at time $T$. A neural network is trained to regress against this process to learn optimal steering control ($u_t$) without needing to differentiate the reward function.
  • Flexibility via $\alpha$: The framework introduces a matrix-valued function $\alpha$ as a hyperparameter, allowing users to prioritize different segments of the trajectory (e.g., early steering vs. late corrections).
The alpha hyperparameter function used to prioritize trajectory segments.

Experimental Results

The authors evaluated the BEL-algorithm across several benchmarks, including synthetic SDEs, biological shape processes, and image inpainting on Fashion-MNIST.

Rare Event Simulation

A primary test case involved a Double-Well Potential, representing a scenario where a particle must jump over a high energy barrier—a "rare event." In unconditioned simulations, particles almost never cross the barrier. The BEL-algorithm successfully learned to steer these particles to the target state with high precision.

Rare event simulation in a double-well potential: (a) unconditioned paths stay in the initial well; (b) paths conditioned by the BEL-algorithm successfully transition to the target well.

Performance and Stability

On the "Shape Processes" task, which models biological morphometrics, the BEL-average variant achieved a distance error of 0.085, significantly outperforming the "Time Reversal" baseline (0.090) and the "Adjoint Paths" method (0.498). The method also proved robust in high-dimensional (10D) settings where standard reparameterization techniques showed increased variance. For image control, the model successfully performed corner-conditioned generation on Fashion-MNIST, producing diverse, high-quality images matching the provided constraints.

Conclusion

The Malliavin-based approach provides a gradient-free way to condition models, requiring only samples of $(X, Y)$ pairs rather than a differentiable relationship. This "amortized" control field works for any target $y$ simultaneously and avoids the exploding gradients common in diffusion bridges. While choosing the optimal $\alpha$ for highly nonlinear SDEs remains heuristic, future work may extend this to manifold-valued diffusions and infinite-dimensional settings, with potential applications in weather modeling and functional data analysis.

Summary updated

BibTeX
@inproceedings{pidstrigach2025conditioning,
  author = {Jakiw Pidstrigach and Elizabeth Louise Baker and Carles Domingo-Enrich and George Deligiannidis and Nikolas Nüsken},
  title = {{Conditioning Diffusions Using Malliavin Calculus}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=0A4JSAU3FD},
}
Figure