Average Sensitivity of Graph Algorithms
- 14 August 2023
- journal article
- research article
- Published by Society for Industrial & Applied Mathematics (SIAM) in SIAM Journal on Computing
- Vol. 52 (4) , 1039-1081
Abstract
Modern applications of graph algorithms often involve the use of the output sets (usually, a subset of edges or vertices of the input graph) as inputs to other algorithms. Since the input graphs of interest are large and dynamic, it is desirable for an algorithm’s output to not change drastically when a few random edges are removed from the input graph, so as to prevent issues in postprocessing. Alternately, having such a guarantee also means that one can revise the solution obtained by running the algorithm on the original graph in just a few places in order to obtain a solution for the new graph. We formalize this feature by introducing the notion of average sensitivity of graph algorithms, which is the average earth mover’s distance between the output distributions of an algorithm on a graph and its subgraph obtained by removing an edge, where the average is over the edges removed and the distance between two outputs is the Hamming distance. In this work, we initiate a systematic study of average sensitivity of graph algorithms. After deriving basic properties of average sensitivity such as composition, we provide efficient approximation algorithms with low average sensitivities for concrete graph problems, including the minimum spanning forest problem, the global minimum cut problem, the minimum [Formula: see text]-[Formula: see text] cut problem, and the maximum matching problem. In addition, we prove that the average sensitivity of our global minimum cut algorithm is almost optimal, by showing a nearly matching lower bound. We also show that every algorithm for the 2-coloring problem has average sensitivity linear in the number of vertices. One of the main ideas involved in designing our algorithms with low average sensitivity is the following fact: if the presence of a vertex or an edge in the solution output by an algorithm can be decided locally, then the algorithm has a low average sensitivity, allowing us to reuse the analyses of known sublinear-time algorithms and local computation algorithms. Using this fact in conjunction with our average sensitivity lower bound for 2-coloring, we show that every local computation algorithm for 2-coloring has query complexity linear in the number of vertices, thereby answering an open question.Keywords
Funding Information
- Anusandhan National Research Foundation (SRG/2022/001877)
- Japan Science and Technology Agency (JPMJPR192B)
This publication has 36 references indexed in Scilit:
- Improved Constant-Time Approximation Algorithms for Maximum Matchings and Other Optimization ProblemsSIAM Journal on Computing, 2012
- Modularity and community structure in networksProceedings of the National Academy of Sciences of the United States of America, 2006
- Fast algorithm for detecting community structure in networksPhysical Review E, 2004
- Harmony in the small-worldPhysica A: Statistical Mechanics and its Applications, 2000
- A Set of Measures of Centrality Based on BetweennessSociometry, 1977
- The Centrality Index of a GraphPsychometrika, 1966
- Paths, Trees, and FlowersCanadian Journal of Mathematics, 1965
- An improved index of centralitySystems Research and Behavioral Science, 1965
- On the shortest spanning subtree of a graph and the traveling salesman problemProceedings of the American Mathematical Society, 1956
- Communication Patterns in Task-Oriented GroupsThe Journal of the Acoustical Society of America, 1950