Lune

FOCS2022顶会

Õ(n+poly(k))-time Algorithm for Bounded Tree Edit Distance

Debarati Das, Jacob Gilbert, MohammadTaghi Hajiaghayi, Tomasz Kociumaka, Barna Saha, Hamed Saleh

摘要

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 k as an upper bound on the distance, an O(n+k2)\mathcal{O}(n+k^{2})-time algorithm for edit distance has been known since the 1980s due to works of Myers (Algorithmica’86) and Landau and Vishkin (JCSS’88). The existence of an O~(n+poly(k))\tilde{\mathcal{O}}(n+poly(k))-time algorithm for tree edit distance has been posed as open question, e.g., by Akmal and Jin (ICALP’21), who give a stateof-the-art O(nk2)O(nk^{2})-time algorithm. In this paper, we answer this question positively.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Bounded Edit Distance: Optimal Static and Dynamic Algorithms for Small Integer Weights 引用了 Weighted Edit Distance Computation: Strings, Trees, and Dyck
  • Bounded Edit Distance: Optimal Static and Dynamic Algorithms for Small Integer Weights 引用了 Does preprocessing help in fast sequence comparisons?
  • Bounded Edit Distance: Optimal Static and Dynamic Algorithms for Small Integer Weights 引用了 Optimal Algorithms for Bounded Weighted Edit Distance
  • Weighted Edit Distance Computation: Strings, Trees, and Dyck 引用了 Constant factor approximations to edit distance on far input pairs in nearly linear time
  • Weighted Edit Distance Computation: Strings, Trees, and Dyck 引用了 Edit Distance in Near-Linear Time: it's a Constant Factor
  • Weighted Edit Distance Computation: Strings, Trees, and Dyck 引用了 Breaking the Cubic Barrier for (Unweighted) Tree Edit Distance
  • Weighted Edit Distance Computation: Strings, Trees, and Dyck 引用了 Does preprocessing help in fast sequence comparisons?
  • Edit Distance in Near-Linear Time: it's a Constant Factor 引用了 Constant factor approximations to edit distance on far input pairs in nearly linear time
  • Edit Distance in Near-Linear Time: it's a Constant Factor 引用了 Does preprocessing help in fast sequence comparisons?
  • Breaking the Cubic Barrier for (Unweighted) Tree Edit Distance 引用了 Constant factor approximations to edit distance on far input pairs in nearly linear time
  • Breaking the Cubic Barrier for (Unweighted) Tree Edit Distance 引用了 Edit Distance in Near-Linear Time: it's a Constant Factor
  • Faster Weighted and Unweighted Tree Edit Distance and APSP Equivalence 引用了 Bounded Edit Distance: Optimal Static and Dynamic Algorithms for Small Integer Weights
  • Faster Weighted and Unweighted Tree Edit Distance and APSP Equivalence 引用了 Weighted Edit Distance Computation: Strings, Trees, and Dyck
  • Faster Weighted and Unweighted Tree Edit Distance and APSP Equivalence 引用了 Breaking the Cubic Barrier for (Unweighted) Tree Edit Distance
  • Faster Weighted and Unweighted Tree Edit Distance and APSP Equivalence 引用了 Optimal Algorithms for Bounded Weighted Edit Distance
  • Does preprocessing help in fast sequence comparisons? 引用了 Constant factor approximations to edit distance on far input pairs in nearly linear time
  • X-TED: Massive Parallelization of Tree Edit Distance 引用了 Breaking the Cubic Barrier for (Unweighted) Tree Edit Distance
  • Optimal Algorithms for Bounded Weighted Edit Distance 引用了 Constant factor approximations to edit distance on far input pairs in nearly linear time
  • Optimal Algorithms for Bounded Weighted Edit Distance 引用了 Weighted Edit Distance Computation: Strings, Trees, and Dyck
  • Optimal Algorithms for Bounded Weighted Edit Distance 引用了 Small-space and streaming pattern matching with k edits
  • Optimal Algorithms for Bounded Weighted Edit Distance 引用了 Does preprocessing help in fast sequence comparisons?
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. Weighted Edit Distance Computation: Strings, Trees, and DyckDebarati Das, Jacob Gilbert, MohammadTaghi Hajiaghayi, Tomasz Kociumaka 等STOC 2023 · 4 次引用
  2. Faster Weighted and Unweighted Tree Edit Distance and APSP EquivalenceJakob Nogler, Adam Polak, Barna Saha, Virginia Vassilevska Williams 等STOC 2025 · 4 次引用
  3. Optimal Algorithms for Bounded Weighted Edit DistanceAlejandro Cassis, Tomasz Kociumaka, Philip WellnitzFOCS 2023 · 4 次引用
  4. X-TED: Massive Parallelization of Tree Edit DistanceDayi Fan, Rubao Lee, Xiaodong ZhangVLDB 2024 · 2 次引用
  5. Bounded Edit Distance: Optimal Static and Dynamic Algorithms for Small Integer WeightsEgor Gorbachev, Tomasz KociumakaSTOC 2025 · 1 次引用

它引用的 Paper8

  1. Edit Distance in Near-Linear Time: it's a Constant FactorAlexandr Andoni, Negev Shekel NosatzkiFOCS 2020 · 28 次引用
  2. Does preprocessing help in fast sequence comparisons?Elazar Goldenberg, Aviad Rubinstein, Barna SahaSTOC 2020 · 15 次引用
  3. Small-space and streaming pattern matching with kk editsTomasz Kociumaka, Ely Porat, Tatiana StarikovskayaFOCS 2021 · 13 次引用
  4. Breaking the Cubic Barrier for (Unweighted) Tree Edit DistanceXiao MaoFOCS 2021 · 7 次引用
  5. Constant factor approximations to edit distance on far input pairs in nearly linear timeMichal Koucký, Michael E. SaksSTOC 2020 · 5 次引用

相关 Paper

  1. Dynamic Dyck and Tree Edit Distance: Decompositions and Reductions to String Edit DistanceDebarati Das, Jacob Gilbert, MohammadTaghi Hajiaghayi, Tomasz Kociumaka 等FOCS 2025 · 1 次引用
  2. Approximating Edit Distance in the Fully Dynamic ModelTomasz Kociumaka, Anish Mukherjee, Barna SahaFOCS 2023 · 1 次引用
  3. JEDI: These aren't the JSON documents you're looking for?Thomas Hütter, Nikolaus Augsten, Christoph M. Kirsch, Michael J. Carey 等SIGMOD 2022 · 14 次引用
  4. UltraTWD: Optimizing Ultrametric Trees for Tree-Wasserstein DistanceFangchen Yu, Yanzhen Chen, Jiaxing Wei, Jianfeng Mao 等ICML 2025
  5. Faster Sublinear-Time Edit DistanceKarl Bringmann, Alejandro Cassis, Nick Fischer, Tomasz KociumakaSODA 2024 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖