Executive Summary
HardCore is a novel generative framework designed to produce large-scale, realistic, and difficult unsatisfiable (UNSAT) Boolean problems. By leveraging a Graph Neural Network (GNN) to rapidly identify "cores"—the specific sub-parts of a problem that make it impossible to solve—the authors can iteratively refine synthetic problems to maintain their complexity. This approach enables a 20-50% improvement in predicting solver runtimes through data augmentation, overcoming the historical trade-off between generation speed and problem difficulty.
The Data Starvation Problem in SAT Solving
The Boolean Satisfiability problem (SAT) is a foundational NP-complete problem, essential for applications ranging from circuit design to logistics. While deep learning holds massive potential to revolutionize SAT solving and predict solver runtimes, the field faces a severe "data starvation" problem.
Most existing public SAT datasets are either too small or too easy. When researchers attempt to generate synthetic SAT data, they frequently encounter hardness collapse: the resulting problems might look structurally similar to real ones, but they are trivial for modern solvers to crack. Previous attempts to fix this focused on manipulating "cores" (the minimal unsatisfiable subsets of a formula). However, traditional heuristic core detection is prohibitively slow, sometimes taking hours or days to generate a single hard instance. Consequently, the field has lacked a method to generate data that is both structurally realistic and fast to produce.
The HardCore Methodology
To address this bottleneck, the authors introduce HardCore, a generative pipeline centered on the concept of Core Refinement.
- Graph Representation: SAT instances are represented as bipartite Literal-Clause Graphs (LCG), mapping the relationships between variables and clauses.
- Fast Core Detection via GNN: Instead of relying on slow heuristic algorithms (like Drat-Trim) that require solving the SAT problem first, the authors train a Graph Neural Network (GNN) to predict which clauses belong to the core. This effectively transforms an expensive NP-complete detection task into a rapid binary classification problem.
- The Refinement Loop:
- Add: The process starts with a seed problem and adds random clauses. While cheap, this usually makes the problem easier to solve.
- Detect: The GNN is deployed to find the "easy" core created by the newly added clauses.
- De-Core: The system adds a "flexible literal" to a clause within that easy core. This effectively "breaks" the easy contradiction, forcing the solver to find a different, harder path to prove unsatisfiability.
- Data Augmentation: These generated hard instances are then used to train runtime predictors (such as SATzilla), helping models learn the nuances of difficult industrial problems.
Key Insights
- Cores Dictate Hardness: A problem’s difficulty is tied directly to its core. Manipulating the core provides a direct lever to control the hardness of the generated instance.
- GNNs as Heuristic Proxies: Using a GNN to approximate an NP-complete task is a highly effective strategy. While the GNN isn't perfectly accurate, it is "good enough" to guide the generation process. Any false positives are easily mitigated by a fast pruning post-process.
- "Whack-a-Mole" Hardness: The "De-Coring" process forces the problem to evolve. By identifying and eliminating the easiest ways to prove a problem is UNSAT, the generator forces the emergence of a more complex, deeper core that is significantly harder for solvers to navigate.
Empirical Results
The study evaluated HardCore across several diverse datasets, including proprietary Logic Equivalence Checking (LEC) circuits, K-SAT Random problems, and Public Competition Data (Tseitin and FDMUS families).
- Hardness Preservation: Unlike previous fast generators (such as W2SAT and G2MILP) which saw problem hardness drop to near 0%, HardCore produced instances that were, on average, 176% as hard as the original seed problems.
- Massive Speedup: HardCore generates a complex instance in approximately 4.3 seconds. By comparison, the previous state-of-the-art for hard generation, HardSATGEN, required 6,441 seconds (nearly two hours) per instance.
- Better Predictions: In downstream data augmentation experiments, adding HardCore-generated data reduced the Mean Absolute Error (MAE) of solver runtime predictions by 20-50%. Other generation methods failed to show statistically significant improvements.
Limitations and Future Work
- UNSAT Limitation: The current methodology is strictly limited to unsatisfiable problems because "cores" inherently do not exist in satisfiable (SAT) instances. Future work may explore similar approaches focusing on the "backbone" of a problem for SAT instances.
- Scaling Bottlenecks: As SAT problems scale to millions of clauses, the memory requirements for storing the graph on a GPU become a limiting factor. Future iterations may require specialized GNNs capable of sub-sampling or distributed graph processing.
- Domain Adaptation: While the GNN generalizes well within a specific problem family, transferring the model between vastly different industrial domains (e.g., from circuit design to crypto-analysis) may still require fine-tuning the core-detection model.
Summary updated