NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Deterministic Sensitivity Oracles for Diameter, Eccentricities and All Pairs Distances

Davide Bilò, Keerti Choudhary, Sarel Cohen, Tobias Friedrich, Martin SchirneckarXiv 2022

TL;DR

This paper introduces a novel framework called Hierarchical Double Pivots Hitting Sets (HDPH) to transform randomized fault-tolerant graph algorithms into deterministic ones. The authors provide the first deterministic distance sensitivity oracle with subcubic preprocessing time and prove that directed graphs require exponentially more space than undirected ones to handle multiple edge failures.

What Problem Does This Paper Address?

In real-world networks—from fiber-optic layouts to social graphs—edges fail. A Sensitivity Oracle is a data structure designed to answer queries about graph properties (like the shortest distance between two points or the overall network diameter) after a set of edges has failed, without recomputing everything from scratch.

While many efficient oracles exist, they often rely on randomization or are optimized for undirected graphs. Directed graphs are significantly more challenging. Furthermore, there is a theoretical and practical desire for deterministic algorithms, which provide guaranteed correctness and performance without relying on "lucky" random bits. The authors aim to close the gap between randomized and deterministic sensitivity oracles while exploring the fundamental space-efficiency limits of these structures.

Methods

The centerpiece of the paper is the Hierarchical Double Pivots Hitting Sets (HDPH) algorithm.

Standard randomized approaches often use a "hitting set" of random "pivot" vertices to intersect long shortest paths. The authors replace this with a deterministic hierarchical framework:

  1. Exponential Scaling: They use a sequence of exponentially growing path lengths ($L_1, L_2, \dots$) and corresponding shrinking sets of pivots ($B_1, B_2, \dots$).
  2. Iterative Discovery: Instead of needing to know all replacement paths in advance (which is computationally expensive), the HDPH algorithm uses pivots from previous rounds to find critical paths for the current round faster.
  3. Path-Reporting Black Box: The framework assumes the underlying oracle can report the actual path, not just the distance. This allows the algorithm to greedily select pivots that "hit" the most remaining paths.

The authors also introduce a meta-theorem that converts any Distance Sensitivity Oracle (DSO) into a Fault-Tolerant Eccentricity Oracle (FEO), effectively allowing progress in one area to immediately improve the other.

Datasets

As a theoretical computer science paper, this work does not use empirical datasets. Instead, it employs mathematical proofs and synthetic graph constructions to establish lower bounds. For example, they construct a specific family of directed graphs that encode binary matrices into their fault-tolerant diameters to prove that any oracle with a small "stretch" (approximation error) must use at least $\Omega(m)$ bits of space.

Key Insights and Ideas

  • The Diameter Threshold: The authors discovered a "transition" in space efficiency. For graphs with a small diameter, you can't save much space—you might as well store the whole graph. However, as the diameter grows (specifically beyond $\omega(n^{4/3} \log n / \sqrt{m})$), it becomes possible to design oracles that use sub-linear ($o(m)$) space.
  • Directed vs. Undirected Gap: The paper proves a harsh reality for directed graphs: handling $f$ failures requires $\Omega(2^{f/2} n)$ space. This is an exponential explosion compared to the $O(fn)$ space required for undirected graphs, marking a fundamental separation between the two types of networks.
  • Derandomization without Loss: By applying HDPH, the authors show that randomization isn't strictly necessary for many distance problems; they can achieve deterministic results with only a marginal (or zero) hit to asymptotic running time.

Key Results

  • Subcubic Preprocessing: They achieved the first deterministic Distance Sensitivity Oracle (DSO) for directed graphs with subcubic preprocessing time ($O(Mn^{2.8068})$) and constant query time.
  • Dual-Failure Eccentricity: They presented the first fault-tolerant eccentricity oracle for dual failures ($f=2$) that operates in subcubic space.
  • SSRP Derandomization: They successfully derandomized the Single-Source Replacement Path (SSRP) algorithm for directed graphs, maintaining a runtime of $\tilde{O}(m\sqrt{n} + n^2)$.
  • Tight Lower Bounds: Theorem 1 establishes that for low-diameter graphs, any oracle with a stretch factor less than $3/2 - 1/D$ requires $\Omega(m)$ space.

Limitations and Future Work

  • Path-Reporting Requirement: The HDPH framework relies on the underlying oracle being "path-reporting." Some recent randomized DSOs (like those by Gu and Ren) are not path-reporting and rely on probabilistic polynomial identity testing, making them currently incompatible with this derandomization technique.
  • The "g" Function: While the authors narrowed the gap for when $o(m)$ space diameter oracles become possible, they left it as an open problem to find the exact smallest diameter function $g(n)$ that allows for such space savings.
  • Weighted Complexity: The preprocessing time for DSOs still depends on the maximum edge weight $M$, which may be a bottleneck for graphs with very large integer weights.

Summary updated

BibTeX
@misc{bilo2022deterministic,
  author = {Davide Bilò and Keerti Choudhary and Sarel Cohen and Tobias Friedrich and Martin Schirneck},
  title = {{Deterministic Sensitivity Oracles for Diameter, Eccentricities and All Pairs Distances}},
  year = {2022},
  eprint = {2204.10679},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.10679},
}
Figure