English

An Improved FPT Algorithm for Computing the Interleaving Distance between Merge Trees via Path-Preserving Maps

Computational Geometry 2026-02-13 v1 Data Structures and Algorithms

Abstract

A merge tree is a fundamental topological structure used to capture the sub-level set (and similarly, super-level set) topology in scalar data analysis. The interleaving distance is a theoretically sound, stable metric for comparing merge trees. However, computing this distance exactly is NP-hard. First fixed-parameter tractable (FPT) algorithm for it's exact computation introduces the concept of an ε\varepsilon-good map between two merge trees, where ε\varepsilon is a candidate value for the interleaving distance. The complexity of their algorithm is O(22τ(2τ)2τ+2n2log3n)O(2^{2\tau}(2\tau)^{2\tau+2}\cdot n^2\log^3n) where τ\tau is the degree-bound parameter and nn is the total number of nodes in both the merge trees. Their algorithm exhibits exponential complexity in τ\tau, which increases with the increasing value of ε\varepsilon. In the current paper, we propose an improved FPT algorithm for computing the ε\varepsilon-good map between two merge trees. Our algorithm introduces two new parameters, ηf\eta_f and ηg\eta_g, corresponding to the numbers of leaf nodes in the merge trees MfM_f and MgM_g, respectively. This parametrization is motivated by the observation that a merge tree can be decomposed into a collection of unique leaf-to-root paths. The proposed algorithm achieves a complexity of O ⁣(n2logn+ηgηf(ηf+ηg)nlogn)O\!\left(n^2\log n+\eta_g^{\eta_f}(\eta_f+\eta_g)\, n \log n \right). To obtain this reduced complexity, we assume that number of possible ε\varepsilon-good maps from MfM_f to MgM_g does not exceed that from MgM_g to MfM_f. Notably, the parameters ηf\eta_f and ηg\eta_g are independent of the choice of ε\varepsilon. Compared to their algorithm, our approach substantially reduces the search space for computing an optimal ε\varepsilon-good map. We also provide a formal proof of correctness for the proposed algorithm.

Keywords

Cite

@article{arxiv.2602.12028,
  title  = {An Improved FPT Algorithm for Computing the Interleaving Distance between Merge Trees via Path-Preserving Maps},
  author = {Althaf P and Amit Chattopadhyay and Osamu Saeki},
  journal= {arXiv preprint arXiv:2602.12028},
  year   = {2026}
}

Comments

42 pages

R2 v1 2026-07-01T10:33:50.201Z