Computing Diffusion Geometry
Iolo Jones, David Lanners
TL;DR
This work introduces a data-driven framework for diffusion geometry that rewrites calculus and geometry in terms of diffusion processes, enabling computation of gradients, differential forms, tensors, and topological invariants directly from point clouds. It relies on the carré du champ operator, computed from a data-driven Markov chain and heat kernel, to define a robust, manifold-free Riemannian-like structure and to formulate differential operators via weak formulations. The framework yields scalable methods for gradient fields, Hessians, Hodge Laplacians, geodesic distances, curvature, de Rham cohomology, circular coordinates, and Morse theory, with a focus on stability, regularisation, and convergence in noisy, high-dimensional data. Significantly, it outperforms traditional persistent homology in several tasks, provides interpretable canonical harmonic forms for topology, and includes a Python package for practical use on real data.
Abstract
Calculus and geometry are ubiquitous in the theoretical modelling of scientific phenomena, but have historically been very challenging to apply directly to real data as statistics. Diffusion geometry is a new theory that reformulates classical calculus and geometry in terms of a diffusion process, allowing these theories to generalise beyond manifolds and be computed from data. This work introduces a new computational framework for diffusion geometry that substantially broadens its practical scope and improves its precision, robustness to noise, and computational complexity. We present a range of new computational methods, including all the standard objects from vector calculus and Riemannian geometry, and apply them to solve spatial PDEs and vector field flows, find geodesic (intrinsic) distances, curvature, and several new topological tools like de Rham cohomology, circular coordinates, and Morse theory. These methods are data-driven, scalable, and can exploit highly optimised numerical tools for linear algebra.
