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

Stochastic Heat Diffusion Models

Marc T. Law, Xiaoyu Wang, Lucas Berry, Anthony L. Caterini, Gabriel Loaiza-GanemNeurIPS 2026

TL;DR

Standard diffusion models destroy data by adding independent static to every pixel or point, completely ignoring the underlying geometry of what they are corrupting. Stochastic Heat Diffusion Models (SHDM) instead diffuse noise along the structure of the data itself—like heat spreading through a network—using a graph Laplacian. Best of all, while the model uses this structural blueprint to learn better trajectories during training, it doesn't need the blueprint at all to generate brand-new samples at test time.

What Problem Does This Paper Address?

Imagine a 3D point cloud of an airplane, or a complex fractal tree. In standard generative diffusion, the forward "noising" process treats every point as an isolated island, jiggling them independently into a Gaussian cloud. Because the process is blind to how points relate to their neighbors, models can struggle to capture global geometry, often spitting out awkward, low-density outliers around the fringes of the true distribution.

Previous attempts to bake structural awareness into diffusion—like blurring diffusion or spectral graph methods—typically come with strings attached. Either they only generate the connections (edges) while ignoring the nodes, or they require you to hand the structural blueprint (specifically, the eigenvectors of the Laplacian matrix) to the model during inference. If you want to generate a new object from pure noise, you obviously don't have its blueprint yet. The authors ask: how can we diffuse noise along a data manifold during training without needing that manifold map at generation time?

Figure 1: Illustration of stochastic-heat conditional trajectories on 3-dimensional point clouds, using standard-normal initialisation as a finite-time approximation.

Methods

Think of a cold metal wireframe. If you touch a blowtorch to one corner, heat doesn't teleport randomly; it flows smoothly to neighboring vertices according to the heat equation, governed by a mathematical object called the Laplacian matrix (which encodes who is connected or close to whom).

The authors turn this deterministic physics equation into a linear Stochastic Differential Equation (SDE) by injecting a Wiener process (continuous random noise) scaled by a shifted, negative-definite Laplacian $\mathbf{L}$. Because $\mathbf{L}$ is negative definite, the forward process is mathematically guaranteed to settle into a clean, standard normal distribution $\mathcal{N}(\mathbf{0}, \mathbf{I})$, and any noisy intermediate state can be sampled in closed form.

Here is the catch: reversing an SDE directly requires knowing $\mathbf{L}$ at inference time. To dodge this, the authors pivot to Conditional Flow Matching:

  • Closed-Form Average Velocity: Instead of predicting the instantaneous velocity of a particle (which blows up and gets numerically "stiff" right as the clean data forms at $t \to 1^-$), the neural network is trained to predict the average velocity over a time interval $[a, b]$. Unlike prior work (MeanFlow) that approximates this, SHDM derives the conditional trajectory and average velocity in exact closed form.
  • Offline Eigendecomposition & Exponential Scheduling: Computing matrix exponentials like $e^{t\mathbf{L}}$ naively takes $\mathcal{O}(n^3)$ time. By precomputing the eigendecomposition of $\mathbf{L}$ offline during training, sampling drops to $\mathcal{O}(n)$. At inference, an exponential time scheduler takes careful, tiny steps near the stiff $t=1$ endpoint.
  • Reference Guidance: Optionally, the model can steer away from bad regions by contrasting target velocities against a "reference" population (like slightly blurred shapes or randomly permuted puzzle boards).

Datasets

No new benchmarks are introduced; the authors test SHDM across four diverse domains:

  • 2D Fractal-like Toy Distribution: Introduced by Karras et al. to study how diffusion models handle sharp, branching manifolds and outliers.
  • Sudoku Puzzles: 9×9 grids generated with 31–42 clues for training, and tested out-of-distribution on much harder 17–30 clue puzzles.
  • ShapeNet: 3D point clouds (cubes, airplanes, chairs) with 10,000+ points per shape.
  • QM9: A standard molecular graph generation dataset (explored in the paper's appendix).

Key Insights and Ideas

  • Scaffolding you can kick away: Using the Laplacian during training acts like temporary scaffolding. It shapes the flow paths so similar points move together, teaching a standard, permutation-equivariant neural network global structure—even though the network only sees raw, unguided noise at inference.
  • Geometry naturally suppresses outliers: On the 2D fractal tree, standard diffusion sprays stray points into the empty space between branches unless corrected by heavy-handed guidance. Because SHDM shares noise among neighbors, points stay cohesive, hugging high-probability branches without needing guidance.
  • Clever graphs solve discrete logic: For Sudoku, instead of wiring the graph using the game's rules (rows, columns, boxes), the authors connect cells that share the same digit in the ground-truth solution. Diffusing heat across same-digit groups teaches the network global color-clustering remarkably well.
  • Subsampling scales to big clouds: You don't need an $8,000 \times 8,000$ Laplacian to generate 8,000 points. Training on random mini-batches of 1,000 points per iteration is enough for the model to internalize the global 3D shape and generate dense clouds in a single shot.
Comparison on a 2D fractal distribution showing SHDM suppressing outliers even without guidance

Key Results

  • 2D Fractal Distribution: SHDM cuts Maximum Mean Discrepancy (MMD, lower is better) by roughly an order of magnitude compared to the Karras et al. baseline. With bandwidth $\sigma^2=1$, unguided SHDM achieves $3.70 \times 10^{-2}$ (and $3.00 \times 10^{-2}$ with guidance) versus $1.42 \times 10^{-1}$ for the unguided baseline.
  • Sudoku: SHDM solves 99.9% ± 0.2% of in-distribution puzzles (31–42 clues). Crucially, on much harder out-of-distribution puzzles (17–30 clues), it still achieves a 91.4% ± 4.4% success rate, continuing to improve on OOD generalization long after in-distribution accuracy plateaus.
  • 3D Point Clouds & Molecules: Qualitatively, models trained on $10^3$-point subsamples cleanly generate $8 \times 10^3$-point shapes in one shot, and achieve competitive validity with high novelty on QM9 molecules.

Limitations and Future Work

  • Defining "similarity" is on you: You have to hand-craft the similarity metric (RBF kernels for 3D space, exact-match binaries for Sudoku) and tune dataset-specific scaling ($\gamma$), shift ($\delta$), and noise schedule ($\kappa$) hyperparameters. Learning $\mathbf{L}$ directly is a natural next step.
  • Static Laplacians and $\mathcal{O}(n^3)$ bottlenecks: $\mathbf{L}$ is assumed constant over time, and computing its eigendecomposition can get heavy if $n$ grows very large (though mini-batching helps, low-rank approximations could help further).
  • Empirical multi-step approximations: Because the network predicts conditional targets from partial inputs and swaps in $\mathcal{N}(\mathbf{0}, \mathbf{I})$ as a finite-time approximation at $t=0$, it lacks a strict single-step transport guarantee—meaning multi-step denoising is still needed in practice.

Summary updated

BibTeX
@inproceedings{law2026stochastic,
  author = {Marc T. Law and Xiaoyu Wang and Lucas Berry and Anthony L. Caterini and Gabriel Loaiza-Ganem},
  title = {{Stochastic Heat Diffusion Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=nlt2l4kt7S},
}

Loading related content...

Figure