Deterministic Online Bipartite Edge Coloring

Joakim Blikstad, Ola Svensson, Radu Vintan, David Wajc

TL;DR

For over three decades, computer scientists believed that randomization was essential to outperform the simple "greedy" approach in online bipartite edge coloring. This paper shatters that belief by presenting the first deterministic algorithm that beats the greedy limit, achieving a competitive ratio of approximately 1.58 ($e/(e-1)$) for graphs with a sufficiently large maximum degree.

What Problem Does This Paper Address?

The problem is online bipartite edge coloring. Imagine a bipartite graph (two sets of nodes where edges only connect nodes from different sets). In the "online" version, nodes on one side are revealed one by one. When a node arrives, all its edges to the already-known nodes on the other side are revealed, and the algorithm must immediately and irrevocably assign each edge a color. The rule is simple: no two edges sharing a node can have the same color.

The goal is to use as few colors as possible. The "offline" optimum is $\Delta$ (the maximum degree of any node). A simple greedy algorithm—assigning the first available color—uses at most $2\Delta - 1$ colors, giving it a competitive ratio of 2.

Since 1992, the consensus was that for graphs where $\Delta$ is large, randomized algorithms could do better than greedy, but deterministic ones were stuck at the "greedy wall." This paper addresses this gap, proving that deterministic algorithms are more powerful than we thought.

Methods

The authors take a clever, indirect route to find their deterministic algorithm. Instead of building it from scratch, they design a specific type of randomized algorithm and then "derandomize" it.

  1. Beating the Adaptive Adversary: Most randomized algorithms assume an "oblivious" adversary who picks the graph in advance. The authors design an algorithm that works against an adaptive adversary—one that chooses the next node based on the algorithm's previous (random) choices.
  2. Contention Resolution Schemes (CRS): They use a CRS to handle "collisions." In their partial coloring step, edges independently pick colors. If multiple edges incident to the same new node pick the same color, the CRS decides which one gets it.
  3. Martingale Analysis: To prove the algorithm works against an adaptive adversary, they use Martingales (a tool from probability theory) to show that "bad events" (like a color being over-requested) are extremely unlikely, even when the adversary is trying to trigger them.
  4. Pipelining: The core algorithm only colors a fraction of the edges. To color the whole graph, they "pipeline" multiple instances of the algorithm, each handling the edges left over by the previous one, finally finishing the tiny remainder with a standard greedy approach.
  5. Derandomization: A known theoretical result states that if a randomized algorithm can beat an adaptive adversary, a deterministic version of that algorithm must exist. The authors use the "method of pessimistic estimators" to provide a concrete (though computationally heavy) deterministic version.

Datasets

As a theoretical computer science paper, this work does not use empirical datasets or benchmarks. Instead, it provides mathematical proofs that hold for all possible bipartite graphs that satisfy the condition $\Delta = \omega(\log n)$.

Key Insights and Ideas

  • Randomization is not a requirement: The most significant "aha moment" is the refutation of the 1992 conjecture. The authors show that the perceived gap between randomized and deterministic performance was an artifact of our analysis tools, not a fundamental limit of the problem.
  • The Power of Adaptivity: By designing for the much harder "adaptive" adversary, the authors made the jump to a deterministic algorithm possible. This is the first time a Contention Resolution Scheme has been used to produce a deterministic algorithm for a deterministic problem.
  • Concentration is Key: The technical breakthrough lies in achieving "exp($-\Delta^2$)" type concentration. Previous randomized algorithms only achieved "exp($-\Delta$)", which wasn't strong enough to survive the "union bound" over all the choices an adaptive adversary could make.

Key Results

  • Competitive Ratio: The algorithm achieves a competitive ratio of $\frac{e}{e-1} + o(1) \approx 1.58$. This is a massive improvement over the greedy ratio of 2.
  • Threshold: This result holds whenever the maximum degree $\Delta = \omega(\log n)$.
  • Optimality: For the specific "one-sided node arrival" model, the ratio $e/(e-1)$ is known to be the best possible even for randomized algorithms, meaning this deterministic algorithm is essentially optimal.

Limitations and Future Work

The primary limitation is computational efficiency. While the paper proves a deterministic algorithm exists, the derandomization process (using pessimistic estimators) results in a running time of $n^{O(\Delta)}$. For large graphs, this is sub-exponential but not yet "polynomial time" (like $n^2$ or $n^3$).

The authors explicitly leave it as an open problem to find a polynomial-time deterministic algorithm that beats greedy. Additionally, while they solved the problem for one-sided node arrivals, the case for "edge arrivals" (where edges appear one by one in any order) remains a frontier for deterministic algorithms.

Summary updated

BibTeX
@inproceedings{blikstad2025deterministic,
  author = {Joakim Blikstad and Ola Svensson and Radu Vintan and David Wajc},
  title = {{Deterministic Online Bipartite Edge Coloring}},
  booktitle = {SODA},
  year = {2025},
  doi = {10.1137/1.9781611978322.49},
}
Figure