English

Faster Algorithms for Dual-Failure Replacement Paths

Data Structures and Algorithms 2024-04-23 v1

Abstract

Given a simple weighted directed graph G=(V,E,ω)G = (V, E, \omega) on nn vertices as well as two designated terminals s,tVs, t\in V, our goal is to compute the shortest path from ss to tt avoiding any pair of presumably failed edges f1,f2Ef_1, f_2\in E, which is a natural generalization of the classical replacement path problem which considers single edge failures only. This dual failure replacement paths problem was recently studied by Vassilevska Williams, Woldeghebriel and Xu [FOCS 2022] who designed a cubic time algorithm for general weighted digraphs which is conditionally optimal; in the same paper, for unweighted graphs where ω1\omega \equiv 1, the authors presented an algebraic algorithm with runtime O~(n2.9146)\tilde{O}(n^{2.9146}), as well as a conditional lower bound of n8/3o(1)n^{8/3-o(1)} against combinatorial algorithms. However, it was unknown in their work whether fast matrix multiplication is necessary for a subcubic runtime in unweighted digraphs. As our primary result, we present the first truly subcubic combinatorial algorithm for dual failure replacement paths in unweighted digraphs. Our runtime is O~(n31/18)\tilde{O}(n^{3-1/18}). Besides, we also study algebraic algorithms for digraphs with small integer edge weights from {M,M+1,,M1,M}\{-M, -M+1, \cdots, M-1, M\}. As our secondary result, we obtained a runtime of O~(Mn2.8716)\tilde{O}(Mn^{2.8716}), which is faster than the previous bound of O~(M2/3n2.9144+Mn2.8716)\tilde{O}(M^{2/3}n^{2.9144} + Mn^{2.8716}) from [Vassilevska Williams, Woldeghebriela and Xu, 2022].

Keywords

Cite

@article{arxiv.2404.13907,
  title  = {Faster Algorithms for Dual-Failure Replacement Paths},
  author = {Shiri Chechik and Tianyi Zhang},
  journal= {arXiv preprint arXiv:2404.13907},
  year   = {2024}
}
R2 v1 2026-06-28T16:01:49.941Z