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

Diffusion Means and Heat Kernel on Manifolds

Pernille E. H. Hansen, Benjamin Eltzner, Stefan SommerGSI 2021

Abstract

We introduce diffusion means as a robust location statistic for data on manifolds. Defined as the starting point of an isotropic diffusion with a given diffusivity $t$, these means leverage the heat kernel to provide a theoretically sound generalization of the Euclidean mean. Unlike the standard Fréchet mean, which can suffer from "smeariness"—a phenomenon where manifold curvature causes sample means to converge slower than the standard $n^{-1/2}$ rate—diffusion means can be regularized by adjusting the diffusivity parameter. We demonstrate the effectiveness of this approach on a bimodal directional dataset of sea turtle nesting orientations, showing that diffusion means restore standard statistical scaling and provide more stable estimators.

Introduction: The Problem of Smeariness

When analyzing data on non-Euclidean spaces, such as spheres or shape spaces, the standard approach is to use the Fréchet mean, which minimizes the sum of squared distances. However, the Fréchet mean has a significant weakness known as smeariness. On curved manifolds, particularly with spread-out or bimodal data, the Fréchet mean can become "unusually flat," leading to a breakdown of the classical Central Limit Theorem. Instead of the variance scaling with $1/n$, it scales much more slowly, making the Fréchet mean an unstable estimator for small or noisy datasets.

Diffusion Means: A Robust Alternative

To address these geometric distortions, we propose the diffusion $t$-mean. This framework utilizes the heat kernel $p(x, y, t)$, the transition density of Brownian motion on a manifold. The diffusion mean is defined as the point $\mu$ that maximizes the log-likelihood of the observed data under this heat kernel distribution.

The parameter $t$ represents diffusivity and acts as a regularizer. As $t \to 0$, the diffusion mean converges to the classical Fréchet mean. For $t > 0$, it provides a "smoothed" version of the mean. While the Fréchet mean ($t=0$) might sit in a flat region of the likelihood surface, increasing $t$ makes the objective function more parabolic and well-behaved at the minimum. The paper provides explicit heat kernel formulas for several important spaces, including circles ($S^1$), spheres ($S^m$), hyperbolic spaces ($\mathbb{H}^m$), and Lie groups. For more complex manifolds, numerical calculation is possible using heat kernel expansions or bridge sampling.

Case Study: Sea Turtle Nesting Directions

We evaluated the method using a classic dataset from directional statistics: the compass directions of sea turtles leaving their nests (Stephens, 1969). This data is notably bimodal, with most turtles heading north-northwest and a smaller group heading in the opposite direction. This bimodality serves as a "torture test" for circular means, as it typically induces high smeariness.

Histogram of sea turtle orientations and the corresponding Fréchet functions for various diffusivity values t.

Key Results: Restoring Statistical Scaling

Our analysis confirms that the Fréchet mean ($t=0$) for the turtle data exhibits pronounced finite sample smeariness. As shown in the variance scaling analysis, the variance of the sample mean for $t=0$ deviates significantly from the expected $1/n$ scaling.

Extracted figure from page 7 of Diffusion Means and Heat Kernel on Manifolds

By increasing the diffusivity $t$, the magnitude of smeariness decreases significantly. We found an optimal $t \approx 0.963$ for the turtle data, where the estimator is far more stable and exhibits much lower variance than the Fréchet mean. This "healing" effect demonstrates that diffusion means can effectively mitigate the impact of manifold curvature on statistical estimation.

Conclusion

Diffusion means provide a powerful alternative to Fréchet means, especially in the presence of curvature-induced instability. By linking location statistics to the heat kernel, they offer a natural framework for manifold data analysis. While computational challenges remain for high-dimensional spaces, the ability to regularize against smeariness makes them a valuable tool for modern directional and shape statistics.

Summary updated

BibTeX
@inproceedings{hansen2021diffusion,
  author = {Pernille E. H. Hansen and Benjamin Eltzner and Stefan Sommer},
  title = {{Diffusion Means and Heat Kernel on Manifolds}},
  booktitle = {GSI},
  year = {2021},
  url = {https://openreview.net/forum?id=Qj_in5AxqT},
}
Figure