[Paper Review] How much backtracking does it take to color random graphs? Rigorous results on heavy tails
This paper rigorously demonstrates that DPLL algorithms for graph 3-coloring on sparse random graphs exhibit heavy-tailed backtrack distributions, with exponential running times occurring with positive probability even in the 'easy' phase (1 < c < 3.847). Using a branching process model and analysis of failure propagation via bad triangles, it proves that backtracking can be exponentially large with constant probability, providing the first rigorous evidence of heavy tails in natural backtracking algorithms for graph coloring.
Many backtracking algorithms exhibit heavy-tailed distributions, in which their running time is often much longer than their median. We analyze the behavior of two natural variants of the Davis-Putnam-Logemann-Loveland (DPLL) algorithm for Graph 3-Coloring on sparse random graphs G(n,p=c/n). Let P_c(b) be the probability that DPLL backtracks b times. First, we calculate analytically the probability P_c(0) that these algorithms find a 3-coloring with no backtracking at all, and show that it goes to zero faster than any analytic function as c o c^* = 3.847... Then we show that even in the ``easy'' phase 1 < c < c^* where P_c(0) > 0, including just above the emergence of the giant component, the expected number of backtracks is exponentially large with positive probability. To our knowledge this is the first rigorous proof that the running time of a natural backtracking algorithm has a heavy tail for graph coloring. Moreover, our results show that these algorithms take exponential time, not just below the 3-colorability threshold, but just above the degree c=1 at which the giant component first appears. In addition, we give experimental evidence and heuristic arguments that this tail takes the form P_c(b) ~ b^{-1} up to an exponential cutoff.
Motivation & Objective
- To rigorously establish the existence of heavy-tailed distributions in backtracking times for DPLL algorithms on random graphs.
- To analyze why backtracking times exhibit power-law behavior and exponential tails despite positive probability of zero backtracking.
- To understand the structural causes of exponential backtracking, particularly the role of local graph structures like bad triangles.
- To provide analytical bounds on the probability of zero backtracking and the likelihood of exponentially long runs.
- To offer theoretical justification for restart strategies in backtracking algorithms by proving positive probability of exponential runtime.
Proposed method
- Analyzes two greedy DPLL variants (A and B) that use unit propagation and branch on 2-color vertices via fixed ordering or uniform random choice.
- Models the search tree as a branching process with time-dependent branching rates, tracking the probability of failure due to bad triangles.
- Uses a probabilistic argument based on the expected number of good leaves in a binary tree to bound the number of backtracks.
- Applies an inequality between weighted arithmetic and geometric means to derive lower bounds on the number of good (successful) leaves.
- Introduces a critical parameter t₀ as the smallest positive root of 1 - t - e^{-ct} = 0 to define the domain of integration in the zero-backtrack probability.
- Derives an exact expression for P_c(0) using an integral involving c, λ, and t₀, showing it decays faster than any analytic function as c → c*.
Experimental results
Research questions
- RQ1Does the DPLL algorithm for graph 3-coloring exhibit heavy-tailed backtracking distributions on sparse random graphs?
- RQ2What is the precise probability P_c(0) that the algorithm succeeds with zero backtracking for c < c*?
- RQ3Can we rigorously prove that the expected number of backtracks is exponentially large with positive probability in the 'easy' phase?
- RQ4What structural features of the graph (e.g., bad triangles) cause entire subtrees to fail, leading to heavy-tailed behavior?
- RQ5Is the tail of the backtrack distribution asymptotically P_c(b) ~ b^{-1}, and can this be proven or supported by the model?
Key findings
- For 1 < c < c* = 3.847..., the probability P_c(0) of zero backtracking is given by P_c(0) = exp(−∫₀^{t₀} dt cλ² / [2(1−λ)(2+λ)]) + o(1), where λ = (2/3)c(1−t−e^{-ct}) and t₀ is the smallest positive root of 1−t−e^{-ct}=0.
- P_c(0) decays faster than any analytic function as c approaches c*, indicating an essential singularity at the threshold.
- There exist constants β, q > 0 such that Pr[b > 2^{βn}] ≥ q for both algorithm variants, implying E[b] = Θ(2^{βn}).
- The probability of exponential backtracking is non-vanishing even when zero-backtrack success is possible, due to correlated failures from shared bad triangles.
- The failure of entire subtrees rooted at bad triangles causes the backtracking distribution to have a heavy tail, with positive probability of exponentially long runs.
- Heuristic and experimental evidence suggest the tail follows P_c(b) ~ b^{-1} up to an exponential cutoff, though this is not rigorously proven in the paper.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.