Abstract
This work introduces a novel approach combining Learning Automata (LA) with Stochastic Local Search (SLS) algorithms like Random Walk (RW) and GSAT w/Random Walk. By integrating a learning mechanism, the proposed solvers—LARW and LA-GSATRW—effectively mitigate the stagnation behavior common in traditional SLS solvers. Experimental results across diverse benchmarks demonstrate significant performance improvements, particularly in large-scale and structured problem instances.
Introduction
The Boolean Satisfiability (SAT) problem is a cornerstone of computer science, with applications ranging from hardware verification to logistics. While systematic solvers provide completeness, Stochastic Local Search (SLS) algorithms like GSAT or Random Walk are often preferred for massive formulas due to their speed. However, SLS solvers typically lack "memory," making moves based on immediate local gains. This often leads to stagnation in "plateaus" or local optima where no single variable flip improves the objective function.
Methodology: Learning Automata Integration
To address the lack of memory in SLS, we propose a hybrid approach that assigns a dedicated Learning Automaton to every variable in the SAT formula.
The Feedback Loop
The core of the system is the interaction between the automaton and the SAT environment. The automaton selects an action (a variable assignment), and the environment provides feedback based on whether that action contributes to satisfying the formula's clauses.
Tsetlin-style Automata
We utilize a Tsetlin-style automaton, which consists of a finite set of internal states. These states are divided into two regions: one representing a True assignment and the other representing False.
When a variable's current value helps satisfy a clause, its LA receives a reward, pushing it deeper into its current state region and increasing its "certainty." Conversely, if the clause remains unsatisfied, the LA receives a penalty, moving it toward the state boundary. This mechanism provides a "buffer," preventing erratic flips and allowing the solver to escape highly attractive but sub-optimal regions of the search space.
Experimental Evaluation
The proposed algorithms, LARW (Learning Automata Random Walk) and LA-GSATRW, were evaluated against standard SLS counterparts using the SATLIB library. The benchmarks included Random 3-SAT, Graph Coloring, Logistics/Planning, Bounded Model Checking (BMC), and Quasigroup problems.
Key Results
- Efficiency Gains: On graph coloring tasks, LARW reduced search costs by up to 50x compared to standard Random Walk.
- Scalability: For large random problems (2000 variables), LA-GSATRW's median search cost was only 17% of the standard GSATRW. In logistics benchmarks, this dropped to as low as 4%.
- Statistical Significance: LA-GSATRW demonstrated statistical dominance in 12 out of 17 major problem categories according to Wilcoxon Rank-Sum tests.
- Success Rates: In instances where standard solvers frequently failed (0% success rate), LA-based variants often achieved near 100% success.
Discussion and Conclusion
The integration of Learning Automata provides a powerful "learning" capability to local search SAT solvers. By evolving internal states during the search process, these solvers can navigate plateaus that trap traditional algorithms. While some extremely structured problems like large Quasigroup puzzles still pose challenges, the LA-based approach significantly extends the reach of local search. Future work will explore applying these techniques to more modern SLS variants like WalkSAT and investigating Bayesian Learning Automata for even faster convergence.
Summary updated