Undirected Replacement Paths: Dual Fault Reduces to Single Source
Abstract
Given a graph and two fixed vertices and , the Replacement Path Problem (RP) is to compute for every edge , the distance between and when is removed. There are two natural extensions to RP: (1) Single Source Replacement Paths (SSRP): Given a graph and a source node , compute for every vertex and every edge the - distance in . That is, we do not fix the target anymore. (2) -Fault Replacement Paths (2-FRP): Given a graph and two nodes and , compute for every pair of edges the - distance in . That is, we consider two failures instead of one. Previously, there was no known reduction between SSRP and 2-FRP. It seemed plausible that 2-FRP would be computationally harder because there are no settings where 2-FRP admits a faster algorithm than SSRP. In directed unweighted graphs there is a provable gap in complexity, and in undirected graphs many of the known 2-FRP algorithms in a variety of settings are much slower than those for SSRP in the same setting. The main contribution of this paper is a tight reduction from undirected -FRP to undirected SSRP, showing that contrary to prior intuition, 2-FRP is not harder than SSRP. As our reduction is weight-preserving, we obtain the first algorithms for -FRP that match the best-known runtimes for SSRP: (1) for weights in [GVW19], improving upon [CZ24]; (2) for weights in [GVW19], improving over the previous running time [VWWX22]; (3) combinatorial time for unweighted graphs [CC19], and more generally for rational weights in [CM20], improving upon [CZ24]. We complement these upper bounds with tight lower bounds under fine-grained hypotheses.
Cite
@article{arxiv.2605.02114,
title = {Undirected Replacement Paths: Dual Fault Reduces to Single Source},
author = {Jakob Nogler and Virginia Vassilevska Williams},
journal= {arXiv preprint arXiv:2605.02114},
year = {2026}
}
Comments
ICALP 2026