arXiv:2610.24644cs.DSOct 2026

Manuscript Offprint

arXiv:2610.24644

Improved Space Bounds for Promise Graph Coloring in Adversarial Streams

Sergio Thoumi

Abstract

We study promise graph coloring in one pass insertion-only adversarial streams. We give a randomized algorithm that distinguishes 3-colorable graphs from graphs that are not 6-colorable using O(n3/2log⁡(n/ε)log⁡n)O(n^{3/2} \log(n/\varepsilon) \log n) bits of space. This provides a truly subquadratic space algorithm for a constant coloring gap, answering an open problem posed by Assadi, Sundaresan, and Yazdanyar [SODA 2026] for q=3q = 3.

Combining this algorithm with the vertex-sampling lemma of Assadi et al. yields, for any 144⌈log⁡2n⌉≤Q≤n144\lceil\log_2 n\rceil \leq Q \leq n, a one-pass decision algorithm distinguishing 3-colorable graphs from graphs that are not Q-colorable using O((n/Q)3/2log⁡5n)O((n/Q)^{3/2} \log^5 n) bits of space. This improves upon the O~((n/Q)2)\widetilde{O}((n/Q)^2) bound achievable via dynamic streaming techniques. Setting Q=⌈n1/3⌉Q = \lceil n^{1/3} \rceil yields a semi-streaming decision algorithm, answering the decision version of another open problem posed by Assadi et al.

On the negative side, we prove that distinguishing χ(G)≤q\chi(G) \leq q from χ(G)≥(q−1)2\chi(G) \geq (q-1)^2 requires Ω(n2/q5)\Omega(n^2/q^5) bits of space, improving upon the previously established q2/4q^2/4 threshold using the same space complexity.

1 Introduction

Graph coloring is one of the fundamental problems in graph theory. A well-studied formulation is the k-coloring problem where the input is a graph and one should decide 1^{1} whether the vertices of the graph can be colored with at most k colors such that no two adjacent vertices share the same color. In the case where such a coloring is possible, the graph is said to be k-colorable. The number of colors needed is its chromatic number and is denoted as χ(G)\chi(G).

One generalization of k-coloring has been introduced [2] as a Promise Constraint Satisfaction problem, where, given a graph, one has to decide whether it is k-colorable or its chromatic number is at least K under the promise that one of these cases holds (here, k<Kk < K). When K=k+1K = k + 1, this is simply the decision variant of the k-coloring problem.

More recently, the promise variant of graph coloring has been studied [1] in the graph streaming model [4]. In that model, we have a set of nn vertices labeled {1,2,…,n}\{1,2,\ldots,n\} and a stream of edge additions (and deletions). The goal is to make one or a few passes over the edge stream and find a solution while using the least amount of memory possible. Obviously, any graph problem can be trivially solved using O(n2)O(n^{2}) space by simply storing all its edges.

Assadi et al. [1] studied the problem in multiple streaming settings. In this paper, all our results hold in the one pass, insertion-only adversarial-order streaming model [5], in which an adversary knows the algorithm and the entire stream of edge insertions and may arrange them in any order (note that our lower bound in Section 3 consequently also applies to dynamic streams).

In that setting, Assadi et al. proved that distinguishing between q-colorable graphs and graphs with chromatic number at least q2/4q^{2}/4 requires Ω(n2/q5)\Omega(n^{2}/q^{5}) space. In the two-party one-way

1^{1}In the non-decision variant, one would find a coloring, if it exists.

communication model, the corresponding problem admits an O(1)O(1)-bit protocol when the NO threshold exceeds q2q^2. We prove that this lower bound holds for distinguishing between q-colorable graphs and graphs with chromatic number at least (q−1)2(q-1)^2. This result is presented in Section 3.

In Section 4, we give a randomized algorithm that distinguishes χ(G)≤3\chi(G) \leq 3 from χ(G)>6\chi(G) > 6 using

O(n3/2log⁡(n/ε)log⁡n)O\Big(n^{3/2}\log(n/\varepsilon)\log n\Big)

bits of space. The algorithm always provides a coloring for 3-colorable graphs and rejects graphs with chromatic number greater than 6 with probability at least 1−ε1 - \varepsilon. For constant error, this gives a truly subquadratic-space algorithm for a constant coloring gap, answering the q=3q = 3 case of Open Problem 1 of Assadi et al.

In Section 5, we combine the decision variant of this algorithm with the vertex-sampling lemma of Assadi et al. For every fixed integer c≥1c \geq 1 and every integer 144⌈log⁡2n⌉≤Q≤n144\lceil \log_2 n \rceil \leq Q \leq n, we distinguish χ(G)≤3\chi(G) \leq 3 from χ(G)>Q\chi(G) > Q using

O((n/Q)3/2log⁡5n)O\Big((n/Q)^{3/2}\log^{5}n\Big)

bits of space, with perfect completeness and success probability at least 1−n−c1 - n^{-c}. This improves the O~((n/Q)2)\widetilde{O}((n/Q)^2) upper bound obtained from their dynamic-stream algorithm. For all sufficiently large nn, setting Q=⌈n1/3⌉Q = \lceil n^{1/3} \rceil gives an O(nlog⁡5n)O(n \log^5 n)-space decision algorithm. Thus, we answer affirmatively the decision part of their Open Problem 2.