One operator I keep coming back to
The Laplacian is everywhere: heat, diffusion models, Wasserstein gradient flows, Gaussian processes, spherical harmonics, wavelets, even music. A tour of the operator that asks how different you are from your neighbours.
Contents
- What it measures
- Heat: differences get smoothed away
- Diffusion models: heat on probability densities
- Gradient flows: the heat equation is a descent
- Gaussian processes: smoothness as an operator
- The sphere: harmonics of the globe
- Wavelets: the Laplacian of a Gaussian
- Music: you can hear the eigenvalues
- And life
- Further reading
Some ideas you learn once. Others you keep meeting, in a different coat each time, until you realise it was the same idea all along. For me that idea is the Laplacian.
It shows up when heat spreads through a metal plate, when a diffusion model turns an image into noise, when a Gaussian process decides how smooth a function should be, when a weather model describes the globe, and when a drum makes a sound. It is like a good analogy: short, and straight to the point.
This post follows that thread.
What it measures
In dimensions the Laplacian is the sum of second derivatives,
There are two ways to read it, and both are worth keeping.
It is the divergence of the gradient. It tells you how the gradient itself is changing: whether slopes pile up into a valley or spread apart over a peak. Where the function curves up; where it curves down.
It compares a point with its neighbourhood. Average over a small sphere of radius around , and
So measures how different is from the average of its surroundings. On a graph this becomes literal: , the weighted sum of disagreements with your neighbours (with the sign convention ).
Hold on to that second reading. Everything below is a consequence of it.
Heat: differences get smoothed away
If every point keeps moving towards the average of its neighbours, you get the heat equation
In Fourier space the Laplacian is just multiplication by , so each frequency decays on its own:
High frequencies die first. Sharp edges round off long before the broad shapes fade.

The solution is a convolution with the heat kernel,
Look closely and you will recognise it. The RBF kernel every GP practitioner uses, , is the heat kernel at time , up to a constant. Choosing a length-scale is choosing how long heat has been allowed to flow.
Diffusion models: heat on probability densities
Now let the thing that diffuses be a probability density. Add Brownian noise to data, with , and the density of obeys
The forward process of a diffusion model is the heat equation applied to the data distribution. Images blur into noise exactly the way the signal above flattens out.
Generation runs this backwards, and to do that you need the score . The Laplacian is hiding there too, through Tweedie’s formula:
The best denoiser is one step along the score, and the score is what heat flow leaves behind.
Gradient flows: the heat equation is a descent
A beautiful result of Jordan, Kinderlehrer and Otto (1998): the heat equation is the gradient flow of entropy in the Wasserstein-2 geometry of probability distributions. Add a potential and you get the Fokker–Planck equation,
which is the Wasserstein gradient flow of . Langevin sampling is just following it with particles.
This is where my current work lives. Drifting models (Deng et al., 2026) train a one-step generator by moving its samples along a kernel-defined drift field until the generated and data distributions agree. Turan, Dufour and Ovsjanikov (2026) show this drift is a Wasserstein gradient flow of a kernel-smoothed KL, and that with a Gaussian kernel the drift is a difference of scores of smoothed distributions. Their spectral analysis finds a high-frequency bottleneck for the Gaussian kernel.
That is the heat equation again: Gaussian smoothing damps frequency by , so fine detail is the last thing to be learned. Choosing the kernel in a drifting model is choosing which frequencies you are willing to wait for.
Gaussian processes: smoothness as an operator
Whittle (1954), and later Lindgren, Rue and Lindström (2011), showed that a Matérn Gaussian process is the solution of a stochastic PDE in the Laplacian,
driven by white noise . Its spectral density is , and as it becomes the RBF, the heat kernel again.
The payoff is that this definition does not care where you are. Replace by the eigenvalues of the Laplacian on any space, a sphere, a mesh, a graph, and you get a valid Matérn kernel there (Borovitskiy et al., 2020):
Smoothness is no longer a formula in coordinates. It is a statement about which eigenfunctions of the Laplacian you trust.
The sphere: harmonics of the globe
On the sphere those eigenfunctions are the spherical harmonics,
the Fourier basis of the globe. Weather and climate models are written in them, and by the addition theorem, , every isotropic kernel on the sphere is a series in Legendre polynomials with non-negative coefficients (Schoenberg’s theorem, the sphere’s version of Bochner; worked through in Fourier and wavelets on the sphere). Drag the sliders:
Higher means finer structure and a larger eigenvalue, so under heat flow it fades faster. A weather pattern the size of a continent outlives a thunderstorm for the same reason a broad bump outlives a sharp edge.
Wavelets: the Laplacian of a Gaussian
The Mexican-hat wavelet is, up to sign and scale, the Laplacian of a Gaussian:
Marr and Hildreth used this to find edges in images: blur with heat, then ask where the Laplacian changes sign. In my random wavelet features it is the atom that makes a kernel local in space and frequency, which is what lets a Gaussian process be smooth in one region and sharp in another.
Music: you can hear the eigenvalues
A vibrating string obeys . Its natural modes are the eigenfunctions of the Laplacian on the string, , and the notes it can play are set by the eigenvalues. The harmonics of a guitar are the spectrum of a Laplacian.
In 1966 Mark Kac asked the question that made this famous: can one hear the shape of a drum? If you know every eigenvalue, do you know the shape? Gordon, Webb and Wolpert answered in 1992: not always, there are differently shaped drums that sound exactly alike. The spectrum tells you a great deal, but not everything.
And life
The Laplacian asks one question everywhere: how different are you from what surrounds you? Left alone, the answer shrinks. Heat smooths, noise blurs, sharp edges round off.
But some shapes survive diffusion without changing, they only grow quieter. Those are the eigenfunctions, the patterns that are already at peace with the operator. Maybe that is a decent definition of character: not refusing to be shaped by your surroundings, but staying recognisably yourself while they act on you.
And like the drum, you can learn a lot about someone from how they resonate, but never quite everything. I find that reassuring.
Further reading
- R. Jordan, D. Kinderlehrer, F. Otto. The variational formulation of the Fokker–Planck equation. SIAM J. Math. Anal., 1998.
- F. Lindgren, H. Rue, J. Lindström. An explicit link between Gaussian fields and Gaussian Markov random fields: the SPDE approach. JRSS-B, 2011.
- V. Borovitskiy, A. Terenin, P. Mostowsky, M. P. Deisenroth. Matérn Gaussian processes on Riemannian manifolds. NeurIPS, 2020.
- M. Deng, H. Li, T. Li, Y. Du, K. He. Generative modeling via drifting. arXiv:2602.04770, 2026.
- E. Turan, N. Dufour, M. Ovsjanikov. Generative drifting is secretly score matching: a spectral and variational perspective. arXiv:2603.09936, 2026.
- M. Kac. Can one hear the shape of a drum? Amer. Math. Monthly, 1966.
Was this useful?
Thanks, that helps me decide what to write next.