arXiv:2611.03115cs.DSNov 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2611.03115

Faster Exact Algorithms for 3- and 4-Coloring: Deterministic Improvements and Further Randomized Speedups

Ryosuke Yamano, Tetsuo Shibuya

Abstract

We study exact exponential-time algorithms for 3- and 4-coloring. For 3-coloring, the best previously published running-time bound is O∗(1.3289n)O^*(1.3289^n), due to Eppstein (SODA 2001). We improve this bound to O∗(1.3204n)O^*(1.3204^n) deterministically and O∗(1.3159n)O^*(1.3159^n) using randomization. For 4-coloring, the best previously known running-time bound is O∗(1.7159n)O^*(1.7159^n), due to Wu, Gu, Jiang, Shao, and Xu (ESA 2024). We improve this bound to O∗(1.6975n)O^*(1.6975^n) deterministically and O∗(1.6933n)O^*(1.6933^n) using randomization.

Our algorithms for both problems combine constraint satisfaction algorithms with dynamic programming over tree and path decompositions, exploiting their complementary strengths on different graph structures. For 6-coloring, the best published randomized running-time bound is exponentially smaller than the best published deterministic bound. For 3- and 4-coloring, however, no such improvement through randomization was previously known. To the best of our knowledge, our results provide the first randomized running-time bounds for these two problems that exponentially improve upon the best previously published deterministic bounds. This raises the question of whether randomization offers an inherent exponential advantage for 3- and 4-coloring.

*Department of Computer Science, Graduate School of Information Science and Technology, The University of Tokyo, Japan. ryoyamano15@g.ecc.u-tokyo.ac.jp. †Division of Medical Data Informatics, Human Genome Center, Institute of Medical Science, The University of Tokyo, Japan. tshibuya@hgc.jp. Supported by KAKENHI Grant Number 23K28035.

Contents

1 Introduction 1
2 Preliminaries 2
3 CSP Algorithms and Decomposition-Based DP 3
4 Algorithms for 3-Coloring 5
4.1 Overview of the 3-Coloring Algorithm 5
4.2 Preprocessing the Graph 5
4.3 Algorithms via CSP 7
4.4 Algorithms via Decomposition-Based DP 8
4.5 Running-Time Analysis via Linear Programming 9
5 Algorithms for 4-Coloring 9
5.1 Overview of the 4-Coloring Algorithm 9
5.2 Preprocessing the Terminal Instances 10
5.3 Terminal Algorithms via 3-Coloring 11
5.4 Terminal Algorithms via CSP 11
5.5 Terminal Algorithms via Tree Decomposition DP 13
5.6 Terminal Algorithms via Path Decomposition DP 13
5.7 From Terminal Bounds to the Overall Running Time 14
A Decision-to-Search Reduction 20
B Deferred Proofs 20
B.1 Proof of Lemma 3.7 20
B.2 Proof of Lemma 4.2 21
C Linear Programs and Dual Certificates for 3-Coloring 21
D Branching Constraints for 4-Coloring 23
E Convex Programs and Dual Certificates for 4-Coloring 24
F On the Linear Program in Meijer's Preprint 26

References (50)