Lune

ICML2026Top-tier venue

Magnitude Distance: A Geometric Measure of Dataset Similarity

Sahel Torkamani, Henry Gouk, Rik Sarkar

Abstract

Quantifying the distance between datasets is a fundamental question in mathematics and machine learning. We propose magnitude distance, a novel distance metric defined on finite datasets using the notion of the magnitude of a metric space. The proposed distance incorporates a tunable scaling parameter, tt, that controls the sensitivity to global structure (small tt) and finer details (large tt). We prove several theoretical properties of magnitude distance, including its limiting behavior across scales and conditions under which it satisfies key metric properties. In contrast to classical distances, we show that magnitude distance remains discriminative in high-dimensional settings when the scale is appropriately tuned. We further demonstrate how magnitude distance can be used as a training objective for push-forward generative models. Our experimental results support our theoretical analysis and demonstrate that magnitude distance provides meaningful signals, comparable to established distance-based generative approaches.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Approximating Metric Magnitude of Point Sets cites Metric Space Magnitude for Evaluating the Diversity of Latent Representations
  • Approximating Metric Magnitude of Point Sets cites Topological Generalization Bounds for Discrete-Time Stochastic Optimization Algorithms
  • Topological Generalization Bounds for Discrete-Time Stochastic Optimization Algorithms cites Metric Space Magnitude for Evaluating the Diversity of Latent Representations
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on5

  1. Can Push-forward Generative Models Fit Multimodal Distributions?Antoine Salmona, Valentin De Bortoli, Julie Delon, Agnès DesolneuxNeurIPS 2022 · 53 citations
  2. Metric Space Magnitude for Evaluating the Diversity of Latent RepresentationsKatharina Limbeck, Rayna Andreeva, Rik Sarkar, Bastian RieckNeurIPS 2024 · 27 citations
  3. Topological Generalization Bounds for Discrete-Time Stochastic Optimization AlgorithmsRayna Andreeva, Benjamin Dupuis, Rik Sarkar, Tolga Birdal et al.NeurIPS 2024 · 13 citations
  4. Approximating Metric Magnitude of Point SetsRayna Andreeva, James Ward, Primoz Skraba, Jie Gao et al.AAAI 2025 · 3 citations
  5. Inductive Moment MatchingLinqi Zhou, Stefano Ermon, Jiaming SongICML 2025

Related papers

  1. Distributional Sliced-Wasserstein and Applications to Generative ModelingKhai Nguyen, Nhat Ho, Tung Pham, Hung BuiICLR 2021 · 111 citations
  2. Geometric Dataset Distances via Optimal TransportDavid Alvarez-Melis, Nicolò FusiNeurIPS 2020 · 267 citations
  3. Unsupervised Ground Metric Learning Using Wasserstein Singular VectorsGeert-Jan Huizing, Laura Cantini, Gabriel PeyréICML 2022 · 8 citations
  4. Topology Distance: A Topology-Based Approach for Evaluating Generative Adversarial NetworksDanijela Horak, Simiao Yu, Gholamreza Salimi KhorshidiAAAI 2021 · 19 citations
  5. Statistical and Topological Properties of Sliced Probability DivergencesKimia Nadjahi, Alain Durmus, Lénaïc Chizat, Soheil Kolouri et al.NeurIPS 2020 · 115 citations
Dusk over the sea between two cliffs drawn in fine vertical lines