Dynamic Dyck and Tree Edit Distance: Decompositions and Reductions to String Edit Distance
Debarati Das, Jacob Gilbert, MohammadTaghi Hajiaghayi, Tomasz Kociumaka, and Barna Saha

TL;DR
This paper introduces the first dynamic algorithms for Dyck and tree edit distances with subpolynomial update times, using reductions to string edit distance and novel decompositions to improve approximation ratios.
Contribution
It provides new dynamic algorithms for Dyck and tree edit distances, including reductions to string edit distance and improved approximation ratios for tree edit distance.
Findings
Achieves subpolynomial update times for Dyck and tree edit distances.
Improves tree edit distance approximation from n^{3/4} to ()()()()()() ()()()()()()() approximation.
Provides a dynamic maintenance algorithm for heavy-light decompositions.
Abstract
We present the first dynamic algorithms for Dyck and tree edit distances with subpolynomial update times. Dyck edit distance measures how far a parenthesis string is from a well-parenthesized expression, while tree edit distance quantifies the minimum number of node insertions, deletions, and substitutions required to transform one rooted, ordered, labeled tree into another. Despite extensive study, no prior work has addressed efficient dynamic algorithms for these problems, which naturally arise in evolving structured data such as LaTeX documents, JSON or XML files, and RNA secondary structures. Our main contribution is a set of reductions and decompositions that transform Dyck and tree edit distance instances into efficiently maintainable string edit distance instances, which can be approximated within a factor in update time. For Dyck edit distance, our…
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
TopicsData Quality and Management · Advanced Database Systems and Queries · Algorithms and Data Compression
