English

Online Graph Coloring for $k$-Colorable Graphs

Data Structures and Algorithms 2026-04-06 v2 Discrete Mathematics

Abstract

We study the problem of online graph coloring for kk-colorable graphs. The best previously known deterministic algorithm uses O~(n11k!)\widetilde{O}(n^{1-\frac{1}{k!}}) colors for general kk and O~(n5/6)\widetilde{O}(n^{5/6}) colors for k=4k = 4, both given by Kierstead in 1998. In this paper, we finally break this barrier, achieving the first major improvement in nearly three decades. Our results are summarized as follows: (1) k5k \geq 5 case. We provide a deterministic online algorithm to color kk-colorable graphs with O~(n11k(k1)/2)\widetilde{O}(n^{1-\frac{1}{k(k-1)/2}}) colors, significantly improving the current upper bound of O~(n11k!)\widetilde{O}(n^{1-\frac{1}{k!}}) colors. Our algorithm also matches the best-known bound for k=4k = 4 (O~(n5/6)\widetilde{O}(n^{5/6}) colors). (2) k=4k = 4 case. We provide a deterministic online algorithm to color 44-colorable graphs with O~(n14/17)\widetilde{O}(n^{14/17}) colors, improving the current upper bound of O~(n5/6)\widetilde{O}(n^{5/6}) colors. (3) k=2k = 2 case. We show that for randomized algorithms, the upper bound is 1.034log2n+O(1)1.034 \log_2 n + O(1) colors and the lower bound is 9196log2nO(1)\frac{91}{96} \log_2 n - O(1) colors. This means that we close the gap to a factor of 1.091.09. With our algorithm for the k5k \geq 5 case, we also obtain a deterministic online algorithm for graph coloring that achieves a competitive ratio of O(nloglogn)O(\frac{n}{\log \log n}), which improves the best-known result of O(nlogloglognloglogn)O(\frac{n \log \log \log n}{\log \log n}) by Kierstead. For the bipartite graph case (k=2k = 2), the limit of online deterministic algorithms is known: any deterministic algorithm requires 2log2nO(1)2 \log_2 n - O(1) colors. Our results imply that randomized algorithms can perform slightly better but still have a limit.

Keywords

Cite

@article{arxiv.2511.16100,
  title  = {Online Graph Coloring for $k$-Colorable Graphs},
  author = {Ken-ichi Kawarabayashi and Hirotaka Yoneda and Masataka Yoneda},
  journal= {arXiv preprint arXiv:2511.16100},
  year   = {2026}
}
R2 v1 2026-07-01T07:46:43.264Z