Locally finding a solution to symmetry-breaking tasks such as
vertex-coloring, edge-coloring, maximal matching, maximal independent set,
etc., is a long-standing challenge in distributed network computing. More
recently, it has also become a challenge in the framework of centralized local
computation. We introduce conflict coloring as a general symmetry-breaking task
that includes all the aforementioned tasks as specific instantiations ---
conflict coloring includes all locally checkable labeling tasks from
[Naor\&Stockmeyer, STOC 1993]. Conflict coloring is characterized by two
parameters l and d, where the former measures the amount of freedom given
to the nodes for selecting their colors, and the latter measures the number of
constraints which colors of adjacent nodes are subject to.We show that, in the
standard LOCAL model for distributed network computing, if l/d \textgreater{}
\Delta, then conflict coloring can be solved in O~(Δ)+log∗n rounds in n-node graphs with maximum degree
Δ, where O~ ignores the polylog factors in Δ. The
dependency in~n is optimal, as a consequence of the Ω(log∗n) lower
bound by [Linial, SIAM J. Comp. 1992] for (Δ+1)-coloring. An important
special case of our result is a significant improvement over the best known
algorithm for distributed (Δ+1)-coloring due to [Barenboim, PODC 2015],
which required O~(Δ3/4)+log∗n rounds. Improvements for other
variants of coloring, including (Δ+1)-list-coloring,
(2Δ−1)-edge-coloring, T-coloring, etc., also follow from our general
result on conflict coloring. Likewise, in the framework of centralized local
computation algorithms (LCAs), our general result yields an LCA which requires
a smaller number of probes than the previously best known algorithm for
vertex-coloring, and works for a wide range of coloring problems