[Paper Review] Unweighted Stochastic Local Search can be Effective for Random CSP Benchmarks
This paper introduces ULSA, a simple, unweighted stochastic local search algorithm for random binary constraint satisfaction problems (CSPs) near the phase transition. Unlike prior state-of-the-art methods that use dynamic weight adaptation, ULSA achieves superior performance—over 100x faster on some benchmarks—by relying solely on random, unweighted moves, and sets a new record by finding partial solutions satisfying 99 out of 100 variables on the notoriously hard frb100-40 benchmark.
We present ULSA, a novel stochastic local search algorithm for random binary constraint satisfaction problems (CSP). ULSA is many times faster than the prior state of the art on a widely-studied suite of random CSP benchmarks. Unlike the best previous methods for these benchmarks, ULSA is a simple unweighted method that does not require dynamic adaptation of weights or penalties. ULSA obtains new record best solutions satisfying 99 of 100 variables in the challenging frb100-40 benchmark instance.
Motivation & Objective
- To develop a simple, parameter-free stochastic local search algorithm for random binary CSPs near the phase transition.
- To challenge the assumption that dynamic weight adaptation is necessary for high performance on hard random CSP benchmarks.
- To achieve faster convergence and better partial solution quality on the widely used BHOSLIB benchmark suite.
- To demonstrate that unweighted search can outperform weighted methods in terms of speed and solution quality on forced-satisfiable Model RB instances.
- To set new records on the frb100-40 benchmark, a long-standing challenge in CSP and MIS solving.
Proposed method
- ULSA uses a stochastic local search strategy that selects random variable flips without any weighting or penalty mechanisms.
- It performs local search by iteratively selecting and flipping variables in a way that avoids conflict propagation through unweighted selection.
- The algorithm relies on a restart mechanism to escape local optima, with no long-term state or adaptive parameters.
- It evaluates solutions based on the number of conflicts, aiming to minimize this count through random, unweighted moves.
- The method is applied to the maximum independent set (MIS) formulation of the CSP, where each variable’s domain values become vertices and conflicts become edges.
- ULSA uses a fixed iteration limit per run and records the best partial solution found, including those with few conflicts.
Experimental results
Research questions
- RQ1Can an unweighted stochastic local search algorithm outperform weighted methods on hard random binary CSPs near the phase transition?
- RQ2Is dynamic weight adaptation necessary to achieve high performance on the BHOSLIB benchmark suite?
- RQ3Can a simple, parameterless algorithm achieve new record results on the frb100-40 instance, a long-standing challenge?
- RQ4How does the runtime distribution of ULSA compare to weighted solvers like NuMVC in terms of solution time and consistency?
- RQ5To what extent can unweighted search achieve near-optimal partial solutions (e.g., 99/100 variables) on hard CSP instances?
Key findings
- ULSA achieves at least 7x speedup over the prior state of the art on all tested Model RB instances, with over 100x speedup on some.
- ULSA sets a new record by successfully finding partial solutions satisfying 99 out of 100 variables on the frb100-40 benchmark, a result never achieved before.
- The average solution time for reaching 99 satisfied variables is 29.3 hours on a single thread, with multi-threaded execution reducing expected time to under a day.
- In 56 million independent runs of 3 million iterations each, only five runs found a single-conflict partial solution, with three being equivalent.
- ULSA’s runtime-to-solution distribution is well-modeled by an exponential distribution, indicating a constant solution probability per unit time after initial stabilization.
- Despite the absence of dynamic weight adaptation, ULSA consistently outperforms NuMVC in speed and achieves better partial solution quality on the most challenging instance.
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.