English

A Fast Coloring Oracle for Average Case Hypergraphs

Data Structures and Algorithms 2025-07-16 v1 Computational Complexity Combinatorics

Abstract

Hypergraph 22-colorability is one of the classical NP-hard problems. Person and Schacht [SODA'09] designed a deterministic algorithm whose expected running time is polynomial over a uniformly chosen 22-colorable 33-uniform hypergraph. Lee, Molla, and Nagle recently extended this to kk-uniform hypergraphs for all k3k\geq 3. Both papers relied heavily on the regularity lemma, hence their analysis was involved and their running time hid tower-type constants. Our first result in this paper is a new simple and elementary deterministic 22-coloring algorithm that reproves the theorems of Person-Schacht and Lee-Molla-Nagle while avoiding the use of the regularity lemma. We also show how to turn our new algorithm into a randomized one with average expected running time of only O(n)O(n). Our second and main result gives what we consider to be the ultimate evidence of just how easy it is to find a 22-coloring of an average 22-colorable hypergraph. We define a coloring oracle to be an algorithm which, given vertex vv, assigns color red/blue to vv while inspecting as few edges as possible, so that the answers to any sequence of queries to the oracle are consistent with a single legal 22-coloring of the input. Surprisingly, we show that there is a coloring oracle that, on average, can answer every vertex query in time O(1)O(1).

Keywords

Cite

@article{arxiv.2507.10691,
  title  = {A Fast Coloring Oracle for Average Case Hypergraphs},
  author = {Cassandra Marcussen and Edward Pyne and Ronitt Rubinfeld and Asaf Shapira and Shlomo Tauber},
  journal= {arXiv preprint arXiv:2507.10691},
  year   = {2025}
}

Comments

18 pages, 2 figures

R2 v1 2026-07-01T04:01:00.562Z