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

Average Sensitivity of Graph Algorithms

Nithin Varma, Yuichi Yoshida · DOI

TL;DR

This paper introduces "average sensitivity" as a formal measure of how much a graph algorithm's output changes when a small part of the input graph is removed. The authors develop algorithms with low average sensitivity for several fundamental graph problems, demonstrating that robustness can be achieved without sacrificing too much accuracy or efficiency. This work connects algorithm robustness to sublinear-time algorithms and local computation, answering open questions in the field.

What Problem Does This Paper Address?

In today's world of massive and dynamic graphs (think social networks, the internet), it's often impractical to assume we have the complete, up-to-date picture of a graph. We might only have access to a large subgraph. This raises a crucial question: how can we design graph algorithms that produce reliable results even when their input is incomplete? Ideally, the output should be close to what we'd get if we had the full graph. This paper tackles this by formalizing the notion of "average sensitivity" – a measure of how much an algorithm's output distribution changes when a single edge is removed, averaged over all possible edge removals. The goal is to develop algorithms that are "stable-on-average," meaning their outputs don't drastically change due to minor input perturbations.

Methods

The core contribution is the formal definition of average sensitivity, which quantifies the expected difference (using Earth Mover's Distance) between an algorithm's output on a graph $G$ and its output on $G-e$, where $e$ is a randomly removed edge. The paper then explores several key techniques:

  • Deriving Properties: They establish fundamental properties of average sensitivity, such as composition (how sensitivities of subroutines combine) and how bounds on single-edge removal relate to multiple-edge removal.
  • Designing Stable Algorithms: The authors present efficient algorithms for problems like minimum spanning forest, global minimum cut, minimum s-t cut, and maximum matching that exhibit low average sensitivity. A key idea is leveraging the fact that if an algorithm's output for an element (edge or vertex) can be decided locally, it tends to have low average sensitivity.
  • Connecting to Sublinear-Time Algorithms: A significant result is showing that the existence of a sublinear-time "solution oracle" for a problem implies a stable-on-average algorithm for that problem. This connection is crucial for answering open questions about local computation algorithms (LCAs).
  • Lower Bounds: They establish lower bounds on average sensitivity for certain problems (like 2-coloring), showing that for some problems, achieving low average sensitivity is inherently difficult.

Datasets

Not discussed in the paper. The paper focuses on theoretical graph algorithms and their properties, not on empirical evaluation using specific datasets.

Key Insights and Ideas

  • Average Sensitivity as a Robustness Metric: Formalizing "average sensitivity" provides a principled way to measure how robust graph algorithms are to incomplete input. This is a critical concept for modern large-scale graph analysis.
  • Locality Implies Robustness: The paper highlights a powerful connection: if an algorithm's decision-making process for any part of the output is localized (i.e., depends only on a small neighborhood), it tends to have low average sensitivity. This insight guides the design of stable algorithms.
  • Bridging Theory and Practice: The connection between average sensitivity and sublinear-time/local computation algorithms is a major breakthrough. It shows that theoretical robustness measures have direct implications for practical algorithm design and complexity.
  • Trade-offs Exist: While robustness is desirable, the paper demonstrates that for some problems (like exact 2-coloring), there's a fundamental limit to how stable an algorithm can be, implying inherent challenges.

Key Results

  • Stable Algorithms Developed: The paper presents stable-on-average algorithms for:
  • Minimum Spanning Forest (Kruskal's algorithm has optimal $O(n/m)$ average sensitivity).
  • Global Minimum Cut (achieving $O(OPT^{1/(\epsilon)}) $ average sensitivity for $2+\epsilon$ approximation).
  • Minimum s-t Cut (achieving $O(n^{2/3})$ average sensitivity with an additive $O(n^{2/3})$ approximation).
  • Maximum Matching (achieving $O(\frac{OPT^{c/(c+1)}}{m^{1/(c+1)}} \log^{1/(c+1)} n)$ average sensitivity for $1-\epsilon$ approximation, where $c=O(1/\epsilon^2)$).
  • Lower Bounds Established:
    • Any algorithm for exact global minimum cut has $\Omega(n)$ average sensitivity.
  • Any algorithm for 2-coloring has $\Omega(n)$ average sensitivity.
  • Theoretical Connections:
    • Existence of a sublinear-time solution oracle implies low average sensitivity.
  • Existence of a Local Computation Algorithm (LCA) implies a stable-on-average algorithm.
  • This leads to answering an open question: every LCA for 2-coloring has query complexity $\Omega(n)$.

Limitations and Future Work

  • Output Representation Dependence: The authors note that average sensitivity can depend on the output representation (e.g., vertex sets vs. edge sets). They pose an open question about finding a canonical way to normalize average sensitivity to be independent of representation.
  • Edge Additions vs. Removals: The paper focuses on edge removals for defining sensitivity. While edge additions are mentioned as a variant, the focus remains on removals due to complexities in modeling additions for dynamic graphs.
  • Generalization to Other Objects: The definition of average sensitivity is noted to be extendable to other combinatorial objects beyond graphs, suggesting future work in those areas.
  • Further Exploration of Lower Bounds: While lower bounds are provided for some problems, further investigation into tighter lower bounds for other problems could be fruitful.

Summary updated

BibTeX
@inproceedings{varma2021average,
  author = {Nithin Varma and Yuichi Yoshida},
  title = {{Average Sensitivity of Graph Algorithms}},
  booktitle = {SODA},
  year = {2021},
  doi = {10.1137/1.9781611976465.43},
}
Figure