The Average-Case Complexity of Counting Cliques in Erdős-Rényi Hypergraphs

Enric Boix-Adserà, Matthew S. Brennan, Guy Bresler

TL;DR

This paper provides the first worst-case to average-case reduction for counting $k$-cliques in Erdős-Rényi hypergraphs. The authors show that if you can efficiently count cliques on a random hypergraph, you can solve the problem for any hypergraph, effectively bridging the gap between average-case statistical problems and fine-grained complexity theory.

What Problem Does This Paper Address?

In computational complexity, we usually talk about "worst-case" hardness—the idea that a problem is hard if there exists at least one nasty input that breaks every algorithm. However, in fields like cryptography, machine learning, and high-dimensional statistics, we care more about "average-case" hardness—is the problem hard for a typical input?

Counting $k$-cliques (finding groups of $k$ vertices where every possible edge exists) is a cornerstone of fine-grained complexity. While we have strong conjectures about its worst-case hardness (e.g., it takes roughly $n^k$ time), proving that it remains hard when the graph is generated randomly (the Erdős-Rényi model) has been an open challenge. The authors tackle this for both standard graphs and $s$-uniform hypergraphs (where edges connect $s$ vertices instead of just 2).

Methods

The authors employ a sophisticated "worst-case to average-case" reduction. The logic follows these steps:

  1. Polynomial Representation: They express the number of $k$-cliques as a low-degree polynomial over a finite field.
  2. Random Self-Reducibility: A known property of low-degree polynomials is that evaluating them on a single "worst-case" point is as hard as evaluating them on many "random" points in the field.
  3. The $k$-partite Reduction: To make the math work, they first reduce the general problem to counting cliques in $k$-partite hypergraphs, which have a more rigid structure.
  4. Binary Expansions Modulo $p$: This is the "secret sauce." The random points from step 2 have weights in a finite field, but Erdős-Rényi graphs have binary edges (0 or 1). The authors developed a technique to decompose these field weights into a sum of binary "layers" that look like Erdős-Rényi hypergraphs.
  5. Algorithmic Analysis: Beyond the reduction, they also designed new algorithms for sparse hypergraphs to test the "tightness" of their theoretical lower bounds.

Datasets

As a theoretical computer science paper, this work does not use empirical datasets. Instead, it focuses on the mathematical properties of the Erdős-Rényi Hypergraph model $G(n, c, s)$, where $n$ is the number of vertices, $c$ is the edge density, and $s$ is the number of vertices per hyperedge.

Key Insights and Ideas

  • The Percolation Threshold Connection: One of the most striking "aha" moments is the discovery that for hypergraphs ($s \ge 3$), the complexity of the problem changes exactly at the $k$-clique percolation threshold. This is a phase transition where local search algorithms can suddenly "explore" the entire graph.
  • Necessary Slowdown: The reduction involves a multiplicative slowdown. Usually, researchers try to minimize this, but here the authors show the slowdown is actually necessary to match the known algorithmic upper bounds in sparse graphs.
  • Bridging Fields: The paper connects "fine-grained complexity" (which looks at exact exponents like $n^{2.37}$) with "statistical-computational gaps" (which look at why certain statistical problems are hard despite having enough data).

Key Results

  • Dense Case: For constant edge density $c$, counting $k$-cliques on $G(n, c, s)$ is essentially as hard as the worst-case. Assuming the Randomized Exponential Time Hypothesis (rETH), it requires $n^{\Omega(k)}$ time.
  • Sparse Case: When the graph is sparse ($c = \Theta(n^{-\alpha})$), the authors provide a "phase diagram" showing how the complexity scales. They identify new algorithms that exploit sparsity, and their reduction proves these algorithms are nearly optimal.
Phase diagrams for counting k-cliques in graphs (s=2) and hypergraphs (s≥3).
  • Hypergraph Tightness: For $s \ge 3$, their lower bounds are remarkably tight, matching their algorithms' performance exactly when the density is above the percolation threshold.

Limitations and Future Work

  • Error Tolerance: The current reduction requires the "average-case" solver to have a very low error probability (roughly $1/\text{poly}(n)$). In contrast, some other reductions in the field can tolerate an error rate of nearly 1/2. Improving this error tolerance for Erdős-Rényi distributions remains an open problem.
  • The Graph Case ($s=2$): While the hypergraph results are very tight, there is still a small gap between the lower and upper bounds for standard graphs. The authors suggest that improving the constant in the exponent of their reduction could close this gap.
  • Beyond Percolation: The behavior of the problem below the percolation threshold for hypergraphs is still not fully characterized, leaving room for even more refined "fine-grained" analysis.

Summary updated

BibTeX
@article{boixadsera2019average,
  author = {Enric Boix-Adserà and Matthew S. Brennan and Guy Bresler},
  title = {{The Average-Case Complexity of Counting Cliques in Erdős-Rényi Hypergraphs}},
  journal = {SIAM Journal on Computing},
  year = {2019},
  doi = {10.1137/20m1316044},
}
Figure