Distortion is Fixed Parameter Tractable

We study low-distortion embedding of metric spaces into the line, and more generally, into the shortest path metric of trees, from the parameterized complexity perspective. Let M = M (G ) be the shortest path metric of an edge weighted graph G , with the vertex set V (G ) and the edge set E (G ), on n vertices. We give the first fixed parameter tractable algorithm that for an unweighted graph metric M and integer d either constructs an embedding of M into the line with distortion at most d , or concludes that no such embedding exists. Our algorithm requires O (nd 4(2d + 1)2d ) time which is a significant improvement over the best previous algorithm of Bădoiu et al. that runs in time O (n 4d + 2 d O (1)). We find it surprising that this problem turns out to be fixed parameter tractable, because of its apparent similarity to the notoriously hard Bandwidth Minimization problem. We extend our results on embedding unweighted graph metric into the line in two ways. First, we give an algorithm to construct small distortion embeddings of weighted graph metrics. The running time of our algorithm is O (n (dW )4(2d + 1)2dW ) where W is the largest edge weight of the input graph. To complement this result, we show that the exponential dependence on the maximum edge weight is unavoidable. In particular, we show that deciding whether a weighted graph metric M (G ) with maximum weight W < |V (G )| can be embedded into the line with distortion at most d is NP-Complete for every fixed rational d *** 2. This rules out any possibility of an algorithm with running time O ((nW ) h (d )) where h is a function of d alone. Secondly, we consider more general host metrics for which analogous results hold. In particular, we prove that for any tree T with maximum degree Δ , embedding M into a shortest path metric of T is fixed parameter tractable, parameterized by (Δ ,d ).

[1]  Jörg Flum,et al.  Parameterized Complexity Theory , 2006, Texts in Theoretical Computer Science. An EATCS Series.

[2]  James B. Saxe,et al.  Dynamic-Programming Algorithms for Recognizing Small-Bandwidth Graphs in Polynomial Time , 1980, SIAM J. Algebraic Discret. Methods.

[3]  Dániel Marx,et al.  Known algorithms on graphs of bounded treewidth are probably optimal , 2010, SODA '11.

[4]  Michael R. Fellows,et al.  Beyond NP-completeness for problems of bounded width (extended abstract): hardness for the W hierarchy , 1994, STOC '94.

[5]  Mihai Badoiu,et al.  Approximation algorithms for low-distortion embeddings into low-dimensional spaces , 2005, SODA '05.

[6]  Rolf Niedermeier,et al.  Invitation to Fixed-Parameter Algorithms , 2006 .

[7]  Michael R. Fellows,et al.  Parameterized Complexity , 1998 .

[8]  Jörg Flum,et al.  Parameterized Complexity Theory (Texts in Theoretical Computer Science. An EATCS Series) , 2006 .

[9]  Michael R. Fellows,et al.  The hardness of perfect phylogeny, feasible register assignment and other problems on thin colored graphs , 2000, Theor. Comput. Sci..

[10]  Piotr Indyk,et al.  Low-distortion embeddings of general metrics into the line , 2005, STOC '05.

[11]  Nathan Linial Finite metric spaces: combinatorics, geometry and algorithms , 2002, SCG '02.

[12]  Yuval Rabani,et al.  Low distortion maps between point sets , 2004, STOC '04.

[13]  Anupam Gupta,et al.  Cuts, Trees and ℓ1-Embeddings of Graphs* , 2004, Comb..

[14]  Alexander Hall,et al.  Approximating the Distortion , 2005, APPROX-RANDOM.

[15]  Piotr Indyk,et al.  Approximation algorithms for embedding general metrics into trees , 2007, SODA '07.

[16]  Piotr Indyk,et al.  Algorithmic applications of low-distortion geometric embeddings , 2001, Proceedings 2001 IEEE International Conference on Cluster Computing.

[17]  M. Fellows,et al.  Beyond NP-completeness for problems of bounded width: hardness for the W hierarchy , 1994, Symposium on the Theory of Computing.

[18]  Dániel Marx,et al.  Slightly superexponential parameterized problems , 2011, SODA '11.