Small Transformers Compute Universal Metric Embeddings
Not on the map. Why?
Abstract (arXiv)
We study representations of data from an arbitrary metric space X in the space of univariate Gaussian mixtures with a transport metric (Delon and Desolneux 2020). We derive embedding guarantees for feature maps implemented by small neural networks called probabilistic transformers. Our guarantees are of memorization type: we prove that a probabilistic transformer of depth about nlog(n) and width about n2 can bi-H"older embed any n-point dataset from X with low metric distortion, thus avoiding the curse of dimensionality. We further derive probabilistic bi-Lipschitz guarantees, which trade off the amount of distortion and the probability that a randomly chosen pair of points embeds with that distortion. If X's geometry is sufficiently regular, we obtain stronger, bi-Lipschitz guarantees for all points in the dataset. As applications, we derive neural embedding guarantees for datasets from Riemannian manifolds, metric trees, and certain types of combinatorial graphs. When instead embedding into multivariate Gaussian mixtures, we show that probabilistic transformers can compute bi-H"older embeddings with arbitrarily small distortion.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 53 of its 153 references that are in the map. First posted on arXiv 14 Sep 2022.
Builds on
53 of 153 references.
References · 53
- 2017Attention Is All You Needcited by 60,361
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2017Graph Attention Networkscited by 8,923
- 2017Spectrally-normalized margin bounds for neural networkscited by 686
- 2017Poincar'e Embeddings for Learning Hierarchical Representationscited by 684
- 2016Error bounds for approximations with deep ReLU networkscited by 574
- 2020What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimationcited by 497
- 2019The generalization error of random features regression: Precise asymptotics and double descent curvecited by 413
- 2018Hyperbolic Neural Networkscited by 402
- 2017Nearly-tight VC-dimension and pseudodimension bounds for piecewise linear neural networkscited by 311
- 2019Universal Approximation with Deep Narrow Networkscited by 200
- 2018Universality of Deep Convolutional Neural Networkscited by 176
38 more
- 2018Adaptivity of deep ReLU network for learning in Besov and mixed smooth Besov spaces: optimal rate and curse of dimensionalitycited by 162
- 2015Path-SGD: Path-Normalized Optimization in Deep Neural Networkscited by 120
- 2020Geoopt: Riemannian Optimization in PyTorchcited by 114
- 2021Generalization error of random features and kernel methods: hypercontractivity and kernel matrix concentrationcited by 110
- 2020Minimum Width for Universal Approximationcited by 94
- 2018Embedding Text in Hyperbolic Spacescited by 76
- 2019A Wasserstein-type distance in the space of Gaussian Mixture Modelscited by 75
- 2018geomstats: a Python Package for Riemannian Geometry in Machine Learningcited by 71
- 2020From Trees to Continuous Embeddings and Back: Hyperbolic Hierarchical Clusteringcited by 65
- 2020Representation formulas and pointwise properties for Barron functionscited by 62
- 2017Multilevel Clustering via Wasserstein Meanscited by 49
- 2019Inferring Concept Hierarchies from Text Corpora via Hyperbolic Embeddingscited by 49
- 2021HoroPCA: Hyperbolic Dimensionality Reduction via Horospherical Projectionscited by 47
- 2021Universal Approximation Theorems for Differentiable Geometric Deep Learningcited by 41
- 2021On the Optimal Memorization Power of ReLU Neural Networkscited by 40
- 2020Wasserstein Regressioncited by 35
- 2020Provable Memorization via Deep Neural Networks using Sub-linear Parameterscited by 34
- 2021Universal Approximation Under Constraints is Possible with Transformerscited by 32
- 2015Fast Discrete Distribution Clustering Using Wasserstein Barycenter with Sparse Supportcited by 30
- 2020Computationally Tractable Riemannian Manifolds for Graph Embeddingscited by 29
- 2020Non-Euclidean Universal Approximationcited by 29
- 2020Failures of model-dependent generalization bounds for least-norm interpolationcited by 26
- 2019Neural Networks Learning and Memorization with (almost) no Over-Parameterizationcited by 23
- 2020Globally Injective ReLU Networkscited by 23
- 2020A Fully Hyperbolic Neural Model for Hierarchical Multi-Class Classificationcited by 23
- 2021Symmetric Spaces for Graph Embeddings: A Finsler-Riemannian Approachcited by 23
- 2022Heterogeneous manifolds for curvature-aware graph embeddingcited by 23
- 2022Designing Universal Causal Deep Learning Models: The Geometric (Hyper)Transformercited by 22
- 2016Machine learning meets network science: dimensionality reduction for fast and efficient embedding of networks in the hyperbolic spacecited by 21
- 2019HyperKG: Hyperbolic Knowledge Graph Embeddings for Knowledge Base Completioncited by 20
- 2016Causal optimal transport and its links to enlargement of filtrations and continuous-time stochastic optimizationcited by 11
- 2018Variational Wasserstein Clusteringcited by 11
- 2021Linear Classifiers in Product Space Formscited by 11
- 2018Capacity Control of ReLU Neural Networks by Basis-path Normcited by 10
- 2020Hyperbolic Distance Matricescited by 7
- 2017Computational Methods for Martingale Optimal Transport problemscited by 6
- 2021On Procrustes Analysis in Hyperbolic Spacecited by 5
- 2021Universal Regular Conditional Distributionscited by 4
50 most cited of 53 All 53 (JSON)
Built on by
Citing papers per year: 2022: 1; 2023: 4; 2024: 3; 2025: 3; 2026: 1.
12 papers.
- 2024Transformers are Universal In-context Learnerscited by 43
- 2022Designing Universal Causal Deep Learning Models: The Case of Infinite-Dimensional Dynamical Systems from Stochastic Analysiscited by 22
- 2023A Brief Survey on the Approximation Theory for Sequence Modellingcited by 15
- 2023Neural Snowflakes: Universal Latent Graph Inference via Trainable Latent Geometriescited by 6
- 2025Transformers through the lens of support-preserving maps between measurescited by 6
- 2024Neural Spacetimes for DAG Representation Learningcited by 5
- 2025The Curved Spacetime of Transformer Architecturescited by 5
- 2023Capacity Bounds for Hyperbolic Neural Network Representations of Latent Tree Structurescited by 4
- 2023Transformers Can Solve Non-Linear and Non-Markovian Filtering Problems in Continuous Time For Conditionally Gaussian Signalscited by 4
- 2025Beyond Universal Approximation Theorems: Algorithmic Uniform Approximation by Neural Networks Trained with Noisy Datacited by 2
- 2024Tighter Learning Guarantees on Digital Computers via Concentration of Measure on Finite Spacescited by 0
- 2026Classification Fields: Arbitrarily Fine Recursive Hierarchical Clustering From Few Examplescited by 0
- 2026Classification Fields: Arbitrarily Fine Recursive Hierarchical Clustering From Few Examples8 May 2026
- 2025The Curved Spacetime of Transformer Architectures4 Nov 2025
- 2025Transformers through the lens of support-preserving maps between measures30 Sep 2025
- 2025Beyond Universal Approximation Theorems: Algorithmic Uniform Approximation by Neural Networks Trained with Noisy Data31 Aug 2025
- 2024Neural Spacetimes for DAG Representation Learning25 Aug 2024
- 2024Transformers are Universal In-context Learners2 Aug 2024
- 2024Tighter Learning Guarantees on Digital Computers via Concentration of Measure on Finite Spaces8 Feb 2024
- 2023Transformers Can Solve Non-Linear and Non-Markovian Filtering Problems in Continuous Time For Conditionally Gaussian Signals30 Oct 2023
- 2023Neural Snowflakes: Universal Latent Graph Inference via Trainable Latent Geometries23 Oct 2023
- 2023Capacity Bounds for Hyperbolic Neural Network Representations of Latent Tree Structures18 Aug 2023
- 2023A Brief Survey on the Approximation Theory for Sequence Modelling27 Feb 2023
- 2022Designing Universal Causal Deep Learning Models: The Case of Infinite-Dimensional Dynamical Systems from Stochastic Analysis24 Oct 2022