๐ค AI Summary
This work addresses the long-standing barrier of quadratic time complexity for graph k-coloring in the average case. We present the first proof that the problem admits sublinear complexity on average, introducing a novel approach that synergistically combines local computation algorithms (LCAs), graph regularity theory, and random subgraph analysis. Our method achieves ฮ(nk) expected running time without requiring full access to the input graph; instead, it performs only poly(k) probes on average to complete a valid coloring. When k is constant, this yields linear-time performance, which we further establish as optimal under the given model.
๐ Abstract
Graph $k$-coloring is one of the classic NP-complete problems. Previous work has studied its average time complexity, defined to be the average runtime of computing a $k$-coloring over the set of all $k$-colorable graphs on $n$ vertices. A highly influential result of Dyer-Frieze from 1989 gave an algorithm with $O(n^2)$ average runtime for constant $k$. This quadratic runtime appeared natural (and possibly even optimal) since almost all $k$-colorable graphs have $ฮ(n^2)$ edges, so one needs at least this time in order to read the (entire) input. However, this was later improved by Kuฤera in 1995 to average runtime $O(n^2/k)$ for every $k \leq n^{c}$ where $c \in (0, 1)$. Nevertheless, in the most interesting case of $k = O(1)$, the best-known bound remained quadratic in $n$. The true average complexity of the $k$-coloring problem has remained elusive for the last three decades.
We break the longstanding quadratic barrier. Our main result in this paper shows that the exact average-case complexity of this fundamental problem is $ฮ(nk)$ for every $k \leq n^{c'}$ and some $c' \in (0, 1)$. For $k = O(1)$, this reveals the average sublinear nature of $k$-colorability: the average-case complexity is linear in $n$, and thus sublinear in the size of the input. We further show that our $ฮ(nk)$ average runtime is optimal, since a simple bound proves that every algorithm that correctly $k$-colors all $k$-colorable graphs requires $ฮฉ(n k)$ average runtime.
Our proofs draw on ideas from sublinear and local algorithms and also yield a local computation algorithm (LCA) for $k$-coloring with average-case probe complexity $\text{poly}(k)$. A key new ingredient in our algorithm is a method for certifying the unique colorability of random subgraphs, using tools from the theory of graph regularity.