TL;DR
This paper investigates how SAT solvers learn from conflicts, distinguishing between decisions that yield one conflict (SC) versus multiple (MC). They introduce a new strategy, CRVR, that reduces the priority of variables involved in "poor" MC decisions, leading to performance gains on SAT instances.
What Problem Does This Paper Address?
Modern SAT solvers, particularly those using Conflict-Driven Clause Learning (CDCL), are remarkably effective at solving complex problems. A core mechanism in CDCL is learning new clauses from conflicts encountered during the search. However, not all decisions lead to conflicts, and among those that do, some are more "productive" than others. Specifically, the paper focuses on understanding the difference between decisions that generate a single conflict (SC) versus those that generate multiple conflicts (MC). The authors aim to characterize these decision types, understand the relationships between conflicts within an MC decision, and leverage this understanding to improve SAT solver performance.
Methods
The paper introduces a classification of conflict-generating decisions into two types:
- Single Conflict (SC) decisions: Generate exactly one conflict and learn one clause.
- Multi-Conflict (MC) decisions: Generate two or more conflicts and learn multiple clauses.
They analyze the quality of learned clauses (using the Literal Block Distance or LBD score, where lower is better) for SC and MC decisions. A key insight is the connection between clauses learned within an MC decision, forming a "chain" where one learned clause can trigger the next. To quantify the relatedness of conflicts, they introduce ConflictsProximity, a measure based on shared literal blocks in the "reason clauses" (the clauses that directly led to the conflict). Finally, they propose Common Reason Variable Reduction (CRVR), a new decision strategy. CRVR identifies "poor" MC decisions (where the best learned clause is of low quality) and reduces the selection priority of "Common Reason Variables" (CRVs) – variables that contributed to multiple conflicts within that poor MC decision.
Datasets
The experiments were conducted on a benchmark set of 400 instances from the main track of the SAT Competition 2020 (SAT20).
Key Insights and Ideas
- MC decisions are less efficient but can yield high-quality clauses: On average, SC decisions produce higher quality learned clauses (lower LBD scores) than MC decisions. However, the best clause learned within an MC decision can be of higher quality than an average SC clause.
- Chained learning in MC decisions: Clauses learned within a single MC decision are not independent; they form a chain where the learning of one clause implicitly leads to the conditions for learning the next.
- Conflicts in MC decisions are more related: The proposed ConflictsProximity measure shows that conflicts arising from a single MC decision are more closely related than conflicts generated by a sequence of SC decisions.
- "Poor" MC decisions are detrimental: MC decisions that produce low-quality clauses, even if they generate multiple conflicts, can be detrimental to the search.
- Targeting CRVs can improve performance: Reducing the priority of variables that repeatedly cause conflicts within poor MC decisions (CRVs) can lead to performance gains.
Key Results
- On average, 8% of decisions are SC and 13% are MC.
- SC decisions produce learned clauses with a significantly lower average LBD score (better quality) than MC decisions.
- The average burst (number of conflicts) in MC decisions is small (around 2.65), but the maximum burst can be very large.
- Empirical evaluation of CRVR on three leading SAT solvers (MplDL, Kissat-sat, Kissat-default) showed performance gains, particularly on SAT instances from the SAT Competition 2020.
- MplDLcrvr solved 10 more SAT instances than its baseline.
- Kissat-defaultcrvr solved 5 more SAT instances than its baseline.
- CRVR extensions generally showed better PAR-2 scores (indicating faster solving times) compared to their baselines.
Limitations and Future Work
- Parameter tuning: The CRVR strategy uses fixed parameters (window size
k=50and reduction factorQ=0.1). The authors suggest exploring dynamic strategies for adapting these parameters. - VMTF heuristic: The current CRVR implementation is designed for activity-based heuristics. Extending CRVR to work with other heuristics like VMTF (used in Kissat solvers) is an interesting future direction.
- UNSAT instances: While CRVR shows gains on SAT instances, it sometimes leads to a slight loss on UNSAT instances. Future work could focus on improving performance for UNSAT cases.
Summary updated