Small Transformers Compute Universal Metric Embeddings

09/14/2022
by   Anastasis Kratsios, et al.
8

We study representations of data from an arbitrary metric space 𝒳 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 n^2 can bi-Hölder embed any n-point dataset from 𝒳 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 𝒳'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ölder embeddings with arbitrarily small distortion.

READ FULL TEXT

page 3

page 4

page 5

page 8

page 17

page 19

page 20

page 21

research
02/24/2020

Computing Bi-Lipschitz Outlier Embeddings into the Line

The problem of computing a bi-Lipschitz embedding of a graphical metric ...
research
01/04/2021

Clan Embeddings into Trees, and Low Treewidth Graphs

In low distortion metric embeddings, the goal is to embed a host "hard" ...
research
02/22/2018

Near Isometric Terminal Embeddings for Doubling Metrics

Given a metric space (X,d), a set of terminals K⊆ X, and a parameter t> ...
research
05/28/2021

Lower Bounds on the Low-Distortion Embedding Dimension of Submanifolds of ℝ^n

Let ℳ be a smooth submanifold of ℝ^n equipped with the Euclidean (chorda...
research
06/20/2023

Composition of nested embeddings with an application to outlier removal

We study the design of embeddings into Euclidean space with outliers. Gi...
research
10/08/2021

On Fast Johnson-Lindenstrauss Embeddings of Compact Submanifolds of ℝ^N with Boundary

Let ℳ be a smooth d-dimensional submanifold of ℝ^N with boundary that's ...
research
11/08/2018

Nonlinear Dimension Reduction via Outer Bi-Lipschitz Extensions

We introduce and study the notion of an outer bi-Lipschitz extension of ...

Please sign up or login with your details

Forgot password? Click here to reset