TL;DR
This paper introduces a novel algorithm called Extended Resolution Clause Learning (ERCL) that enhances SAT solvers by dynamically introducing new variables based on "Dual Implication Points" (DIPs) found in the solver's internal conflict graph. This approach significantly improves performance on challenging formula classes, outperforming existing state-of-the-art solvers.
What Problem Does This Paper Address?
Conflict-Driven Clause-Learning (CDCL) SAT solvers are powerful but fundamentally limited by the underlying resolution proof system. While extended resolution (ER) offers a more powerful proof system, effectively integrating it into CDCL solvers has been a challenge. Existing methods often couple CDCL with ER in ways that are not easily adaptable or extensible. This paper addresses the need for a more flexible and effective way to incorporate ER into CDCL solvers to tackle complex problems that are intractable for standard CDCL.
Methods
The core innovation is the Extended Resolution Clause Learning (ERCL) algorithm, implemented within the MapleLCM SAT solver, creating xMapleLCM. ERCL dynamically introduces new variables that act as definitions for Dual Implication Points (DIPs). DIPs are a generalization of Unique Implication Points (UIPs) and represent pairs of nodes in the implication graph that "separate" the decision literal from the conflict.
The process involves:
- Identifying DIPs: A linear-time algorithm is used to find DIPs in the conflict graph.
- Introducing Extension Variables: For each identified DIP, a new variable is introduced that logically represents the DIP.
- Learning ER Clauses: New clauses (pre-DIP and post-DIP clauses) are learned that incorporate these extension variables, effectively extending the proof system.
- Flexible Framework: xMapleLCM is designed as an extensible framework, allowing for various heuristics for DIP selection, clause learning policies, and variable deletion.
Datasets
The paper evaluates xMapleLCM on several benchmark families:
- Tseitin Formulas: Including grid, 4-regular, and 6-regular variants. These are generated using CNFgen.
- XORified Random k-XOR Formulas: Generated by CNFgen, involving replacing variables with XORs of fresh variables.
- Matching of Properly Intersecting Intervals: Instances from the SAT Competition.
- SAT Competition Benchmarks: Specifically from the 2023 and 2024 editions.
No new benchmarks were introduced; existing ones were used to evaluate the performance of the proposed method.
Key Insights and Ideas
- DIPs as a Powerful Abstraction: The concept of Dual Implication Points provides a more general and flexible way to identify opportunities for extended resolution compared to traditional Unique Implication Points.
- Dynamic Extension: Introducing new variables dynamically during the search, rather than statically, allows the solver to adapt to the specific conflict encountered.
- ERCL's Effectiveness on Specific Formula Classes: The method shows significant improvements on Tseitin, XORified, and interval matching problems, suggesting that ER is particularly beneficial for formulas with inherent XOR or structured dependencies.
- Heuristics are Crucial: The choice of which DIP to select and how to filter them significantly impacts performance, highlighting the importance of intelligent heuristics.
- DIPs are Frequent: A substantial percentage of conflicts (around 63%) contain at least one DIP, indicating that this approach has broad applicability.
Key Results
- Outperformance: xMapleLCM consistently outperforms its baseline CDCL solver (MapleLCM) and other state-of-the-art solvers (KISSAT, CRYPTOMINISAT, SBVA-CADICAL) on Tseitin, XORified, and interval matching formulas.
- Scalability: On grid-based Tseitin formulas, the "middle" DIP heuristic enabled xMapleLCM to solve all instances within the time limit, while other solvers struggled.
- Comparison with GLUCOSER: While GLUCOSER also uses extended resolution, xMapleLCM's DIP-based approach performs comparably or better on the same instances, demonstrating the effectiveness of the DIP concept.
- Overhead is Manageable: The computational overhead for DIP detection and clause learning was found to be between 2.5% and 15% of the total runtime for a significant portion of benchmarks, indicating it doesn't unduly slow down the solver.
- Heuristic Choices Matter: Experiments showed that "middle" and "heuristic" DIP selection strategies, along with a minimum occurrence threshold of 20, yielded the best performance.
Limitations and Future Work
- Heuristic Optimization: While significant progress has been made, the authors believe they have "merely scratched the surface" of heuristics for exploiting DIPs. Further research into DIP selection, filtering, and clause learning policies is suggested.
- Automated DIP Decision: A preliminary heuristic was implemented to disable DIP learning if extended variables are not being utilized sufficiently. This suggests future work in automating the decision of when to apply DIP reasoning.
- Generalization to k-IPs: The current work focuses on Dual Implication Points (k=2). Future work includes investigating k-Implication Points (k-IPs) for k > 2.
- Machine Learning for Heuristics: Exploring machine learning-based heuristics, particularly for branching, is a promising future direction.
- Theoretical Questions: Investigating whether DIP- or k-IP based ER simulates unrestricted ER is a key theoretical challenge.
- Specific Applications: Evaluating the technique on benchmarks for approximate hash-based counting, where XOR reasoning is crucial, is also planned.
Summary updated