English

The Average-Case Complexity of Counting Cliques in Erdos-Renyi Hypergraphs

Computational Complexity 2021-07-23 v7 Data Structures and Algorithms Combinatorics Probability

Abstract

We consider the problem of counting kk-cliques in ss-uniform Erdos-Renyi hypergraphs G(n,c,s)G(n,c,s) with edge density cc, and show that its fine-grained average-case complexity can be based on its worst-case complexity. We prove the following: 1. Dense Erdos-Renyi graphs and hypergraphs: Counting kk-cliques on G(n,c,s)G(n,c,s) with kk and cc constant matches its worst-case time complexity up to a polylog(n)\mathrm{polylog}(n) factor. Assuming randomized ETH, it takes nΩ(k)n^{\Omega(k)} time to count kk-cliques in G(n,c,s)G(n,c,s) if kk and cc are constant. 2. Sparse Erdos-Renyi graphs and hypergraphs: When c=Θ(nα)c = \Theta(n^{-\alpha}), we give several algorithms exploiting the sparsity of G(n,c,s)G(n, c, s) that are faster than the best known worst-case algorithms. Complementing this, based on a fine-grained worst-case assumption, our results imply a different average-case phase diagram for each fixed α\alpha depicting a tradeoff between a runtime lower bound and kk. Surprisingly, in the hypergraph case (s3s \ge 3), these lower bounds are tight against our algorithms exactly when cc is above the Erd\H{o}s-R\'{e}nyi kk-clique percolation threshold. This is the first worst-case-to-average-case hardness reduction for a problem on Erd\H{o}s-R\'{e}nyi hypergraphs that we are aware of. We also give a variant of our result for computing the parity of the kk-clique count that tolerates higher error probability.

Keywords

Cite

@article{arxiv.1903.08247,
  title  = {The Average-Case Complexity of Counting Cliques in Erdos-Renyi Hypergraphs},
  author = {Enric Boix-Adserà and Matthew Brennan and Guy Bresler},
  journal= {arXiv preprint arXiv:1903.08247},
  year   = {2021}
}

Comments

44 pages, 2 figures, appeared in FOCS'19, accepted to SICOMP special edition

R2 v1 2026-06-23T08:13:22.962Z