Faster Vizing and Near-Vizing Edge Coloring Algorithms

Sepehr Assadi

This paper, recently published by Sepehr Assadi, presents a major breakthrough in the field of graph theory and algorithms, specifically targeting the long-standing problem of edge coloring.

TL;DR

The paper introduces a novel randomized algorithm that achieves a "near-Vizing" edge coloring ($\Delta + O(\log n)$ colors) in near-linear time, effectively bypassing a 40-year-old efficiency barrier. It also provides the first polynomial-time improvement for the classic $(\Delta+1)$ Vizing coloring on dense graphs since 1985.

What Problem Does This Paper Address?

Edge coloring is a fundamental problem: assign colors to the edges of a graph such that no two edges sharing a vertex have the same color. The goal is to use as few colors as possible.

Vizing’s Theorem (1964) famously proves that any simple graph with maximum degree $\Delta$ can be colored using at most $\Delta+1$ colors. However, finding this coloring efficiently has been a challenge. Since 1985, the state-of-the-art algorithm for a $(\Delta+1)$ coloring has had a runtime of $O(m\sqrt{n})$, where $m$ is the number of edges and $n$ is the number of vertices. This $O(m\sqrt{n})$ bound has acted as a "classical barrier" similar to those found in maximum flow or matching problems.

While near-linear time algorithms existed for coarser colorings (like $2\Delta-1$), getting close to the Vizing bound ($\Delta+1$) in near-linear time remained an open question.

Methods

The author departs from traditional "standard machinery" like Vizing’s fans, chains, or Euler partitions. Instead, the paper introduces a new combinatorial technique called Fair Matchings.

  1. Fair Matchings: A matching is considered "fair" if it matches almost every maximum-degree vertex. Specifically, the algorithm ensures that any max-degree vertex remains unmatched with a marginal probability of only $\approx 1/\Delta$.
  2. The Matching Random Walk: To find these fair matchings, the author uses a stochastic process inspired by random walks used in bipartite matching. Unlike previous methods that look for augmenting paths to grow a matching, this process finds alternating paths to "rotate" and "refresh" the matching to maintain fairness.
  3. Iterative Peeling: The algorithm repeatedly finds a fair matching, assigns it a unique color, and "peels" it away from the graph. Because the matchings are "fair," the maximum degree of the remaining graph drops consistently.
  4. Implicit Treaps: To keep the runtime near-linear, the algorithm uses a sophisticated data structure called an Implicit Treap. This allows the algorithm to perform complex path operations (like rotations and deletions) in logarithmic time.

Datasets

Not discussed in the paper. This is a theoretical computer science paper focused on algorithmic complexity and mathematical proofs; it does not use empirical datasets or benchmarks.

Key Insights and Ideas

  • Bypassing the Flow Barrier: Most $(\Delta+1)$ coloring algorithms are "flow-based" or rely on global graph searches. By using a "local" randomized approach (the fair matching), the author avoids the $O(m\sqrt{n})$ bottleneck.
  • Marginal Probability vs. Correlation: A key insight is that while the marginal probability of a vertex being unmatched is low ($1/\Delta$), these events can be heavily correlated. The author provides a detailed probabilistic analysis to show that despite this correlation, the maximum degree of the "leftover" edges after $\Delta$ iterations is only $O(\log n)$ with high probability.
  • Simplicity through Randomization: The approach is conceptually simpler than the multi-step Vizing chains used in recent "Local Vizing Theorem" proofs, yet it yields faster algorithmic results.

Key Results

The paper delivers three major algorithmic results:

  • Result 1 (Near-Vizing): A randomized algorithm that computes a $\Delta + O(\log n)$ coloring in $O(m \log \Delta)$ expected time. This is near-linear and significantly faster than previous bounds for this many colors.
  • Result 2 (Vizing's Theorem): A randomized algorithm for $(\Delta+1)$ coloring in $O(n^2 \log n)$ expected time. For dense graphs (where $m \approx n^2$), this is the first polynomial improvement over the Gabow et al. (1985) bounds in nearly four decades.
  • Result 3 (Approximate Coloring): For any $\epsilon > 0$, a $(1+\epsilon)\Delta$ coloring can be found in $O(m \log(1/\epsilon))$ time. This exponentially improves the dependence on $\epsilon$ compared to recent results that required $\Omega(m/\epsilon)$ time.

Limitations and Future Work

  • Randomization: The current results are randomized and provide "expected" runtimes. A natural next step is to determine if these bounds can be achieved by a deterministic algorithm.
  • The $O(\log n)$ Gap: While the algorithm is near-linear, it still requires $O(\log n)$ "extra" colors beyond the Vizing bound. The "holy grail" remains a $(\Delta+1)$ coloring algorithm that runs in near-linear time for all graphs, not just dense ones.
  • Simple Graphs Only: The techniques are specifically designed for simple graphs. Extending these "fair matching" ideas to multigraphs (where the bound is $1.5\Delta$) remains an open challenge.

Summary updated

BibTeX
@inproceedings{assadi2025faster,
  author = {Sepehr Assadi},
  title = {{Faster Vizing and Near-Vizing Edge Coloring Algorithms}},
  booktitle = {SODA},
  year = {2025},
  doi = {10.1137/1.9781611978322.165},
}
Figure