mlsanityData to 14 Oct 2026

Learning Distances from Data with Normalizing Flows and Score Matching

arXiv 2407.09297 ↗First posted 12 Jul 2024cs.LG stat.MLcited by 10

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

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  2. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
  3. 2015Variational Inference with Normalizing Flowscited by 2,170
  4. 2016Density estimation using Real NVPcited by 2,042
  5. 2019Normalizing Flows for Probabilistic Modeling and Inferencecited by 1,323
  6. 2014NICE: Non-linear Independent Components Estimationcited by 1,058
  7. 2019Neural Spline Flowscited by 596
  8. 2019Sliced Score Matching: A Scalable Approach to Density and Score Estimationcited by 384
  9. 2024Metric Flow Matching for Smooth Interpolations on the Data Manifoldcited by 77
  10. 2017Path-Based Spectral Clustering: Guarantees, Robustness to Outliers, and Fast Algorithmscited by 17
  11. 2020Balancing Geometry and Density: Path Distances on High-Dimensional Datacited by 16
  12. 2023Fermat Distances: Metric Approximation, Spectral Convergence, and Clustering Algorithmscited by 12
3 more
  1. 2019Power Weighted Shortest Paths for Clustering Euclidean Datacited by 10
  2. 2016Minimax-optimal semi-supervised regression on unknown manifoldscited by 7
  3. 2017Exact Computation of a Manifold Metric, via Lipschitz Embeddings and Shortest Paths on a Graphcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 2; 2025: 5; 2026: 3.

10 papers.