Abstract
In this abstract, we present our study of exploring the SAT search space via random-sampling, with the goal of improving Conflict Directed Clause Learning (CDCL) SAT solvers. Our proposed CDCL SAT solving algorithm expSAT uses a novel branching heuristic expVSIDS. It combines the standard VSIDS scores with heuristic scores derived from exploration. Experiments with application benchmarks from recent SAT competitions demonstrate the potential of the expSAT approach for improving CDCL SAT solvers.
Introduction
Modern Boolean Satisfiability (SAT) solvers are critical components in formal verification, planning, and cryptography. Most state-of-the-art solvers utilize the Conflict-Driven Clause Learning (CDCL) framework, which relies heavily on branching heuristics like Variable State Independent Decaying Sum (VSIDS). While effective, VSIDS is inherently "backward-looking," making decisions based on historical conflicts. This retrospective nature can lead to "early mistakes," where a solver commits to a sub-optimal branch of the search tree, resulting in significant computational overhead.
This paper introduces expSAT, a novel approach that incorporates look-ahead exploration into the CDCL framework. By using random walks to sample future search states, expSAT aims to gather "future" information to guide the solver more robustly, similar to exploration techniques used in Monte Carlo Tree Search.
Methodology: The expSAT Framework
The core innovation of expSAT is the integration of an exploration phase into the standard CDCL loop. This process is governed by the following components:
- Exploration Episodes: At each decision point, the solver has a probability ($p_{exp}$) of triggering an exploration episode.
- Random Walks: During an episode, the solver performs a fixed number of random walks ($nW$). Each walk involves random variable assignments followed by Unit Propagation (UP).
- The expVSIDS Heuristic: When a random walk encounters a conflict, the solver evaluates its quality using the Literal Block Distance (LBD) score. Lower LBD scores signify higher-quality learned clauses.
- Scoring: Variables involved in walks that lead to high-quality conflicts receive an "expScore." This score is additively combined with the standard VSIDS score to determine the next branching variable.
By rewarding variables that appear useful based on immediate local sampling, expVSIDS provides a proactive signal that complements the reactive nature of traditional VSIDS. Furthermore, exploration is strategically restricted to the "top" of the search tree, where early decisions have the most profound impact on overall performance.
Experimental Evaluation
The authors evaluated expSAT using 755 application instances from the SAT Competition 2014, SATRACE-2015, and SAT Competition 2016. The technique was implemented on top of two solvers: MiniSAT (a baseline) and Glucose (state-of-the-art).
Key Results
- MiniSAT Improvement: The
expMiniSATvariant solved 21 more instances than the baseline, a 5.13% improvement. - Glucose Performance: While
expGlucosesolved one fewer instance than the baseline, it demonstrated the ability to solve harder instances more rapidly. - Robustness: Both variants showed improved efficiency in navigating difficult combinatorial spaces, suggesting that the random walks effectively mitigate the "early mistake" problem.
Conclusion and Future Work
Preliminary results indicate that exploration-driven heuristics can significantly enhance CDCL SAT solvers. Future research will focus on making exploration parameters adaptive, employing more sophisticated sampling strategies like $\epsilon$-greedy selection, and refining parameter tuning to improve robustness across diverse benchmarks.
Summary updated