Faster Algorithm for Bounded Tree Edit Distance in the Low-Distance Regime
Tomasz Kociumaka, Ali Shahali

TL;DR
This paper introduces a faster algorithm for computing the bounded tree edit distance, especially effective for small distances, by leveraging periodic structures within trees to improve efficiency.
Contribution
It presents an $O(n + k^6 ext{log} k)$-time algorithm for weighted and unweighted bounded tree edit distance, improving upon previous methods.
Findings
Achieved a significant reduction in running time for bounded tree edit distance.
Developed a novel optimization exploiting periodic structures in trees.
Enhanced the universal kernel to incorporate periodic structures.
Abstract
The tree edit distance is a natural dissimilarity measure between rooted ordered trees whose nodes are labeled over an alphabet . It is defined as the minimum number of node edits (insertions, deletions, and relabelings) required to transform one tree into the other. In the weighted variant, the edits have associated costs (depending on the involved node labels) normalized so that each cost is at least one, and the goal is to minimize the total cost of edits. The unweighted tree edit distance between two trees of total size can be computed in time; in contrast, determining the weighted tree edit distance is fine-grained equivalent to the All-Pairs Shortest Paths problem and requires time [Nogler et al.; STOC'25]. These super-quadratic running times are unattractive for large but very similar trees, which motivates the bounded…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
