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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext cf2e3f26-44b3-415f-ae8a-0b71eed5eba5Cited 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
