Skip to content
DAH

The competitive ratio of online graph colouring

In progressTo verify: Expert reviewPosed by Competitive analysis of online colouring dates from the 1980s; first sublinear ratio by Lovász, Saks and Trotter, 1989
AI-reviewed
On this page16 sections
Difficulty
30/100Hard
How far from a resolution. P vs NP = 100
Application value
8/100Theoretical
Realistic practical impact if resolved. P vs NP = 100
Leverage
15/100Isolated
How much other knowledge hinges on it. P vs NP = 100

Difficulty 30: a complete claimed set of bounds exists, leaving a (log log n)^2 randomized gap and a polylogarithmic deterministic gap, but it is an unrefereed preprint under three days old and tight bounds need new lower-bound techniques; set just above generalized sorting (28) and above the AKPW conjecture (22), whose remaining work is mostly verification. Application value 8: no deployed system is known to depend on these ratios. Leverage 15: a few results in one subfield of online algorithms.

The problem

How badly must a colouring method do when it cannot see the future, and does randomness help? An unrefereed 2026 paper says yes.

  1. 1Colour vertices as they arrive
  2. 2Old limit n/log^2 n for everyone
  3. 3Claim: deterministic needs n/log n
  4. 4Claim: coin flips reach near n/log^2 n
  5. 5Needs expert checking; gaps remain

The question. Vertices of an nn-vertex graph arrive one by one with their edges to earlier vertices, and each must be coloured at once, permanently, so that adjacent vertices differ. The competitive ratio is the worst case of (colours used)/χ(G)\chi(G). Let Rdet(n)R_{\mathrm{det}}(n) and Rrand(n)R_{\mathrm{rand}}(n) be the best ratios achievable by deterministic and randomized algorithms; for randomized ones, the input is fixed in advance (oblivious adversary) and we count expected colours. The goal is to determine the order of growth of both.

What was known before November 2026. Lower bound: Ω(n/log⁡2n)\Omega(n/\log^2 n) for both kinds (Halldórsson and Szegedy, 1994). Upper bounds: randomized O(n/log⁡n)O(n/\log n) (Halldórsson, 1997); deterministic O(n/log⁡log⁡n)O(n/\log\log n) (Kawarabayashi, Yoneda and Yoneda, 2025). Randomized looks better, but there was no proof that it must be, since the lower bound was the same for both.

The claims in arXiv:2611.14513. (1) Every deterministic algorithm has ratio Ω(n/log⁡n)\Omega(n/\log n). (2) A polynomial-time randomized algorithm achieves expected ratio O(n(log⁡log⁡n)2/log⁡2n)O(n(\log\log n)^2/\log^2 n). (3) A deterministic algorithm achieves O(n/(log⁡log⁡n)2−ε)O(n/(\log\log n)^{2-\varepsilon}) for any fixed ε>0\varepsilon>0. To compare (1) and (2), divide: n(log⁡log⁡n)2/log⁡2nn/log⁡n=(log⁡log⁡n)2log⁡n\dfrac{n(\log\log n)^2/\log^2 n}{n/\log n}=\dfrac{(\log\log n)^2}{\log n}, which tends to 00. So for large nn the randomized algorithm beats every deterministic one, and randomness helps. In words: the ratio of the two bounds shrinks toward zero.

Where the remaining gaps are. Randomized: lower bound n/log⁡2nn/\log^2 n against upper bound n(log⁡log⁡n)2/log⁡2nn(\log\log n)^2/\log^2 n, a gap of (log⁡log⁡n)2(\log\log n)^2. Deterministic: n/log⁡nn/\log n against n/(log⁡log⁡n)2−εn/(\log\log n)^{2-\varepsilon}, a polylogarithmic gap. The authors conjecture that every deterministic algorithm needs ratio at least about n/log⁡cnn/\log^c n for every fixed c>0c>0 and that a randomized n/log⁡2nn/\log^2 n algorithm exists.

How it works, at a glance. They study graphs with many colours rather than few. An algorithm that uses each colour on at most two vertices uses at most (n+ω)/2(n+\omega)/2 colours, where ω\omega is the largest clique size. Allowing three vertices per colour is the next step; they claim a randomized algorithm can do it and a deterministic one cannot. The paper reports that an AI model, GPT-6 Astra, was used extensively in exploring the proofs.

Status. An unrefereed single preprint; DARC has not checked it. The problem is listed as in progress, never resolved.

Go deeper

The full technical text.

Vertices of an nn-vertex graph GG arrive one at a time with their edges to earlier vertices, and each must be given a colour immediately and irrevocably so that adjacent vertices differ. The competitive ratio of an algorithm is the maximum, over inputs, of (colours used) / χ(G)\chi(G); for randomized algorithms the number of colours is an expectation against an oblivious adversary (the input is fixed in advance). Let Rdet(n)R_{\mathrm{det}}(n) and Rrand(n)R_{\mathrm{rand}}(n) be the best achievable competitive ratios for deterministic and randomized algorithms. Determine the order of Rdet(n)R_{\mathrm{det}}(n) and Rrand(n)R_{\mathrm{rand}}(n); in particular, is Rrand(n)=Θ(n/log⁡2n)R_{\mathrm{rand}}(n)=\Theta(n/\log^2 n), and how close is Rdet(n)R_{\mathrm{det}}(n) to n/log⁡nn/\log n?

Words on this page (9)
Words on this page
competitive ratio
The worst-case ratio between what an online algorithm achieves and what the best offline algorithm achieves with full knowledge.
chromatic number
The smallest number of colours with which a graph can be properly coloured.
online algorithm
A method that must make each decision as the input arrives, without knowing what comes next.
deterministic algorithm
A method with no random choices: the same input always gives the same output.
oblivious adversary
An opponent who fixes the whole input in advance, without seeing the algorithm's random choices.
randomized algorithm
A method that makes random choices, so its cost is judged on average over those choices.
clique
A set of vertices all joined to each other; each needs its own colour.
big-O notation
A way to say how fast a quantity grows, ignoring constant factors; O means an upper bound, Omega a lower bound.
preprint
A paper posted publicly before peer review, so its claims are not yet checked by independent referees.
New to this? Read first (3)
New to this? Read first
AI-reviewedAn AI drafted this explanation. Check it against the technical text.

Path to understanding

foundations → problem

The research entries this problem rests on, in the order to read them. Each links to its explainer.

  1. Start with
  2. Step 2
  3. Step 3
  4. Step 4
  5. Then
    • The competitive ratio of online graph colouringThe problem

State of the art

Accepted results, as quoted in the authors' 2025 and 2026 papers. First-Fit has ratio at least n/4n/4, since it can use n/2n/2 colours on a bipartite graph. Lovász, Saks and Trotter (1989) gave a deterministic O(n/log⁡∗n)O(n/\log^* n); Vishwanathan (1992) a randomized O(n/log⁡n)O(n/\sqrt{\log n}); Halldórsson and Szegedy (1994) proved an Ω(n/log⁡2n)\Omega(n/\log^2 n) lower bound for deterministic and randomized algorithms alike; Halldórsson (1997) gave a randomized O(n/log⁡n)O(n/\log n); Kierstead (1998) a deterministic O(nlog⁡log⁡log⁡n/log⁡log⁡n)O(n\log\log\log n/\log\log n). Kawarabayashi, Yoneda and Yoneda (arXiv 2511.16100, November 2025; the 2026 preprint says it is to appear at SODA 2027) gave a deterministic O(n/log⁡log⁡n)O(n/\log\log n).

Claimed improvements (one unrefereed preprint). The same authors, arXiv:2611.14513 (v1, 10 November 2026), claim a deterministic lower bound Ω(n/log⁡n)\Omega(n/\log n), a polynomial-time randomized algorithm with expected ratio O(n(log⁡log⁡n)2/log⁡2n)O(n(\log\log n)^2/\log^2 n) against an oblivious adversary, and for every fixed ε>0\varepsilon>0 a polynomial-time deterministic algorithm with ratio O(n/(log⁡log⁡n)2−ε)O(n/(\log\log n)^{2-\varepsilon}). Together the first two would separate randomized from deterministic online colouring and leave a randomized gap of (log⁡log⁡n)2(\log\log n)^2. The paper's AI usage disclosure states that OpenAI's GPT-6 Astra was used extensively in exploring the proofs: it generated the proofs of the first two theorems once the authors proposed the large-chromatic approach, and the authors substantially simplified its complicated proofs of the second and third; the authors wrote the paper and take responsibility for correctness. DARC has not checked the argument.

What stays open even if the preprint holds. The (log⁡log⁡n)2(\log\log n)^2 randomized gap, and the deterministic gap between n/log⁡nn/\log n and n/(log⁡log⁡n)2−εn/(\log\log n)^{2-\varepsilon}. The authors conjecture that every deterministic algorithm has ratio Ω(n/log⁡cn)\Omega(n/\log^c n) for every fixed c>0c>0, and that a randomized O(n/log⁡2n)O(n/\log^2 n) algorithm exists.

Realistic applications

Mostly theoretical: online colouring is a model case for competitive analysis and for the value of randomization. The authors point to scheduling and resource allocation as places where online colouring is applied, but no deployed system is known to depend on these ratios.

What counts as solved

Matching upper and lower bounds (up to constant factors) for the deterministic and for the randomized competitive ratio, each with a refereed or expert-accepted proof. Expert confirmation of the 2026 preprint would settle the randomized-versus-deterministic separation but not this problem.

How it gets verified

To verify: Expert review

Only expert review of the argument is possible today.

Expert review of the three theorems in arXiv:2611.14513: the new adversary model and the Omega(n / log n) deterministic lower bound (Section 4), the randomized algorithm that puts most colour classes at three vertices and its O(n (log log n)^2 / log^2 n) expected-ratio analysis against an oblivious adversary (Section 5), and the deterministic O(n / (log log n)^(2-eps)) algorithm built by shortening the earlier recursion (Section 6). Check that the adversary of Section 4 really forces every deterministic algorithm, and that the randomized analysis holds for every fixed input. A simulation of the algorithms on small adversarial inputs can falsify but not prove the bounds. Refereed publication or acceptance by specialists in online algorithms would settle the claim; the remaining gaps need new results.

Claims

Connected problems

No connected problems.

Progress

  1. Nov 10, 2026
    Preprint claims randomized-deterministic separation

    A preprint claims a deterministic lower bound Omega(n / log n) and a randomized upper bound O(n (log log n)^2 / log^2 n), plus a deterministic O(n / (log log n)^(2-eps)) upper bound. Unrefereed; DARC has not checked it.

    source
  2. Nov 20, 2025
    Deterministic O(n / log log n)

    Kawarabayashi, Yoneda and Yoneda improved Kierstead's 1998 deterministic bound; unrefereed when posted.

    source
  3. Jan 1, 1997
    Randomized O(n / log n)

    Halldórsson's randomized algorithm, the best randomized upper bound until 2026 (year only; month is a placeholder). Bound as quoted in the papers cited here.

    source
  4. Jan 1, 1994
    Omega(n / log^2 n) lower bound for all algorithms

    Halldórsson and Szegedy proved the lower bound that stood for three decades (year only; month is a placeholder). Bound as quoted in the 2026 preprint.

    source