Learning Distances from Data with Normalizing Flows and Score Matching
Not on the map. Why?
Abstract (arXiv)
Density-based distances (DBDs) provide a principled approach to metric learning by defining distances in terms of the underlying data distribution. By employing a Riemannian metric that increases in regions of low probability density, shortest paths naturally follow the data manifold. Fermat distances, a specific type of DBD, have attractive properties, but existing estimators based on nearest neighbor graphs suffer from poor convergence due to inaccurate density estimates. Moreover, graph-based methods scale poorly to high dimensions, as the proposed geodesics are often insufficiently smooth. We address these challenges in two key ways. First, we learn densities using normalizing flows. Second, we refine geodesics through relaxation, guided by a learned score model. Additionally, we introduce a dimension-adapted Fermat distance that scales intuitively to high dimensions and improves numerical stability. Our work paves the way for the practical use of density-based distances, especially in high-dimensional spaces.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 15 of its 33 references that are in the map. First posted on arXiv 12 Jul 2024.
Builds on
15 of 33 references.
References · 15
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
- 2015Variational Inference with Normalizing Flowscited by 2,170
- 2016Density estimation using Real NVPcited by 2,042
- 2019Normalizing Flows for Probabilistic Modeling and Inferencecited by 1,323
- 2014NICE: Non-linear Independent Components Estimationcited by 1,058
- 2019Neural Spline Flowscited by 596
- 2019Sliced Score Matching: A Scalable Approach to Density and Score Estimationcited by 384
- 2024Metric Flow Matching for Smooth Interpolations on the Data Manifoldcited by 77
- 2017Path-Based Spectral Clustering: Guarantees, Robustness to Outliers, and Fast Algorithmscited by 17
- 2020Balancing Geometry and Density: Path Distances on High-Dimensional Datacited by 16
- 2023Fermat Distances: Metric Approximation, Spectral Convergence, and Clustering Algorithmscited by 12
Built on by
Citing papers per year: 2024: 2; 2025: 5; 2026: 3.
10 papers.
- 2025Probability Density Geodesics in Image Diffusion Latent Spacecited by 9
- 2025Iso-Riemannian Optimization on Learned Data Manifoldscited by 4
- 2024Score-based Pullback Riemannian Geometry: Extracting the Data Manifold Geometry using Anisotropic Flowscited by 3
- 2025Be Tangential to Manifold: Discovering Riemannian Metric for Diffusion Modelscited by 3
- 2025Geodesic Calculus on Implicitly Defined Latent Manifoldscited by 2
- 2026GeodesicNVS: Probability Density Geodesic Flow Matching for Novel View Synthesiscited by 2
- 2026Riemannian AmbientFlow: Towards Simultaneous Manifold Learning and Generative Modeling from Corrupted Datacited by 1
- 2026Riemannian Archetypal Analysis: Interpretable non-linear data analysis on deformed star distributionscited by 1
- 2024Learning Locally Adaptive Metrics that Enhance Structural Representation with textttLAMINARcited by 0
- 2025Energy Guided Geometric Flow Matchingcited by 0
- 2026Riemannian Archetypal Analysis: Interpretable non-linear data analysis on deformed star distributions22 May 2026
- 2026GeodesicNVS: Probability Density Geodesic Flow Matching for Novel View Synthesis1 Mar 2026
- 2026Riemannian AmbientFlow: Towards Simultaneous Manifold Learning and Generative Modeling from Corrupted Data26 Jan 2026
- 2025Iso-Riemannian Optimization on Learned Data Manifolds23 Oct 2025
- 2025Geodesic Calculus on Implicitly Defined Latent Manifolds10 Oct 2025
- 2025Be Tangential to Manifold: Discovering Riemannian Metric for Diffusion Models7 Oct 2025
- 2025Energy Guided Geometric Flow Matching25 Sep 2025
- 2025Probability Density Geodesics in Image Diffusion Latent Space9 Apr 2025
- 2024Learning Locally Adaptive Metrics that Enhance Structural Representation with textttLAMINAR13 Nov 2024
- 2024Score-based Pullback Riemannian Geometry: Extracting the Data Manifold Geometry using Anisotropic Flows2 Oct 2024