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

Riemannian Diffusion Models

Chin-Wei Huang, Milad Aghajohari, Joey Bose, Prakash Panangaden, Aaron Courville

Abstract

Generative diffusion models have achieved remarkable success in Euclidean spaces, but many real-world datasets—ranging from global weather patterns to protein structures—are defined on non-Euclidean manifolds. We introduce Riemannian Diffusion Models (RDM), a framework that generalizes diffusion processes to arbitrary smooth manifolds. By employing Stratonovich calculus and an extrinsic embedding approach, RDMs maintain mathematical consistency on curved surfaces while utilizing standard neural network architectures. Our method achieves state-of-the-art performance across various geometric benchmarks, including spherical Earth datasets and toroidal biological data.

Introduction

Most contemporary generative models, such as those used in image synthesis, operate under the assumption that data resides in a flat Euclidean space. However, forcing "curved" data into a flat representation ignores the underlying geometry, leading to mathematical inconsistencies and suboptimal modeling. For instance, earthquake locations are points on a sphere, and protein conformations are defined by torsion angles on a torus. Previous attempts to address this were often restricted to specific geometries or required computationally expensive operations like closest-point projections. Riemannian Diffusion Models (RDM) provide a general, scalable framework for modeling data on any smooth manifold.

Methodology

The RDM framework bridges the gap between diffusion models and differential geometry through several key innovations:

Stratonovich SDEs and Extrinsic Embedding

Unlike standard models that use Itô calculus, RDMs utilize the Stratonovich formulation. This choice is critical because Stratonovich calculus obeys the standard chain rule, facilitating the definition of stochastic processes that remain on a curved surface. To simplify implementation, the manifold is treated as a surface embedded in a higher-dimensional Euclidean space. Standard neural networks are then used in conjunction with a tangential projection to ensure that the model's updates always respect the manifold's geometry.

Riemannian CT-ELBO

The authors derive a new Variational Lower Bound (ELBO) specifically for manifolds. They prove that maximizing this objective is mathematically equivalent to Riemannian Score Matching, providing a rigorous theoretical foundation for training.

Efficient Divergence Computation

Calculating data likelihood requires computing the Riemannian divergence of a vector field. RDM introduces two efficient methods: a QR-decomposition approach for low-dimensional manifolds and a projected Hutchinson method for high-dimensional spaces. These methods bypass the need for closest-point projections, significantly broadening the range of applicable manifolds.

Experimental Results

Earth Datasets

The model was evaluated on spherical ($S^2$) datasets representing global locations of volcanoes, earthquakes, floods, and wildfires. RDMs successfully captured complex, multi-peaked distributions that align with tectonic and climatic patterns.

Likelihood maps for Earth datasets (Earthquake, Fire, Flood, Volcano) modeled on a sphere.

On the Volcano dataset, RDM achieved a Negative Log-Likelihood (NLL) of -6.61, a significant improvement over the previous state-of-the-art of -5.56.

Biological Data

RDMs were also applied to model the backbone conformations of proteins and RNA, represented as sequences of torsion angles on a torus ($T^d$).

Log-likelihood of Glycine torsion angles modeled on a torus.

For RNA data (a 7D torus), RDM achieved an NLL of -3.70, substantially outperforming baseline mixture models which reached only 4.08.

Conclusion and Future Work

Riemannian Diffusion Models represent a significant step forward in geometric deep learning, treating geometry as a first-class citizen. While the current approach requires numerical integration during inference and an embedding in Euclidean space, it provides a robust and scalable solution for generative modeling on manifolds. Future research will focus on scaling these models to extremely high-dimensional manifolds found in complex physical simulations.

Summary updated

BibTeX
@inproceedings{huang2022riemannian,
  author = {Chin-Wei Huang and Milad Aghajohari and Joey Bose and Prakash Panangaden and Aaron Courville},
  title = {{Riemannian Diffusion Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=ecevn9kPm4},
}
Figure