Vizing's Theorem in Deterministic Almost-Linear Time

Sepehr Assadi, Soheil Behnezhad, Sayan Bhattacharya, Martín Costa, Shay Solomon, Tianyi Zhang

TL;DR

This paper breaks a decades-old deterministic bottleneck for graph edge-coloring under Vizing's Theorem. By entirely abandoning the problematic randomized sublinear-time subroutines used in recent breakthroughs and replacing them with a novel deterministic "color-type sparsification" approach, the authors deliver the first deterministic $(\Delta + 1)$-edge coloring algorithm that runs in almost-linear $m^{1+o(1)}$ time.

What Problem Does This Paper Address?

Edge coloring is a classic problem in graph theory: the goal is to assign colors to the edges of a graph such that no two adjacent edges share the same color. According to Vizing's Theorem (1964), any graph with a maximum vertex degree of $\Delta$ can be properly edge-colored using at most $\Delta + 1$ colors.

While Vizing's original proof easily translates into a deterministic $O(mn)$ time algorithm, improving this bound has proven incredibly difficult. In the 1980s, the deterministic runtime was optimized to $\tilde{O}(m\sqrt{n})$, where it hit a wall for forty years. Recent breakthroughs finally broke this barrier, culminating in a randomized near-linear time algorithm. However, these modern speedups rely heavily on randomization to find color-alternating paths in sublinear ($\tilde{O}(n)$) time.

Because sublinear algorithms cannot afford to read the entire graph, derandomizing them is notoriously difficult, if not impossible. This paper addresses a fundamental question: Can we eliminate the need for randomness entirely and solve the $(\Delta + 1)$-edge coloring problem deterministically in almost-linear time?

Methods

The authors' core technical contribution is a new framework called Type Sparsification, which completely bypasses the need for sublinear-time subroutines. Instead of using randomness to color a tiny fraction of edges incredibly fast, they use a deterministic, almost-linear time algorithm to color or simplify a much larger, constant fraction of the graph's edges at once.

Here is how the Type Sparsification framework operates:

  1. Palette Partitioning: The algorithm divides the total color palette into $\eta$ equal-sized subsets ($C_1, \dots, C_\eta$).
  2. Defining Edge Types: For any uncolored edge, its "type" is defined by the pair of missing colors at its two endpoints.
  3. Matrix Diagonalization: The algorithm iteratively modifies the current partial coloring so that the types of a constant fraction of uncolored edges become "social"—meaning both missing colors belong to the exact same palette subset ($C_k \times C_k$).

This process can be intuitively visualized as taking a uniform heatmap matrix of edge types and concentrating the weights along its main diagonal:

Matrix heatmap showing type sparsification concentrating weights along the diagonal.

Once the edge types are aligned along the diagonal, the graph naturally decomposes into independent, smaller subproblems that are both edge-disjoint and color-disjoint. The algorithm then recursively solves these subproblems. By carefully balancing the parameters (setting $\eta = \Delta^\epsilon$ where $\epsilon = \Theta(1/\sqrt{\log \Delta})$), the authors achieve their almost-linear time complexity.

Datasets

Not discussed in the paper. This is a purely theoretical paper focused on algorithmic complexity proofs; no empirical datasets, simulations, or benchmarks were used.

Key Insights and Ideas

  • Trading Sublinear Time for Global Progress: The key "aha moment" is realizing that trying to derandomize sublinear-time path-finding algorithms is a dead end. By allowing the subroutine to run in almost-linear time, the algorithm gains the ability to scan the entire graph and process a massive batch of edges simultaneously, making substantial global progress.
  • Batch Flipping of Alternating Paths: In a deterministic setting, flipping paths sequentially can cause cascading damage to previously aligned edges. The authors overcome this by grouping "good" edges into batches of the same color type. They prove that the characteristic alternating paths for these batches are either completely identical or edge-disjoint, meaning an entire batch of paths can be flipped simultaneously without interference.
  • Divide-and-Conquer via Sparsification: Driving the edge-type heatmap toward a diagonal matrix acts as a clean divide-and-conquer mechanism. It ensures that subsequent recursive steps can run in parallel on disjoint subgraphs without any risk of color conflicts.

Key Results

  • The paper introduces a deterministic $(\Delta + 1)$-edge coloring algorithm with a total runtime of: $$m \cdot 2^{O(\sqrt{\log \Delta})} \cdot \log n = m^{1+o(1)}$$
  • This result successfully shatters the long-standing $\tilde{O}(m\sqrt{n})$ deterministic performance barrier, bringing deterministic edge-coloring into the realm of almost-linear time.

Limitations and Future Work

Although the algorithm achieves an impressive almost-linear time complexity of $m^{1+o(1)}$, it does not quite reach the true near-linear time complexity ($O(m \log \Delta)$) offered by its randomized counterparts. A natural and prominent open challenge is to close this remaining gap and design a strictly near-linear time deterministic algorithm for Vizing's theorem.

Summary updated

BibTeX
@inproceedings{assadi2026vizing,
  author = {Sepehr Assadi and Soheil Behnezhad and Sayan Bhattacharya and Martín Costa and Shay Solomon and Tianyi Zhang},
  title = {{Vizing's Theorem in Deterministic Almost-Linear Time}},
  booktitle = {SODA},
  year = {2026},
  doi = {10.1137/1.9781611978971.198},
}
Figure