Diffusion models without neural networks
UNSW Sydney | STREAM
We want \(p(f \mid \mathcal{C})\) without a new derivation for every new \(\mathcal{C}\).

Diffusion modelling asks “how do I sample from an inconvenient distribution?”

Anderson (1982) showed the time reversal is also an SDE, requiring, in addition to the forward one, the score, \(\nabla_{\boldsymbol{f}} \log p_t\).

Anderson (1982), Reverse-time diffusion equation models, Stochastic Processes and their Applications 12(3):313–326.
The neural network exists only because nobody knows \(\nabla_\boldsymbol{f} \log p_t\) for cats.
… then we already implicitly have \(\nabla_\boldsymbol{f} \log p_t\).
We could already simulate from \(f\), so what does this buy us?
Using Bayes: \[ \nabla \log p_t(\boldsymbol{f}_t \mid \mathcal{C}) = \underbrace{\nabla \log p_t(\boldsymbol{f}_t)}_{=\,-\boldsymbol{f}_t\ \text{(exact)}} + \underbrace{\nabla \log p_t(\mathcal{C} \mid \boldsymbol{f}_t)}_{\text{guidance}}. \]
Substitute \(\nabla \log p_t(\boldsymbol{f}_t \mid \mathcal{C})\) into the reverse time SDE and the trajectory bends towards draws that satisfy \(\mathcal{C}\). Machine learning calls this guidance.
This separates the process and the conditioning information.


OI/GP/Kriging conditioned on the observations alone

Conditioned on the observations and on non-linear damped pendulum equation

| Error source | For cats | For us | |
|---|---|---|---|
| 1 | Process simulation \(\nabla\log p_t\) | uncontrolled | exact |
| 2 | Guidance approximation | uncontrolled | explicit; \(\mathcal{O}(S^{-1})\) bias |
| 3 | Discretisation | controllable | solver order \(h^q\), same bound |
We are not cheapening a hard computation. This will not somehow make computationally prohibitive processes (with respect to process sampling) easier.
Slides and code: astfalckl.github.io/presentations
STREAM: unsw.edu.au/science/our-schools/maths/our-research/stream
l.astfalck@unsw.edu.au
Moss\(^*\), Astfalck\(^*\), …, Zammit-Mangion, Conditioning Gaussian Processes on Almost Anything, arXiv:2605.21041
Sharrock, Astfalck, Moss, LatentFlow: A General Framework for Conditioning Stochastic Processes, arXiv:2607.12922
Lachlan Astfalck | UNSW Spatio-Temporal Research for Environmental Analysis and Modelling