The Complexity of Average-Case Dynamic Subgraph Counting
Monika Henzinger, Andrea Lincoln, Barna Saha
Abstract
Statistics of small subgraph counts such as triangles, four-cycles, and s-t paths of short lengths reveal important structural properties of the underlying graph. These problems have been widely studied in social network analysis. In most relevant applications, the graphs are not only massive but also change dynamically over time. Most of these problems become hard in the dynamic setting when considering the worst case. In this paper, we ask whether the question of small subgraph counting over dynamic graphs is hard also in the average case.
We consider the simplest possible average case model where the updates follow an Erdős-Rényi graph: each update selects a pair of vertices (u, v) uniformly at random and flips the existence of the edge (u, v). We develop new lower bounds and matching algorithms in this model for counting four-cycles, counting triangles through a specified point s, or a random queried point, and st paths of length 3, 4 and 5. Our results indicate while computing st paths of length 3, and 4 are easy in the average case with O(1) update time (note that they are hard in the worst case), it becomes hard when considering st paths of length 5.
We introduce new techniques which allow us to get average-case hardness for these graph problems from the worst-case hardness of the Online Matrix vector problem (OMv). Our techniques rely on recent advances in finegrained average-case complexity. Our techniques advance this literature, giving the ability to prove new lower bounds on average-case dynamic algorithms.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Error-Correction of Matrix Multiplication Algorithms cites Hardness Self-Amplification: Simplified, Optimized, and Unified
- Error-Correction of Matrix Multiplication Algorithms cites Hardness Self-Amplification from Feasible Hard-Core Sets
- Error-Correction of Matrix Multiplication Algorithms cites Worst-case to average-case reductions via additive combinatorics
- Hardness Self-Amplification: Simplified, Optimized, and Unified cites New Techniques for Proving Fine-Grained Average-Case Hardness
- Hardness Self-Amplification: Simplified, Optimized, and Unified cites A Refined Laser Method and Faster Matrix Multiplication
- Hardness Self-Amplification: Simplified, Optimized, and Unified cites Hardness Self-Amplification from Feasible Hard-Core Sets
- Hardness Self-Amplification: Simplified, Optimized, and Unified cites Worst-case to average-case reductions via additive combinatorics
- Hardness Self-Amplification from Feasible Hard-Core Sets cites New Techniques for Proving Fine-Grained Average-Case Hardness
- Hardness Self-Amplification from Feasible Hard-Core Sets cites A Refined Laser Method and Faster Matrix Multiplication
- Hardness Self-Amplification from Feasible Hard-Core Sets cites Worst-case to average-case reductions via additive combinatorics
- Worst-case to average-case reductions via additive combinatorics cites New Techniques for Proving Fine-Grained Average-Case Hardness
- Worst-case to average-case reductions via additive combinatorics cites A Refined Laser Method and Faster Matrix Multiplication
Cited by top-tier papers6
- The Structural Complexity of Matrix-Vector MultiplicationEmile Anand, Jan van den Brand, Rose McCartyNeurIPS 2025 · 12 citations
- Worst-case to average-case reductions via additive combinatoricsVahid R. Asadi, Alexander Golovnev, Tom Gur, Igor ShinkarSTOC 2022 · 6 citations
- Error-Correction of Matrix Multiplication AlgorithmsShuichi Hirahara, Nobutaka ShimizuSTOC 2025 · 5 citations
- Hardness Self-Amplification: Simplified, Optimized, and UnifiedShuichi Hirahara, Nobutaka ShimizuSTOC 2023 · 4 citations
- Hardness Self-Amplification from Feasible Hard-Core SetsShuichi Hirahara, Nobutaka ShimizuFOCS 2022 · 4 citations
Builds on2
Related papers
- Towards Real-Time Counting Shortest Cycles on Dynamic Graphs: A Hub Labeling ApproachQingshuai Feng, You Peng, Wenjie Zhang, Ying Zhang et al.ICDE 2022 · 6 citations
- Counting Small Induced Subgraphs: Hardness via Fourier AnalysisRadu Curticapean, Daniel NeuenSODA 2025 · 1 citation
- Average Sensitivity of Graph AlgorithmsNithin Varma, Yuichi YoshidaSODA 2021 · 8 citations
- Coarse-Grained Complexity for Dynamic AlgorithmsSayan Bhattacharya, Danupon Nanongkai, Thatchaphol SaranurakSODA 2020
- Edge sampling and graph parameter estimation via vertex neighborhood accessesJakub Tetek, Mikkel ThorupSTOC 2022 · 12 citations
