Metric notes

Posted on May 26, 2025 by Yu Cong
Tags: ,

1 Finite metric embeds into

Bourgain’s theorem states that there exists such an embedding with distortion . What if we only want to use tree metrics? It seems that the distortion becomes . https://chekuri.cs.illinois.edu/papers/packing.pdf

2 Largest finite metric

Arora, Rao and Vazirani made a famous work about approximating uniform sparsest cut to via SDP [1]. Their SDP is finding a finite metric . An interesting question is that how large can be given that is a metric. Satisfying the triangle inequality is the same as requiring any three points in must form a non-obtuse triangle. One can see that the vertex set in the dimensional hypercube is always a feasible solution. The hard part is the upperbound. I asked this problem on math.sx and found a proof in Proofs from THE BOOK chapter 17.

3 Shortest path representation

For any finite metric on there is a corresponding graph shortest path metric on with . Given a finite metric on , how to find with as small as possible? This looks similar to a previous post in chinese. How to prove that computing the minimum number of edges is NP-hard?

Consider a simple case that the metric space is 2D Euclidean space. One can see that the graph for the shortest path representation is a complete graph if and only if all the points in the 2D plane is in general position. However, deciding if a set of points in is NP-complete. The reduction is from graph independent set. See this post.

4 Embedding tree metric into

There is an exercise in lecture notes 1 of TTIC CMCS 39600. Show that any point tree metric can be embedded isometrically into .

Let’s first try the Fréchet embedding for some . Define , where is the direct sum of vector coordinates. Then one has

The subset needs to satisfy the followings,

  1. (dimension bound)
  2. for each pair of points , there exists an element such that . (isometric)

It turns out that a hard example is the star with unit edge length. Now suppose we select any subset and get the embedding . There must be at least two degree one vertices (say ) not in since . Then we have for any . However, the tree metric shows . Thus our Fréchet embedding is not isometric…

Or is it? We can adjust constraints on the desired point set a little bit. Consider the coordinate for . Instead of setting the value of the -corrdinate for each with , we can make it a function of and the centroid of the tree. The condition (2.) is basically asking for a vertex set such that for any path in the tree there is a vertex such that there is a path or . (We can see that is in via the star example.) This condition can be changed to finding a path . It is known that for any tree with vertices there is a vertex called centroid that decomposes the tree into 2 trees such that,

  1. ,
  2. ,
  3. .

(using for the set of vertices in …)

We maintain a vector for each vertex in the tree metric space. Decompose the current tree into two parts and at the centroid . Add a new dimension (the -coordinate) for each vector: For the new coordinate is ; For the new coordinate is . One can prove by induction that the resulting vectors with norm is an isometrically embedding of the original metric space . The dimension is the same as the depth of centroid decomposition, which is clearly .

This method is described in [2, Theorem 5.3].

5 -outlier embedding into [3]

Given two metric space and , is said to have a -outlier embedding into if there is a set of size at most and a mapping with distortion . Deciding if has a -outlier embedding into is NP-Complete for . Authors of [3] provide a polytime algorithm that constructs an -outlier embedding into (thm 2.9). They noticed the followings

  1. Given a subset of size and a partial embedding with distortion , there is a polynomial time algorithm that finds a weak -nested composition. (thm 2.6, note that the host space can be any Banach space, thus a weak -nested composition into )
  2. One can round a weak -nested composition for an -outlier embedding into (via rounding a SDP, lemma 3.1)

Weak -nested composition is somewhat stronger than -outlier embedding since the former additionally requires an expansion bound on outlier points. In fact I guess that the definition of weak -nested composition is extracted from the SDP formulation of min-outlier.

Note that this SDP is not a relaxation for -outlier embedding (finding the smallest for fixed ) since the optimal solution may not satisfy the constraint for outlier and non-outlier . However, (1.) shows that if admits a -outlier embedding, then there is a weak -nested composition, which implies this SDP has a feasible solution with and integral . Then one can use the rounding process in (2.) to get a -outlier embedding into .

References

[1]
S. Arora, S. Rao, U. Vazirani, Expander flows, geometric embeddings and graph partitioning, in: Proceedings of the Thirty-Sixth Annual ACM Symposium on Theory of Computing, Association for Computing Machinery, New York, NY, USA, 2004: pp. 222–231 10.1145/1007352.1007355.
[2]
N. Linial, E. London, Y. Rabinovich, The geometry of graphs and some of its algorithmic applications, Combinatorica. 15 (1995) 215–245 10.1007/BF01200757.
[3]
S. Chawla, K. Sheridan, Composition of nested embeddings with an application to outlier removal, in: Proceedings of the 2024 Annual ACM-SIAM Symposium on Discrete Algorithms, Society for Industrial and Applied Mathematics, 2023: pp. 1641–1668 10.1137/1.9781611977912.66.