Lune

SODA2021顶会

All-Pairs LCA in DAGs: Breaking through the O(n2.5) barrier

Fabrizio Grandoni, Giuseppe F. Italiano, Aleksander Lukasiewicz, Nikos Parotsidis, Przemyslaw Uznanski

摘要

Let G = (V, E) be an n-vertex directed acyclic graph (DAG). A lowest common ancestor (LCA) of two vertices u and v is a common ancestor w of u and v such that no descendant of w has the same property. In this paper, we consider the problem of computing an LCA, if any, for all pairs of vertices in a DAG. The fastest known algorithms for this problem exploit fast matrix multiplication subroutines and have running times ranging from (n2.687) [Bender et al. SODA'01] down to (n2.615) [Kowaluk and Lingas ICALP'05] and (n2.569) [Czumaj et al. TCS'07]. Somewhat surprisingly, all those bounds would still be Ω(n2.5) even if matrix multiplication could be solved optimally (i.e., ω = 2). This appears to be an inherent barrier for all the currently known approaches, which raises the natural question on whether one could break through the (n2.5) barrier for this problem. In this paper, we answer this question affirmatively: in particular, we present an for ω = 2) algorithm for finding an LCA for all pairs of vertices in a DAG, which represents the first improvement on the running times for this problem in the last 13 years. A key tool in our approach is a fast algorithm to partition the vertex set of the transitive closure of G into a collection of (ℓ) chains and (n/ℓ) antichains, for a given parameter ℓ. As usual, a chain is a path while an antichain is an independent set. We then find, for all pairs of vertices, a candidate LCA among the chain and antichain vertices, separately. The first set is obtained via a reduction to (max, min) matrix multiplication. The computation of the second set can be reduced to Boolean matrix multiplication similarly to previous results on this problem. We finally combine the two solutions together in a careful (non-obvious) manner.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. New Diameter-Reducing Shortcuts and Directed Hopsets: Breaking the BarrierShimon Kogan, Merav ParterSODA 2022 · 7 次引用
  2. Subquadratic dynamic path reporting in directed graphs against an adaptive adversaryAdam Karczmarz, Anish Mukherjee, Piotr SankowskiSTOC 2022 · 5 次引用
  3. Universe Reduction for APSP: Equivalence of Three Fine-Grained HypothesesNick FischerSTOC 2026 · 2 次引用
  4. Fine-Grained Optimality of Partially Dynamic Shortest Paths and MoreBarna Saha, Virginia Vassilevska Williams, Yinzhan Xu, Christopher YeSODA 2025

它引用的 Paper2

  1. A Refined Laser Method and Faster Matrix MultiplicationJosh Alman, Virginia Vassilevska WilliamsSODA 2021 · 275 次引用
  2. Equivalences between triangle and range query problemsLech Duraj, Krzysztof Kleiner, Adam Polak, Virginia Vassilevska WilliamsSODA 2020 · 5 次引用

相关 Paper

  1. Improved Additive Approximation Algorithms for APSPCe Jin, Yael Kirkpatrick, Michal Stawarz, Virginia Vassilevska WilliamsSODA 2026
  2. Sparsifying, Shrinking and Splicing for Minimum Path Cover in Parameterized Linear TimeManuel Cáceres, Massimo Cairo, Brendan Mumey, Romeo Rizzi 等SODA 2022 · 20 次引用
  3. Towards Scalable Bayesian Learning of Causal DAGsJussi Viinikka, Antti Hyttinen, Johan Pensar, Mikko KoivistoNeurIPS 2020 · 49 次引用
  4. New Graph Decompositions and Combinatorial Boolean Matrix Multiplication AlgorithmsAmir Abboud, Nick Fischer, Zander Kelley, Shachar Lovett 等STOC 2024 · 2 次引用
  5. Lower Bounds for Non-adaptive Local Computation AlgorithmsAmir Azarmehr, Soheil Behnezhad, Alma Ghafari, Madhu SudanFOCS 2025 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖