Fixed-Parameter Sensitivity Oracles

Davide Bilò, Katrin Casel, Keerti Choudhary, Sarel Cohen, Tobias Friedrich, J. A. Gregor Lagodzinski, Martin Schirneck, Simon Wietheger

TL;DR

This paper introduces Fixed-Parameter Sensitivity Oracles, marrying distance sensitivity oracles (DSOs) with fixed-parameter tractability (FPT). By preprocessing a graph with respect to a failure budget $f$ and problem parameter $k$, the resulting data structures can answer queries on whether a property holds in the fault-deprived graph $G - F$ in time independent of (or only weakly dependent on) the overall graph size $n$.

What Problem Does This Paper Address?

In network algorithms, components fail transiently. Distance Sensitivity Oracles (DSOs) and fault-tolerant spanners preprocess graphs to quickly report shortest paths after a small set of edges or vertices $F$ fails ($|F| \le f$).

Separately, Parameterized Complexity (FPT) addresses NP-hard problems (like $k$-Path or $k$-Vertex Cover) by isolating exponential scaling to a small parameter $k$, solving instances in $f(k) \cdot \text{poly}(n)$ time.

Previously, if an edge or vertex failed and one wanted to solve an FPT problem on $G - F$, the only option was to re-run the FPT algorithm from scratch. While dynamic parameterized algorithms exist, they cater to ongoing streams of insertions and deletions without a bound $f$ on simultaneous transient faults. This paper addresses the gap: Can we preprocess a graph so that when up to $f$ failures occur, we can query NP-hard FPT properties or bounded-stretch replacement distances significantly faster than recomputing from scratch?

Methods

The authors build sensitivity oracles using several novel and adapted techniques:

  • Fault-Tolerant Lookup Trees: Used for $k$-Path and $k$-Vertex Cover. The oracle precomputes a solution (witness) and branches recursively on each edge of the witness being failed, yielding a tree of depth at most $f$.
  • Randomized Subgraph Sampling: Borrowing ideas from Weimann and Yuster’s DSO work, the authors randomly drop edges with probability $p = f/(f+k)$ during preprocessing to obtain compact pools of witnesses, trading query time for smaller space.
  • Budgeting / Measure & Conquer Branching: For $k$-Vertex Cover, the authors track "safe" vs. "failing" edges, exploiting the Buss high-degree kernel rule to eliminate vertices once they touch $k+1$ safe edges, bounding search depth to $f + k(k+1)$.
  • Auxiliary Layered DAGs & Reachability Preservers: For bounded-stretch single-source shortest paths (distances increasing by at most $+k$), the authors track increases in BFS levels along replacement paths. This reduces the problem to single-source reachability in an auxiliary directed acyclic graph, allowing the integration of fast reachability oracles (Brand & Saranurak) and reachability preservers (Baswana et al.).

Datasets

Not discussed in the paper. (The work is entirely theoretical and contains no experimental evaluations or benchmark datasets.)

Key Insights and Ideas

  • Eliminating Graph-Size Dependence ($n$) in Queries: By storing witness structures or kernelized branching trees, queries for $k$-Path and $k$-Vertex Cover depend almost entirely on $f$ and $k$, completely decoupled from the number of vertices $n$.
  • Circumventing the Quadratic Barrier in Distance Preservers: Standard $f$-edge fault-tolerant BFS preservers face a near-quadratic lower bound of $\Omega(n^{2 - 1/(f+1)})$ edges. The authors realize this barrier comes from paths whose lengths blow up arbitrarily. By parameterizing by the maximum allowable additive stretch $k$ (only caring if $d(s, v, G-F) \le d(s, v, G) + k$), they achieve preservers with $2^{O(fk)} \cdot n$ edges—truly subquadratic when $f \cdot k = o(\log n / \log \log n)$, and linear in $n$ for constant $f, k$.
  • Duality Between Vertex Cover and DSOs: The paper demonstrates that a graph with a small vertex cover $k$ enables an $f$-DSO of size $O(n \cdot \text{poly}(k, f))$ and query time $O(\text{poly}(k, f))$, since every replacement shortest path connects through the vertex cover within at most two steps.

Key Results

  • $k$-Path Sensitivity Oracles:
  • Lookup Tree (Deterministic): Size $O(k^{f+1})$ machine words; query time $O(f \min\{f, \log f + k\})$.
  • Sampling-based (Randomized): Size $O\left(\left(\frac{f+k}{f}\right)^f \left(\frac{f+k}{k}\right)^k fk \log n\right)$ with query time $O\left(\left(\frac{f+k}{f}\right)^f \left(\frac{f+k}{k}\right)^k f \min\{f, k\} \log n\right)$.
  • $k$-Vertex Cover Sensitivity Oracles (Three Trade-offs):
  • Fast Query: Space $O(3^{f+k})$, query time $O(2^f)$.
  • Balanced: Space $O(2^{f+k^2+k})$, query time $O(f + k^2)$.
  • Compact / Dynamic Adaptation: Space $O(fk + k^2)$, query time $O(1.2738^k + f)$.
  • Bounded-Stretch Distance Preservers & Oracles:
  • $(f, k)$-EFT-BFS Subgraph: Contains $O(2^{fk+f+k} k \cdot n)$ edges.
  • Distance Sensitivity Oracle: Size $O(2^k k^2 n^2)$, reporting whether $d(s, t, G-F) \le d(s, t, G) + k$ with high probability in $O(2^k (fk)^\omega)$ time (where $\omega < 2.373$), with preprocessing time independent of $f$.

Limitations and Future Work

  • Exponential Scaling with Parameters: The bounds depend exponentially on combinations like $k^{f+1}$, $3^{f+k}$, or $2^{O(fk)}$. While practical for very small fault budgets $f$ and targets $k$, they degrade rapidly if either parameter grows moderately.
  • Monte Carlo Randomization: The bounded-stretch distance oracle has a one-sided failure probability inheriting the randomized nature of algebraic matrix-based reachability oracles.
  • Extensions to Other Subgraphs: While generic reductions work for subgraph problems characterized directly by $k$ edges (e.g., Graph Motif, $k$-Tree), problems like Long $(s, t)$-Path or Long Cycle (where target lengths exceed $2k$) remain open and appear considerably more challenging to adapt to the fault-tolerant setting.

Summary updated

BibTeX
@inproceedings{bilo2022fixed,
  author = {Davide Bilò and Katrin Casel and Keerti Choudhary and Sarel Cohen and Tobias Friedrich and J. A. Gregor Lagodzinski and Martin Schirneck and Simon Wietheger},
  title = {{Fixed-Parameter Sensitivity Oracles}},
  booktitle = {ITCS},
  year = {2022},
  url = {https://openreview.net/forum?id=Da6nv5be0jX},
}
Figure