Skip to main content
QUICK REVIEW

[Paper Review] Faster Algorithms for Dual-Failure Replacement Paths

Shiri Chechik, Tianyi Zhang|arXiv (Cornell University)|Jan 1, 2024
Software Testing and Debugging TechniquesComputer Science1 citations
TL;DR

This paper presents the first truly subcubic combinatorial algorithm for dual-failure replacement paths in unweighted directed graphs, achieving a runtime of Õ(n³⁻¹/¹⁸) without using fast matrix multiplication. It also introduces a faster algebraic algorithm for weighted digraphs with small integer weights, reducing the runtime to Õ(Mn².⁸⁷¹⁶), improving upon prior bounds and resolving the open question of whether subcubic performance is possible combinatorially in unweighted cases.

ABSTRACT

Given a simple weighted directed graph $G = (V, E, ω)$ on $n$ vertices as well as two designated terminals $s, t\in V$, our goal is to compute the shortest path from $s$ to $t$ avoiding any pair of presumably failed edges $f_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 $ω\equiv 1$, the authors presented an algebraic algorithm with runtime $ ilde{O}(n^{2.9146})$, as well as a conditional lower bound of $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 $ ilde{O}(n^{3-1/18})$. Besides, we also study algebraic algorithms for digraphs with small integer edge weights from $\{-M, -M+1, \cdots, M-1, M\}$. As our secondary result, we obtained a runtime of $ ilde{O}(Mn^{2.8716})$, which is faster than the previous bound of $ ilde{O}(M^{2/3}n^{2.9144} + Mn^{2.8716})$ from [Vassilevska Williams, Woldeghebriela and Xu, 2022].

Motivation & Objective

  • To close the gap in understanding whether subcubic combinatorial algorithms exist for dual-failure replacement paths in unweighted digraphs, despite a known conditional lower bound of n⁸/³⁻ᵒ⁽¹⁾.
  • To develop a combinatorial algorithm that avoids fast matrix multiplication while achieving subcubic runtime for unweighted directed graphs.
  • To improve the runtime of algebraic algorithms for weighted digraphs with small integer edge weights in the dual-failure setting.
  • To resolve the open question of whether fast matrix multiplication is necessary for subcubic performance in unweighted dual-failure replacement paths.

Proposed method

  • Designs a novel sketch graph construction Hf₁,f₂ to capture all possible replacement paths after two edge failures, using canonical path decomposition and shortcut edges.
  • Employs a layered decomposition of shortest paths into segments based on failure positions, distinguishing cases where failures lie on long vs. short st-paths.
  • Uses interval data structures to compute minima over path segments in Õ(1) time per query, enabling efficient preprocessing.
  • Applies a modified version of Lemma 2.6 to compute shortest paths in the sketch graph Hf₁,f₂, which captures all valid replacement paths.
  • Introduces a hybrid approach for weighted graphs by setting L = ⌈n³⁽ω⁻¹⁾/⁷⌉ and g = ⌈L²/³⌉ to optimize the trade-off between combinatorial and algebraic components.
  • Leverages fast matrix multiplication in the algebraic setting with exponent ω ≈ 2.371552 to achieve improved runtime Õ(Mn².⁸⁷¹⁶).

Experimental results

Research questions

  • RQ1Can a truly subcubic combinatorial algorithm be designed for dual-failure replacement paths in unweighted digraphs?
  • RQ2Is fast matrix multiplication necessary to achieve subcubic runtime in unweighted dual-failure replacement paths?
  • RQ3Can the algebraic runtime for weighted digraphs with small integer weights be improved beyond the prior bound of Õ(M²/³n².⁹¹⁴⁴ + Mn².⁸⁷¹⁶)?
  • RQ4What is the optimal trade-off between combinatorial and algebraic techniques in the dual-failure setting?

Key findings

  • The paper presents the first truly subcubic combinatorial algorithm for unweighted digraphs with runtime Õ(n³⁻¹/¹⁸), proving that fast matrix multiplication is not required for subcubic performance.
  • The algorithm achieves this result by constructing a sketch graph Hf₁,f₂ that captures all replacement paths via canonical path decomposition and shortcut edges.
  • For weighted digraphs with edge weights in {−M, ..., M}, the paper achieves an improved algebraic runtime of Õ(Mn².⁸⁷¹⁶), faster than the previous bound of Õ(M²/³n².⁹¹⁴⁴ + Mn².⁸⁷¹⁶).
  • The key technical innovation lies in the use of interval data structures to compute minima over path segments in constant time, enabling efficient sketch graph construction.
  • The work resolves a long-standing open question by showing that subcubic performance is possible combinatorially in unweighted dual-failure replacement paths.
  • The results demonstrate that fast matrix multiplication is not necessary for subcubic performance in unweighted graphs, and that algebraic methods can be further optimized for small-weighted graphs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.