Abstract: Learned clauses minimization (LCM) led to performance improvements of modern SAT solvers especially in solving hard SAT instances. Despite the success of LCM approaches in sequential solvers, they are not widely incorporated in parallel SAT solvers. In this paper we explore the potential of LCM for parallel SAT solvers by defining multiple LCM approaches based on clause vivification, comparing their runtime in different SAT solvers and discussing reasons for performance gains and losses. Results show that LCM only boosts performance of parallel SAT solvers on a fraction of SAT instances. More commonly applying LCM decreases performance. Only certain LCM approaches are able to improve the overall performance of parallel SAT solvers.
Introduction
Modern SAT solvers rely on Conflict-Driven Clause Learning (CDCL) to navigate complex logical spaces. As these solvers progress, they generate "learned clauses" that help prune the search space. However, these clauses often contain redundant literals, leading to memory bloat and slowed propagation. In sequential solvers, Learned Clause Minimization (LCM) via vivification—a process that uses unit propagation to remove redundant information—is a standard optimization.
In parallel environments, the trade-off shifts. While sharing minimized clauses could theoretically help all worker threads, the computational overhead of vivification can outweigh the benefits if the resulting clauses aren't utilized effectively by other cores. This research investigates the "Goldilocks zone" for clause minimization in parallel SAT solvers.
Algorithmic Approaches to Parallel LCM
The researchers implemented several strategies within the Glucose-Syrup 4.0 framework to test how different sharing and minimization policies affect performance:
- Private Clause Minimization (PCM): Each thread minimizes only its own discovered clauses and does not share these improvements, avoiding shared-memory overhead.
- Linked PCM (LPCM): Threads minimize their own clauses and use atomic pointers to link to the shorter versions, allowing others to benefit without data duplication.
- Export Clause Minimization (ECM): Minimization occurs before a clause is shared. The study specifically looked at ECM3 (targeting clauses with a Literal Block Distance (LBD) < 4) and ECM4 (LBD < 5).
Experimental Results
The study utilized a benchmark of 1,050 problems from the 2016-2018 SAT Competitions. The results highlight a significant divergence between Satisfiable (SAT) and Unsatisfiable (UNSAT) instances.
The Impact of Overhead
A key finding was the "leverage effect." If a thread spends 10% of its time minimizing clauses that are rarely used by other solvers, the net impact on performance is negative. This explains why aggressive minimization (like ECM4) often performed worse than more selective approaches (like ECM3).
Performance Gains
- PCM Stability: Syrup-PCM proved to be the most reliable enhancement, solving 18 additional instances in the SAT’18 benchmark compared to the baseline.
- UNSAT Optimization: Syrup-ECM3 excelled at proving unsatisfiability, solving 20 more UNSAT problems than the default implementation. Shorter clauses appear to facilitate the generation of the final "proof of unsatisfiability" more efficiently.
Conclusion
While LCM is a staple of sequential SAT solving, its application in parallel solvers requires careful calibration. The research demonstrates that "more optimization" is not always better; the computational cost of vivification must be balanced against the utility of the resulting clauses. PCM and selective ECM (like ECM3) represent the most effective strategies for improving parallel solver throughput without succumbing to excessive overhead.
Summary updated