English

Tree Coloring: Random Order and Predictions

Data Structures and Algorithms 2024-05-29 v1

Abstract

Coloring is a notoriously hard problem, and even more so in the online setting, where each arriving vertex has to be colored immediately and irrevocably. Already on trees, which are trivially two-colorable, it is impossible to achieve anything better than a logarithmic competitive ratio. We show how to undercut this bound by a double-logarithmic factor in the slightly relaxed online model where the vertices arrive in random order. We then also analyze algorithms with predictions, showing how well we can color trees with machine-learned advice of varying reliability. We further extend our analysis to all two-colorable graphs and provide matching lower bounds in both cases. Finally, we demonstrate how the two mentioned approaches, both of which diminish the often unjustified pessimism of the classical online model, can be combined to yield even better results.

Keywords

Cite

@article{arxiv.2405.18151,
  title  = {Tree Coloring: Random Order and Predictions},
  author = {Fabian Frei and Matthias Gehnen and Dennis Komm and Rastislav Královič and Richard Královič and Peter Rossmanith and Moritz Stocker},
  journal= {arXiv preprint arXiv:2405.18151},
  year   = {2024}
}
R2 v1 2026-06-28T16:43:48.884Z