TL;DR
This paper introduces "glue variables" – those appearing in "glue clauses" (low-quality learned clauses crucial for SAT solver performance). They demonstrate that branching on these glue variables leads to more efficient search and propose a new "Glue Bumping" heuristic that prioritizes them, significantly improving SAT solver performance.
What Problem Does This Paper Address?
Modern SAT solvers, particularly those using Conflict-Driven Clause Learning (CDCL), are remarkably efficient at solving complex problems. A key component of their success is "clause learning," where the solver records learned clauses to prune the search space. However, the sheer volume of learned clauses can degrade performance. To combat this, solvers employ clause management strategies, often prioritizing "glue clauses" – those with a Literal Block Distance (LBD) score of 2. These clauses are considered high-quality and are rarely deleted.
This paper asks: can we leverage the importance of these glue clauses to improve the branching heuristic itself? The standard branching heuristic decides which variable to explore next in the search. The authors hypothesize that variables involved in glue clauses ("glue variables") might be more critical for efficient search and that prioritizing them could lead to better performance. They aim to characterize the behavior of glue variables and develop a method to exploit this characterization.
Methods
The core of this paper involves two main parts:
- Characterization of Glue Variables: The authors first experimentally analyze the behavior of "glue variables" (variables appearing in at least one glue clause) versus "nonglue variables." They use the state-of-the-art CDCL solver MapleLCMDist on benchmarks from the SAT Competition 2017 and 2018. They measure metrics like Propagation Rate (PR), Learning Rate (LR), and average LBD for decisions made on glue versus nonglue variables. They also analyze the selection bias of the solver's branching heuristic.
- Glue Bumping (GB) Heuristic: Based on the findings that glue variables are more effective, they propose a novel "structure-aware CDCL variable bumping scheme" called Glue Bumping (GB). This method dynamically assigns a "glue centrality" score to glue variables, reflecting their occurrence count in learned glue clauses relative to other glue variables. The activity score of a glue variable is then "bumped" based on this glue centrality. This encourages the branching heuristic to prioritize these high-centrality, recently active glue variables. The GB method is implemented by modifying the MapleLCMDist solver.
Datasets
The experiments were conducted on benchmarks from the main track of the SAT Competition 2017 and 2018. The paper mentions using 750 instances in total (350 from SAT-2017 and 400 from SAT-2018). No new benchmarks were introduced.
Key Insights and Ideas
- Glue Variables are "Better" for Branching: The most striking insight is that decisions involving glue variables are significantly more effective. They lead to higher propagation rates (more inferences) and learning rates (faster conflict generation) with lower average LBD scores for the resulting learned clauses. This suggests that focusing on these variables directly prunes the search space more efficiently.
- Branching Heuristics Already Show Bias: The study reveals that existing CDCL branching heuristics, even without explicit knowledge of glue variables, already exhibit a bias towards selecting them. This bias is observed even though glue variables often represent a smaller fraction of the total variables. This suggests that the underlying structure of the problem, as captured by glue clauses, is naturally exploited by good heuristics.
- Glue Centrality as a Measure of Importance: The concept of "glue centrality" is a novel way to quantify the importance of a glue variable dynamically during the search. It captures how "connected" a variable is to the critical glue clauses learned so far, providing a more nuanced measure than just its presence in any glue clause.
- Structure-Aware Bumping Works: The proposed Glue Bumping method, which leverages glue centrality, demonstrably improves solver performance. This highlights the benefit of incorporating structural information about learned clauses directly into the branching heuristic.
Key Results
- Inference and Conflict Efficiency: Decisions with glue variables achieved, on average, 4 times higher PR and twice as high LR compared to nonglue decisions, with a 1.5 times lower average LBD.
- Selection Bias: The ratio of glue decisions to the glue variable pool size was significantly higher than the ratio for nonglue decisions, indicating a strong bias towards glue variables.
- Performance Improvement: The Glue Bumping (GB) extension (MapleLCMDistgb) achieved lower PAR-2 scores compared to its baseline (MapleLCMDist) on the SAT-2017 and SAT-2018 main track instances. This indicates an overall stronger performance, meaning it solved more instances or solved them faster. For example, the GB extension for MapleLCMDist achieved a total gain of 5 instances over its baseline.
Limitations and Future Work
- Limitations: The paper focuses on the MapleLCMDist solver and its variants. While the results are promising, the generalizability to all CDCL solvers might require further investigation. The study is limited to specific benchmark sets from SAT competitions.
- Future Work: The authors propose several avenues for future research:
- Investigating the correspondence between "glue centrality" and other centrality measures (e.g., eigencentrality, betweenness centrality).
- Analyzing the structural differences between benchmark instances that have a high fraction of glue variables versus those with a low fraction.
- Potentially exploring other ways to exploit the structural information of glue clauses.
Summary updated