Proper colorings of a graph in linear time using a number of colors linear in the maximum degree of the graph
Kritika Bhandari, Mark Huber
TL;DR
This work tackles the problem of exactly sampling a uniform proper $k$-coloring of a graph with maximum degree $\Delta$. It introduces a randomness recycler (RR) protocol tailored to colorings, encoding per-vertex constraints as an index $x^*$ and progressively removing restrictions via three operations to reach an all-$\bot$ target, while preserving the exact target distribution. The main result proves that if $k > 3.637\Delta + 1$, the expected running time is linear in the number of vertices, with each step costing $O(\Delta)$ and requiring $O(\Delta \log k)$ random bits. This achieves linear-time exact sampling for colorings in the regime where the color count scales linearly with $\Delta$, improving prior bounds and enabling practical exact sampling for graphs with moderate to large degree.
Abstract
A new algorithm for exactly sampling from the set of proper colorings of a graph is presented. This is the first such algorithm that has an expected running time that is guaranteed to be linear in the size of a graph with maximum degree \( Δ\) when the number of colors is greater than \( 3.637 Δ+ 1\).
