English

Coloring Graphs with Few Colors in the Streaming Model

Data Structures and Algorithms 2025-10-22 v1 Computational Complexity

Abstract

We study graph coloring problems in the streaming model, where the goal is to process an nn-vertex graph whose edges arrive in a stream, using a limited space that is smaller than the trivial O(n2)O(n^2) bound. While prior work has largely focused on coloring graphs with a large number of colors, we explore the opposite end of the spectrum: deciding whether the input graph can be colored using only a few, say, a constant number of colors. We are interested in each of the adversarial, random order, or dynamic streams. Our work lays the foundation for this new direction by establishing upper and lower bounds on space complexity of key variants of the problem. Some of our main results include: - Adversarial: for distinguishing between qq- vs 2Ω(q)2^{\Omega(q)}-colorable graphs, lower bounds of n2o(1)n^{2-o(1)} space for qq up to (logn)1/2o(1)(\log{n})^{1/2-o(1)}, and n1+Ω(1/loglogn)n^{1+\Omega(1/\log\log{n})} space for qq further up to (logn)1o(1)(\log{n})^{1-o(1)}. - Random order: for distinguishing between qq- vs qtq^t-colorable graphs for q,t2q,t \geq 2, an upper bound of O~(n1+1/t)\tilde{O}(n^{1+1/t}) space. Specifically, distinguishing between qq-colorable graphs vs ones that are not even poly(q)(q)-colorable can be done in n1+o(1)n^{1+o(1)} space unlike in adversarial streams. Although, distinguishing between qq-colorable vs Ω(q2)\Omega(q^2)-colorable graphs requires Ω(n2)\Omega(n^2) space even in random order streams for constant qq. - Dynamic: for distinguishing between qq- vs qtq \cdot t-colorable graphs for any q3q \geq 3 and t1t \geq 1, nearly optimal upper and lower bounds of Θ~(n2/t2)\tilde{\Theta}(n^2/t^2) space. We develop several new technical tools along the way: cluster packing graphs, a generalization of Ruzsa-Szemer\'edi graphs; a player elimination framework based on cluster packing graphs; and new edge and vertex sampling lemmas tailored to graph coloring.

Keywords

Cite

@article{arxiv.2510.18177,
  title  = {Coloring Graphs with Few Colors in the Streaming Model},
  author = {Sepehr Assadi and Janani Sundaresan and Helia Yazdanyar},
  journal= {arXiv preprint arXiv:2510.18177},
  year   = {2025}
}

Comments

89 pages, SODA 2026

R2 v1 2026-07-01T06:56:47.307Z