An O(n^3)-Time Algorithm for Tree Edit Distance
Erik D. Demaine, Shay Mozes, Benjamin Rossman, Oren Weimann

TL;DR
This paper introduces an improved $O(n^3)$-time algorithm for computing tree edit distance, utilizing a novel adaptive dynamic programming strategy and establishing its optimality among decomposition strategies.
Contribution
The paper presents the first $O(n^3)$-time algorithm for tree edit distance and proves its optimality within a class of algorithms, improving upon previous bounds.
Findings
Achieved a worst-case $O(n^3)$ algorithm for tree edit distance.
Proved the algorithm's optimality among decomposition strategy algorithms.
Established tight bounds for trees of different sizes.
Abstract
The {\em edit distance} between two ordered trees with vertex labels is the minimum cost of transforming one tree into the other by a sequence of elementary operations consisting of deleting and relabeling existing nodes, as well as inserting new nodes. In this paper, we present a worst-case -time algorithm for this problem, improving the previous best -time algorithm~\cite{Klein}. Our result requires a novel adaptive strategy for deciding how a dynamic program divides into subproblems (which is interesting in its own right), together with a deeper understanding of the previous algorithms for the problem. We also prove the optimality of our algorithm among the family of \emph{decomposition strategy} algorithms--which also includes the previous fastest algorithms--by tightening the known lower bound of ~\cite{Touzet} to , matching…
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.
