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

Be Tangential to Manifold: Discovering Riemannian Metric for Diffusion Models

Shinnosuke Saito, Takashi Matsubara · DOI

Introduction

Diffusion models have revolutionized generative AI, producing high-fidelity images and videos. However, navigating the latent space of these models remains a challenge. A fundamental task in generative modeling is interpolation—finding a smooth path between two data points. Ideally, this path should stay on the "data manifold," the low-dimensional surface where realistic data resides.

Standard techniques like Linear Interpolation (LERP) or Spherical Linear Interpolation (SLERP) often fail because they operate in the high-dimensional noise space without regard for the underlying data structure. These methods frequently "cut across" the manifold, passing through low-probability regions and resulting in blurry or semantically inconsistent intermediate frames. This paper introduces a novel Riemannian metric that allows for "manifold-aware" transitions by staying tangential to the data surface.

Methodology: The Riemannian Perspective

The authors propose treating the noise space of a diffusion model as a Riemannian manifold. The core of their approach is the definition of a new metric derived from the Jacobian of the score function.

The Metric and Intuition

They define the metric as $G_{x_t} = J_{x_t}^\top J_{x_t}$, where $J_{x_t}$ is the Jacobian of the model's score function (the gradient of the log-density). The intuition stems from recent theoretical insights: the Jacobian of the score function "shrinks" along directions tangent to the data manifold and remains large in normal (off-manifold) directions. By minimizing a path's energy under this metric, the model is effectively forced to stay "tangential" to the manifold.

Comparison of interpolation paths on a synthetic 2D C-shaped manifold.

Unlike density-based methods that pull the interpolation toward the "center" of a high-probability mass—often causing over-smoothing—this Riemannian approach encourages the path to run parallel to the manifold. This preserves the unique details of the endpoints while ensuring every step along the path looks like a valid data point.

Geodesic Computation and the "Goldilocks" Timestep

Finding the shortest path (geodesic) in high dimensions is computationally intensive. The authors utilize a discrete approximation, breaking the path into segments and minimizing an energy functional that tracks the change in the score function.

Crucially, they identified that this geometric structure is best captured at intermediate noise levels (around $t = 0.4T$ to $0.6T$). At $t=0$, the manifold is too thin and complex to navigate reliably; at $t=T$, the noise is so dominant that the manifold structure is completely lost. This intermediate window provides the perfect balance for geometric discovery.

Key Results

The proposed method was evaluated across diverse benchmarks, including high-resolution image datasets (Animal Faces-HQ, CelebA-HQ) and complex video frame interpolation tasks (DAVIS, Pexels).

Quantitative Performance

On the Animal Faces (AF) dataset, the method achieved a significant improvement in image quality, reaching an FID of 21.01, compared to SLERP (26.07) and the previous state-of-the-art GeoDiff (25.80). It also demonstrated the lowest reconstruction error, meaning it preserves the identity of the start and end images better than competing non-linear methods.

Qualitative Smoothness

Qualitatively, the method excels at maintaining semantic consistency. In video tasks involving complex human or animal movements, it avoids the "ghosting" or blurry artifacts common in other methods. By staying tangential to the manifold, the transitions appear natural and physically plausible.

Qualitative comparison of image interpolation on the Animal Faces-HQ dataset.

Discussion and Limitations

While the results are state-of-the-art, the method introduces a computational trade-off. Finding these geodesics requires solving an optimization problem for every interpolation, which is significantly slower than the closed-form formulas of LERP or SLERP. Additionally, because the energy functional is non-convex, the optimization is sensitive to initialization; the authors currently use SLERP as a starting guess.

Despite these hurdles, the paper demonstrates that the "failure" or rank-deficiency of a neural network's Jacobian is actually a powerful geometric probe. This Riemannian perspective opens new doors for manifold-aware clustering, controlled image editing, and more robust generative modeling in high-dimensional spaces.

Summary updated

BibTeX
@misc{saito2025be,
  author = {Shinnosuke Saito and Takashi Matsubara},
  title = {{Be Tangential to Manifold: Discovering Riemannian Metric for Diffusion Models}},
  year = {2025},
  eprint = {2510.05509},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.05509},
}
Figure