Metric Embeddings Beyond Bi-Lipschitz Distortion via Sherali-Adams

Ainesh Bakshi, Vincent Cohen-Addad, Samuel B. Hopkins, Rajesh Jayaram, Silvio Lattanzi

This paper, recently published by researchers from MIT and Google Research, tackles a fundamental problem in data science and algorithm design: how to map complex, high-dimensional data into a low-dimensional space without losing too much information. While practitioners have used Multi-dimensional Scaling (MDS) for decades, this work provides a significant theoretical breakthrough in understanding its computational complexity.

TL;DR

The authors present the first approximation algorithm for Multi-dimensional Scaling (MDS) that handles metrics with large aspect ratios efficiently. By using a "geometry-aware" rounding of the Sherali-Adams linear programming hierarchy, they improve the running time from exponential to quasi-polynomial in the aspect ratio, bridging a major gap between MDS theory and practice.

What Problem Does This Paper Address?

In the world of metric embeddings, the goal is to take a "complex" metric (a set of points and their pairwise distances) and embed it into a "simpler" space, like 2D or 3D Euclidean space, for visualization or analysis.

Historically, theorists have focused on bi-Lipschitz embeddings, which try to preserve every pairwise distance within a strict multiplicative factor. However, bi-Lipschitz distortion is a harsh metric; it's NP-hard to optimize and often fails to capture the "average" structure of data.

Practitioners instead prefer Multi-dimensional Scaling (MDS), specifically the Kamada-Kawai (KK) objective. This objective minimizes the mean-squared error of the multiplicative distortion: $$\textrm{OPT}=\min_{x}\mathbb{E}_{i,j\in [n]}\left(1-\frac{\|x_i - x_j\|}{d_{i,j}}\right)^2$$ Despite MDS being a "bread-and-butter" technique in statistics and machine learning, we’ve lacked efficient algorithms with provable guarantees. A recent result (Demaine et al., 2021) gave the first approximation, but its running time exploded exponentially with the aspect ratio ($\Delta$)— the ratio between the largest and smallest distances in the data. Since real-world data often has a large $\Delta$ (scaling with the number of points $n$), this was a major bottleneck.

Methods

The authors employ a sophisticated toolkit from theoretical computer science:

  1. Discretization: They first show that you only lose a tiny bit of accuracy ($\epsilon$) by restricting the embedding points to a discrete "net" in Euclidean space.
  2. Sherali-Adams LP Hierarchy: They relax the non-convex MDS objective into a massive Linear Program (LP). The "hierarchy" allows them to trade off computation time for accuracy by considering local distributions of points.
  3. Conditioning-based Rounding: To get an actual embedding from the LP solution, they use a rounding scheme. They pick a small random subset of points, "fix" their locations based on the LP's suggestions, and then place all other points at their conditional expectations.
  4. Geometry-Aware Analysis: The core innovation is a new way to analyze this rounding. They prove that in low-dimensional spaces, conditioning on just a few points is enough to "localize" the rest of the points, provided you account for the geometric scales of the distances.
Figure 1: The authors show that the variance of a point's location after conditioning is bounded by its distance to the nearest conditioned point.

Datasets

As a theoretical paper, it does not benchmark on standard ML datasets like ImageNet. Instead, it uses:

  • Synthetic "Toy" Metrics: Specifically, a perturbed line metric where points are roughly on a line but slightly jostled. This is used to show that their algorithm remains efficient even when the aspect ratio $\Delta$ is large (e.g., $\Delta = \Omega(n)$).
  • Cluster-Structured Instances: A constructed example where MDS successfully recovers cluster structures that Principal Component Analysis (PCA) completely collapses.

Key Insights and Ideas

  • MDS vs. PCA: A key "aha moment" is the demonstration that MDS is fundamentally more powerful than PCA for non-linear dimension reduction. PCA is a linear projection; if your clusters are separated along an axis PCA ignores, they are lost. MDS, being non-linear, can "unfold" data to preserve those clusters.
  • The Power of Conditioning: The authors show that the uncertainty (variance) of where a point should be placed in the embedding drops significantly once you fix the locations of a few "landmark" points.
  • Scale-by-Scale Analysis: To beat the exponential dependence on $\Delta$, they analyze distances scale-by-scale (e.g., distances between 1-2, 2-4, 4-8, etc.). This geometric decomposition is what allows the transition from $\Delta$ to $\log \Delta$ in the exponent of the running time.

Key Results

  • Running Time: They achieve a running time of $n^{O(1)} \cdot 2^{\text{poly}(\log \Delta / \epsilon)}$. This is a massive improvement over the previous $2^{\text{poly}(\Delta / \epsilon)}$ state-of-the-art.
  • Approximation Guarantee: The algorithm produces an embedding with cost $O(\log \Delta) \cdot \text{OPT}^{\Omega(1)} + \epsilon$. While not a constant-factor approximation, it is the first non-trivial guarantee that works for large aspect ratios in polynomial time.
  • Dimension Reduction: They provide a new Lemma showing that for the KK objective, you can always project an $n$-dimensional solution down to $k$ dimensions with only an $O(1/k)$ additive loss in cost.

Limitations and Future Work

  • Approximation Factor: The current bound depends on $\log \Delta$. A major open question is whether a constant-factor approximation exists that is still efficient for large $\Delta$.
  • Objective Variants: MDS has many flavors (e.g., Kruskal’s Stress-1, Sammon mapping). The authors suggest that their Sherali-Adams approach might be adaptable to these, but it hasn't been proven yet.
  • LP Size: While the paper shows the LP can be sparsified to $poly(n)$ size, the actual constants in the exponent are still large, meaning this is currently more of a theoretical feasibility result than a ready-to-use library.

Summary updated

BibTeX
@misc{bakshi2023metric,
  author = {Ainesh Bakshi and Vincent Cohen-Addad and Samuel B. Hopkins and Rajesh Jayaram and Silvio Lattanzi},
  title = {{Metric Embeddings Beyond Bi-Lipschitz Distortion via Sherali-Adams}},
  year = {2023},
  eprint = {2311.17840},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.17840},
}
Figure