无需矩阵逆的动态距离
Dynamic Distances Without Matrix Inverse
AI总结:
该研究针对无权有向图的动态精确距离问题,提出了基于弗罗贝尼乌斯形式的纯代数次二次时间算法,无需矩阵逆和组合重新组装,更新时间达O(n^1.58)。
摘要:
我们研究无权有向图中的完全动态精确距离问题,该图会经历边的插入和删除,且必须报告两个查询顶点之间的距离。在组合布尔矩阵乘法猜想下,该问题的任何次二次时间算法都必须使用代数技术。所有现有工作均将多项式矩阵逆作为其代数工具,但在次二次时间内,该技术只能维护到小多项式跳数边界的距离。因此,更大的距离必须通过组合层从短距离片段中重新组装。与依赖代数技术的其他动态图问题相比,这种混合代数-组合构造导致动态距离的速度大幅下降。我们提出了第一个基于动态维护不同于矩阵逆的代数对象的次二次时间动态距离算法。通过动态维护动态通用(即循环)矩阵A的弗罗贝尼乌斯形式A=KCK⁻¹,我们可以高效查询所有幂次A^ℓ=KC^ℓK⁻¹。对于邻接矩阵A,使得(A^ℓ)_{s,t}≠0的最小ℓ是关联图中的st距离。因此,与动态矩阵逆不同,我们直接获得距离信息而无需跳数截断,也不再需要执行任何组合重新组装。这种用于动态距离的纯代数方法产生了最快的动态距离算法,其更新时间为O(n^1.58)。早期对弗罗贝尼乌斯形式的使用显式维护了稠密基变换K,每次更新需要Õ(n²)时间[KS23]。我们的关键观察是该基变换具有高度结构性,这使我们能够隐式地维护它。这给出了第一个针对通用矩阵的弗罗贝尼乌斯标准型和特征多项式的次二次动态算法。
英文摘要:
We study the fully dynamic exact distance problem in unweighted directed graphs, where the graph undergoes edge insertions and deletions, and the distance between two query vertices must be reported. Under the combinatorial Boolean matrix multiplication conjecture, any subquadratic-time algorithm for this problem must use algebraic techniques. All prior work uses the polynomial matrix inverse as its algebraic tool, but within subquadratic time, this technique can only maintain distances up to a small-polynomial hop bound. So larger distances must be reassembled from short-range pieces by a combinatorial layer. This hybrid algebraic-combinatorial construction has led to a substantial slowdown for dynamic distances compared to other dynamic graph problems relying on algebraic techniques. We give the first subquadratic-time dynamic distance algorithm built on dynamically maintaining a different algebraic object than the matrix inverse. By maintaining the Frobenius form $A=KCK^{-1}$ of a dynamic generic (i.e., cyclic) matrix $A$, we can query all the powers $A^\ell = K C^\ell K^{-1}$ efficiently. For adjacency matrix~$A$, the smallest $\ell$ with $(A^\ell)_{s,t}\neq 0$ is the $st$-distance in the associated graph. So, unlike dynamic matrix inverse, we get distance information directly without hop truncation, and we no longer need to perform any combinatorial reassembly. This purely algebraic approach to dynamic distances leads to the fastest dynamic distance algorithm with $O(n^{1.58})$ update time. The earlier use of the Frobenius form maintained the dense change of basis $K$ explicitly and required $\tilde O (n^2)$ time per update [KS23]. Our key observation is that this change of basis is highly structured, which lets us maintain it implicitly. This gives the first subquadratic dynamic algorithm for the Frobenius normal form and characteristic polynomial for generic matrices.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。