Follow the Energy, Find the Path: Riemannian Metrics from Energy-Based Models
Not on the map. Why?
Abstract (arXiv)
What is the shortest path between two data points lying in a high-dimensional space? While the answer is trivial in Euclidean geometry, it becomes significantly more complex when the data lies on a curved manifold -- requiring a Riemannian metric to describe the space's local curvature. Estimating such a metric, however, remains a major challenge in high dimensions. In this work, we propose a method for deriving Riemannian metrics directly from pretrained Energy-Based Models (EBMs) -- a class of generative models that assign low energy to high-density regions. These metrics define spatially varying distances, enabling the computation of geodesics -- shortest paths that follow the data manifold's intrinsic geometry. We introduce two novel metrics derived from EBMs and show that they produce geodesics that remain closer to the data manifold and exhibit lower curvature distortion, as measured by alignment with ground-truth trajectories. We evaluate our approach on increasingly complex datasets: synthetic datasets with known data density, rotated character images with interpretable geometry, and high-resolution natural images embedded in a pretrained VAE latent space. Our results show that EBM-derived metrics consistently outperform established baselines, especially in high-dimensional settings. Our work is the first to derive Riemannian metrics from EBMs, enabling data-aware geodesics and unlocking scalable, geometry-driven learning for generative modeling and simulation.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 63 of its 107 references that are in the map. First posted on arXiv 23 May 2025.
Builds on
63 of 107 references.
References · 63
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
- 2022Flow Matching for Generative Modelingcited by 5,702
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,849
- 2015Variational Inference with Normalizing Flowscited by 2,170
- 2016Group Equivariant Convolutional Networkscited by 1,165
- 2019StarGAN v2: Diverse Image Synthesis for Multiple Domainscited by 1,098
- 2021E(n) Equivariant Graph Neural Networkscited by 965
- 2017Poincar'e Embeddings for Learning Hierarchical Representationscited by 684
- 2014Deep metric learning using Triplet networkcited by 422
- 2019Sliced Score Matching: A Scalable Approach to Density and Score Estimationcited by 384
38 more
- 2016Steerable CNNscited by 305
- 2021How to Train Your Energy-Based Modelscited by 274
- 2019Gauge Equivariant Convolutional Networks and the Icosahedral CNNcited by 267
- 2023Flow Matching on General Geometriescited by 265
- 2020Generalizing Convolutional Neural Networks for Equivariance to Lie Groups on Arbitrary Continuous Datacited by 248
- 2020Why Normalizing Flows Fail to Detect Out-of-Distribution Datacited by 221
- 2023Reduce, Reuse, Recycle: Compositional Generation with Energy-Based Diffusion Models and MCMCcited by 220
- 2022Riemannian Score-Based Generative Modellingcited by 219
- 2017Latent Space Oddity: on the Curvature of Deep Generative Modelscited by 174
- 2013Revisiting Natural Gradient for Deep Networkscited by 159
- 2018Poincar'e GloVe: Hyperbolic Word Embeddingscited by 156
- 2023Diffusion Schr"odinger Bridge Matchingcited by 153
- 2019From Variational to Deterministic Autoencoderscited by 133
- 2015A roadmap for the computation of persistent homologycited by 127
- 2020Flows for simultaneous manifold learning and density estimationcited by 118
- 2019On the Anatomy of MCMC-Based Maximum Likelihood Learning of Energy-Based Modelscited by 105
- 2020Learning Latent Space Energy-Based Prior Modelcited by 104
- 2020VAEBM: A Symbiosis between Variational Autoencoders and Energy-based Modelscited by 104
- 2021Deep Generative Learning via Schr"odinger Bridgecited by 104
- 2024Metric Flow Matching for Smooth Interpolations on the Data Manifoldcited by 77
- 2020No MCMC for me: Amortized sampling for fast and stable training of energy-based modelscited by 64
- 2020Geometrically Enriched Latent Spacescited by 45
- 2023Generative Adversarial Symmetry Discoverycited by 42
- 2020The Expressive Power of a Class of Normalizing Flow Modelscited by 35
- 2020Variational Autoencoders with Riemannian Brownian Motion Priorscited by 34
- 2019Model Based Planning with Energy Based Modelscited by 33
- 2019Learning Energy-Based Models in High-Dimensional Spaces with Multi-scale Denoising Score Matchingcited by 26
- 2023Free-form Flows: Make Any Architecture a Normalizing Flowcited by 26
- 2019Fast and Robust Shortest Paths on Manifolds Learned from Datacited by 25
- 2016A Locally Adaptive Normal Distributioncited by 23
- 2021Learning Riemannian Manifolds for Geodesic Motion Skillscited by 23
- 2021Pulling back information geometrycited by 23
- 2014From Manifold to Manifold: Geometry-Aware Dimensionality Reduction for SPD Matricescited by 22
- 2023Augmented Bridge Matchingcited by 21
- 2018Only Bayes should learn a manifold (on the estimation of differential geometric structure from data)cited by 17
- 2018Fast Approximate Geodesics for Deep Generative Modelscited by 13
- 2023Euler Characteristic Tools For Topological Data Analysiscited by 13
- 2024Geometry-Aware Generative Autoencoders for Warped Riemannian Metric Learning and Generative Modeling on Data Manifoldscited by 13
50 most cited of 63 All 63 (JSON)
Built on by
Citing papers per year: 2025: 2; 2026: 5.
7 papers.
- 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behaviorcited by 26
- 2025Be Tangential to Manifold: Discovering Riemannian Metric for Diffusion Modelscited by 3
- 2025Energy-Tweedie: Score meets Score, Energy meets Energycited by 1
- 2026Discovering Data Manifold Geometry through Geometric Propertiescited by 1
- 2026Graph Energy Matching: Transport-Aligned Energy-Based Modeling for Graph Generationcited by 1
- 2026Not Too Generative, Not Too Discriminative: The Human Alignment Sweet Spotcited by 0
- 2026Cross-Block Conditioning in Deep Boltzmann Machines for Statistical Data Fusioncited by 0
- 2026Cross-Block Conditioning in Deep Boltzmann Machines for Statistical Data Fusion14 Sep 2026
- 2026Not Too Generative, Not Too Discriminative: The Human Alignment Sweet Spot22 May 2026
- 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behavior6 May 2026
- 2026Graph Energy Matching: Transport-Aligned Energy-Based Modeling for Graph Generation24 Mar 2026
- 2026Discovering Data Manifold Geometry through Geometric Properties2 Feb 2026
- 2025Energy-Tweedie: Score meets Score, Energy meets Energy29 Dec 2025
- 2025Be Tangential to Manifold: Discovering Riemannian Metric for Diffusion Models7 Oct 2025