Skip to main content
QUICK REVIEW

[Paper Review] Space-Efficient Fault-Tolerant Diameter Oracles

Davide Bilò, Sarel Cohen|arXiv (Cornell University)|Jul 7, 2021
Distributed systems and fault toleranceComputer Science3 citations
TL;DR

This paper presents space-efficient fault-tolerant diameter oracles (FDOs) for directed and undirected graphs under edge failures. It introduces a (1+ε)-approximate FDO for unweighted directed graphs with near-optimal preprocessing time and O(m) space, matching a conditional lower bound; for undirected weighted graphs, it gives an f-FDO with stretch (f+2), O(fn) space, and efficient preprocessing. The work establishes tight information-theoretic space lower bounds, showing that sublinear space is impossible for stretch < 3/2.

ABSTRACT

We design $f$-edge fault-tolerant diameter oracles ($f$-FDOs). We preprocess a given graph $G$ on $n$ vertices and $m$ edges, and a positive integer $f$, to construct a data structure that, when queried with a set $F$ of $|F| \leq f$ edges, returns the diameter of $G-F$. For a single failure ($f=1$) in an unweighted directed graph of diameter $D$, there exists an approximate FDO by Henzinger et al. [ITCS 2017] with stretch $(1+\varepsilon)$, constant query time, space $O(m)$, and a combinatorial preprocessing time of $\widetilde{O}(mn + n^{1.5} \sqrt{Dm/\varepsilon})$.We present an FDO for directed graphs with the same stretch, query time, and space. It has a preprocessing time of $\widetilde{O}(mn + n^2/\varepsilon)$. The preprocessing time nearly matches a conditional lower bound for combinatorial algorithms, also by Henzinger et al. With fast matrix multiplication, we achieve a preprocessing time of $\widetilde{O}(n^{2.5794} + n^2/\varepsilon)$. We further prove an information-theoretic lower bound showing that any FDO with stretch better than $3/2$ requires $\Omega(m)$ bits of space. For multiple failures ($f>1$) in undirected graphs with non-negative edge weights, we give an $f$-FDO with stretch $(f+2)$, query time $O(f^2\log^2{n})$, $\widetilde{O}(fn)$ space, and preprocessing time $\widetilde{O}(fm)$. We complement this with a lower bound excluding any finite stretch in $o(fn)$ space. We show that for unweighted graphs with polylogarithmic diameter and up to $f = o(\log n/ \log\log n)$ failures, one can swap approximation for query time and space. We present an exact combinatorial $f$-FDO with preprocessing time $mn^{1+o(1)}$, query time $n^{o(1)}$, and space $n^{2+o(1)}$. When using fast matrix multiplication instead, the preprocessing time can be improved to $n^{\omega+o(1)}$, where $\omega < 2.373$ is the matrix multiplication exponent.

Motivation & Objective

  • To design space-efficient data structures that quickly report the diameter of a graph after up to f edge failures.
  • To explore the trade-off between space, stretch, query time, and preprocessing time in fault-tolerant diameter oracles.
  • To establish information-theoretic lower bounds on the space required for any FDO with finite stretch.
  • To achieve near-optimal performance in preprocessing time and space for both combinatorial and matrix-multiplication-based algorithms.
  • To demonstrate that for graphs with polylogarithmic diameter, exact FDOs can be built with subquadratic space and near-constant query time.

Proposed method

  • Constructs a fault-tolerant diameter oracle (FDO) using a recursive tree structure over replacement paths for each pair of vertices under edge failures.
  • Employs a distance sensitivity oracle (DSO) as a subroutine to compute replacement paths under up to f edge failures.
  • Uses a hash table to aggregate and store replacement distances for all subsets of failure sets, enabling constant-time query access.
  • Applies a refined analysis of the Weimann-Yuster technique to bound the size of the oracle and control query time.
  • Leverages fast matrix multiplication to improve preprocessing time to Õ(n^2.5794 + n^2/ε) for the (1+ε)-approximate FDO.
  • Derives space lower bounds via combinatorial constructions that encode subgraph connectivity, showing that o(fn) space is insufficient for finite stretch.

Experimental results

Research questions

  • RQ1What is the minimum space required for a fault-tolerant diameter oracle with stretch σ < 3/2 in undirected unweighted graphs?
  • RQ2Can a (1+ε)-approximate FDO for single-edge faults be constructed with preprocessing time matching the conditional lower bound for combinatorial algorithms?
  • RQ3Is it possible to achieve subquadratic space and near-constant query time for exact FDOs in graphs with polylogarithmic diameter?
  • RQ4What is the trade-off between stretch, space, and preprocessing time for f-edge fault-tolerant diameter oracles in undirected weighted graphs?
  • RQ5Can we prove that no FDO with stretch better than 3/2 can use o(m) space in undirected graphs?

Key findings

  • An (1+ε)-approximate FDO for unweighted directed graphs achieves preprocessing time Õ(mn + n²/ε), which nearly matches the conditional lower bound of Henzinger et al. for combinatorial algorithms.
  • For the same setting, using fast matrix multiplication, the preprocessing time improves to Õ(n^2.5794 + n²/ε), approaching the theoretical limit.
  • An information-theoretic lower bound proves that any FDO with stretch σ < 3/2 requires Ω(m) bits of space in undirected unweighted graphs, making the proposed FDO near-optimal in space.
  • For undirected weighted graphs with f ≥ 1 edge failures, the paper constructs an f-FDO with stretch (f+2), space Õ(fn), query time O(f² log²n), and preprocessing time Õ(fm).
  • For graphs with polylogarithmic diameter and f = o(log n / log log n) failures, an exact combinatorial f-FDO is constructed with preprocessing time mn^1+o(1), query time n^o(1), and space n^2+o(1).
  • A lower bound shows that no f-FDO with finite stretch can use o(fn) space, proving the space efficiency of the proposed f-FDO is asymptotically optimal.

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.