FPT-algorithms for computing Gromov-Hausdorff and interleaving distances between trees

Gromov-Hausdorff (GH) distance is a natural way to measure the distortion between two metric spaces. However, there has been only limited algorithmic development to compute or approximate this distance. We focus on computing the Gromov-Hausdorff distance between two metric trees. Roughly speaking, a metric tree is a metric space that can be realized by the shortest path metric on a tree. Previously, Agarwal et al. showed that even for trees with unit edge length, it is NP hard to approximate the GH distance between them within a factor of 3. In this paper, we present a fixed-parameter tractable (FPT) algorithm that can approximate the GH distance between two general metric trees within a factor of 14. Interestingly, the development of our algorithm is made possible by a connection between the GH distance for metric trees and the interleaving distance for the so-called merge trees. The merge trees arise in practice naturally as a simple yet meaningful topological summary, and are of independent interest. It turns out that an exact or approximation algorithm for the interleaving distance leads to an approximation algorithm for the Gromov-Hausdorff distance. One of the key contributions of our work is that we re-define the interleaving distance in a way that makes it easier to develop dynamic programming approaches to compute it. We then present a FPT algorithm to compute the interleaving distance between two merge trees exactly, which ultimately leads to an FPT-algorithm to approximate the GH distance between two metric trees. This exact FPT-algorithm to compute the interleaving distance between merge trees is of interest itself, as it is known that it is NP-hard to approximate it within a factor of 3, and previously the best known algorithm has an approximation factor of $O(\sqrt{n})$ even for trees with unit edge length.

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

[2]  Ulrich Bauer,et al.  The Reeb Graph Edit Distance is Universal , 2018, SoCG.

[3]  Noga Alon,et al.  Ordinal embeddings of minimum relaxation: general properties, trees, and ultrametrics , 2005, SODA '05.

[4]  Gunther H. Weber,et al.  Interleaving Distance between Merge Trees , 2013 .

[5]  Guillermo Sapiro,et al.  A Theoretical and Computational Framework for Isometry Invariant Recognition of Point Cloud Data , 2005, Found. Comput. Math..

[6]  Julien Tierny Reeb graph based 3D shape modeling and applications , 2008 .

[7]  Lusheng Wang,et al.  Alignment of trees: an alternative to tree edit , 1995 .

[8]  Kyle Fox,et al.  Computing the Gromov-Hausdorff Distance for Metric Trees , 2015, ISAAC.

[9]  Philip Bille,et al.  A survey on tree edit distance and related problems , 2005, Theor. Comput. Sci..

[10]  Franck Hétroy,et al.  Topological quadrangulations of closed triangulated surfaces using the Reeb graph , 2002, Graph. Model..

[11]  Ulrich Bauer,et al.  Measuring Distance between Reeb Graphs , 2013, SoCG.

[12]  Daniela Giorgi,et al.  Reeb graphs for shape analysis and applications , 2008, Theor. Comput. Sci..

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

[14]  Yusu Wang,et al.  Metric embeddings with outliers , 2015, SODA.

[15]  Feodor F. Dragan,et al.  Constant Approximation Algorithms for Embedding Graph Metrics into Trees and Outerplanar Graphs , 2010, APPROX-RANDOM.

[16]  Tao Jiang,et al.  Some MAX SNP-Hard Results Concerning Unordered Labeled Trees , 1994, Inf. Process. Lett..

[17]  Michael R. Fellows,et al.  Parameterized Low-distortion Embeddings - Graph metrics into lines and trees , 2008, ArXiv.

[18]  Mikhail Belkin,et al.  Data Skeletonization via Reeb Graphs , 2011, NIPS.

[19]  Amit Patel,et al.  Categorified Reeb Graphs , 2015, Discret. Comput. Geom..

[20]  Feodor F. Dragan,et al.  Constant Approximation Algorithms for Embedding Graph Metrics into Trees and Outerplanar Graphs , 2010, APPROX-RANDOM.

[21]  M. Gromov Metric Structures for Riemannian and Non-Riemannian Spaces , 1999 .

[22]  Felix Schmiedl,et al.  Computational Aspects of the Gromov–Hausdorff Distance and its Application in Non-rigid Shape Matching , 2017, Discret. Comput. Geom..

[23]  Nir Ailon,et al.  Fitting tree metrics: Hierarchical clustering and phylogeny , 2005, 46th Annual IEEE Symposium on Foundations of Computer Science (FOCS'05).

[24]  Alexander M. Bronstein,et al.  Efficient Computation of Isometry-Invariant Distances Between Surfaces , 2006, SIAM J. Sci. Comput..

[25]  Mikkel Thorup,et al.  On the approximability of numerical taxonomy (fitting distances by tree metrics) , 1996, SODA '96.

[26]  Facundo Mémoli,et al.  Some Properties of Gromov–Hausdorff Distances , 2012, Discret. Comput. Geom..