$\tilde{O}(n+\mathrm{poly}(k))$-time Algorithm for Bounded Tree Edit Distance
Debarati Das, Jacob Gilbert, MohammadTaghi Hajiaghayi, Tomasz, Kociumaka, Barna Saha, Hamed Saleh

TL;DR
This paper presents an efficient algorithm with near-linear time complexity in the size of the input for computing the tree edit distance when the distance is bounded by a parameter k, improving over previous methods.
Contribution
The paper introduces the first $ ilde{O}(n+ ext{poly}(k))$-time algorithm for bounded tree edit distance, resolving an open problem in the field.
Findings
Achieves near-linear time complexity for bounded tree edit distance
Improves upon previous $ ilde{O}(nk^2)$-time algorithms
Provides theoretical foundation for faster tree similarity computations
Abstract
Computing the edit distance of two strings is one of the most basic problems in computer science and combinatorial optimization. Tree edit distance is a natural generalization of edit distance in which the task is to compute a measure of dissimilarity between two (unweighted) rooted trees with node labels. Perhaps the most notable recent application of tree edit distance is in NoSQL big databases, such as MongoDB, where each row of the database is a JSON document represented as a labeled rooted tree, and finding dissimilarity between two rows is a basic operation. Until recently, the fastest algorithm for tree edit distance ran in cubic time (Demaine, Mozes, Rossman, Weimann; TALG'10); however, Mao (FOCS'21) broke the cubic barrier for the tree edit distance problem using fast matrix multiplication. Given a parameter as an upper bound on the distance, an -time algorithm…
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.
Taxonomy
TopicsComplexity and Algorithms in Graphs · Algorithms and Data Compression · Graph Theory and Algorithms
