Approximating Metric Magnitude of Point Sets
Rayna Andreeva, James Ward, Primoz Skraba, Jie Gao, Rik Sarkar
Abstract
Metric magnitude is a measure of the "size" of point clouds with many desirable geometric properties. It has been adapted to various mathematical contexts and recent work suggests that it can enhance machine learning and optimization algorithms. But its usability is limited due to the computational cost when the dataset is large or when the computation must be carried out repeatedly (e.g. in model training). In this paper, we study the magnitude computation problem, and show efficient ways of approximating it. We show that it can be cast as a convex optimization problem, but not as a submodular optimization. The paper describes two new algorithms -an iterative approximation algorithm that converges fast and is accurate, and a subset selection method that makes the computation even faster. It has been previously proposed that magnitude of model sequences generated during stochastic gradient descent is correlated to generalization gap. Extension of this result using our more scalable algorithms shows that longer sequences in fact bear higher correlations. We also describe new applications of magnitude in machine learning -as an effective regularizer for neural network training, and as a novel clustering criterion.
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.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Magnitude Distance: A Geometric Measure of Dataset Similarity cites Metric Space Magnitude for Evaluating the Diversity of Latent Representations
- Geometry-Aware Edge Pooling for Graph Neural Networks cites Metric Space Magnitude for Evaluating the Diversity of Latent Representations
Cited by top-tier papers2
Builds on6
- Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
- Do Vision Transformers See Like Convolutional Neural Networks?Maithra Raghu, Thomas Unterthiner, Simon Kornblith, Chiyuan Zhang et al.NeurIPS 2021 · 1,553 citations
- Fantastic Generalization Measures are Nowhere to be FoundMichael Gastpar, Ido Nachum, Jonathan Shafer, Thomas WeinbergerICLR 2024 · 29 citations
- Metric Space Magnitude for Evaluating the Diversity of Latent RepresentationsKatharina Limbeck, Rayna Andreeva, Rik Sarkar, Bastian RieckNeurIPS 2024 · 27 citations
- Generalization Bounds using Data-Dependent Fractal DimensionsBenjamin Dupuis, George Deligiannidis, Umut SimsekliICML 2023 · 17 citations
Related papers
- A Novel Sequential Coreset Method for Gradient Descent AlgorithmsJiawei Huang, Ruomin Huang, Wenjie Liu, Nikolaos M. Freris et al.ICML 2021 · 20 citations
- Coresets for Data-efficient Training of Machine Learning ModelsBaharan Mirzasoleiman, Jeff A. Bilmes, Jure LeskovecICML 2020 · 494 citations
- Towards Scalable Topological RegularizersHiu-Tung Wong, Darrick Lee, Hong YanICLR 2025
- Generalization Bound of Gradient Descent for Non-Convex Metric LearningMingzhi Dong, Xiaochen Yang, Rui Zhu, Yujiang Wang et al.NeurIPS 2020 · 5 citations
- Obtaining Adjustable Regularization for Free via Iterate AveragingJingfeng Wu, Vladimir Braverman, Lin YangICML 2020 · 2 citations
