Metraipolis › archive › dc_c75655e73a7d
Tree Edit Distance: Near-Linear-Time Approximate, Sublinear, and Dynamic — arXiv:2610.22250
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.22250
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-16T10:40:26.859Z
- SHA-256 of the archived text
777729e9d3ff4455a050cdff09e6d41e2445472ec990c5415697581356f4ba96- Stable URL of this page
https://metraipolis.com/documento/dc_c75655e73a7d
How to cite
Tree Edit Distance: Near-Linear-Time Approximate, Sublinear, and Dynamic — arXiv:2610.22250 — arXiv (en), https://arxiv.org/abs/2610.22250 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_c75655e73a7d (Metraipolis archive dc_c75655e73a7d, sha256 777729e9d3ff4455a050cdff09e6d41e2445472ec990c5415697581356f4ba96)
BibTeX
@misc{dcc75655e73a7d,
title = {Tree Edit Distance: Near-Linear-Time Approximate, Sublinear, and Dynamic — arXiv:2610.22250},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.22250},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_c75655e73a7d; sha256 777729e9d3ff4455a050cdff09e6d41e2445472ec990c5415697581356f4ba96},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.22250. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Tree edit distance (TED), the analog of string edit distance (ED) for hierarchical data, is the minimum number of node insertions, deletions, and substitutions transforming one labeled rooted ordered tree into another. We narrow polynomial gaps between TED and ED in near-linear-time approximation, sublinear algorithms, and dynamic algorithms. We give an $n^{o(1)}$-approximation in $O(n)$ time and, for every $0<\delta<1$, a $(\log n)^{O(1/\delta)}$-approximation in $O(n^{1+\delta})$ time. This improves the previous near-linear-time $O(\sqrt n)$-approximation [Boroujeni et al., STOC'19] and brings TED to parity with ED in this regime up to polylogarithmic factors. With query access to the balanced-parentheses (Euler-tour) representation of the input trees, we give the first sublinear-time TED algorithm: for every $\tau\in[1,n]$, it computes a $\tau n^{o(1)}$-approximation of $1+\mathrm{ted}$ in $O(n/\tau)$ time. For dynamic TED, we give an exact algorithm with amortized update time $\tilde{O}(k^7)$ and a $(1+\varepsilon)$-approximation with amortized update time $\tilde{O}_{\varepsilon}(k)$, where $k$ caps the distance that must be reported. The exact algorithm is the first to beat recomputation in a nontrivial parameter regime. The approximation improves prior dynamic guarantees [Das et al., FOCS'25] and cannot be significantly improved in any parameter regime without a breakthrough for static $(1+\varepsilon)$-approximation of ED. All results use dynamic programming on a new hierarchical tree decomposition, analogous to partitioning strings into blocks of geometrically decreasing sizes. It combines structural properties previously achieved only in isolation, providing a framework for transferring algorithmic ideas from ED to TED, with additional ingredients addressing the obstacles in each computational setting.
Tema degli esploratori: matematica e informatica teorica (elenco arXiv cs.DS, nuovi lavori del giorno).
Categorie arXiv: Data Structures and Algorithms (cs.DS).
Pagina del lavoro: https://arxiv.org/abs/2610.22250 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-16T08:53:17.681Z dalla pagina https://arxiv.org/list/cs.DS/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).