[Paper Review] Guiding High-Performance SAT Solvers with Unsat-Core Predictions
This paper proposes using a simplified NeuroSAT architecture, NeuroCore, to predict unsatisfiable cores in real-world SAT problems and guide high-performance SAT solvers via periodic refocusing of variable activity scores. The modified MiniSat, Glucose, and Z3 solvers solve 10–20% more problems than their original versions on standard and specialized benchmarks, demonstrating that neural core predictions significantly improve solver performance on real industrial problems.
The NeuroSAT neural network architecture was recently introduced for predicting properties of propositional formulae. When trained to predict the satisfiability of toy problems, it was shown to find solutions and unsatisfiable cores on its own. However, the authors saw "no obvious path" to using the architecture to improve the state-of-the-art. In this work, we train a simplified NeuroSAT architecture to directly predict the unsatisfiable cores of real problems. We modify several high-performance SAT solvers to periodically replace their variable activity scores with NeuroSAT's prediction of how likely the variables are to appear in an unsatisfiable core. The modified MiniSat solves 10% more problems on SAT-COMP 2018 within the standard 5,000 second timeout than the original does. The modified Glucose solves 11% more problems than the original, while the modified Z3 solves 6% more. The gains are even greater when the training is specialized for a specific distribution of problems; on a benchmark of hard problems from a scheduling domain, the modified Glucose solves 20% more problems than the original does within a one-hour timeout. Our results demonstrate that NeuroSAT can provide effective guidance to high-performance SAT solvers on real problems.
Motivation & Objective
- To improve high-performance SAT solvers by leveraging neural predictions of unsatisfiable cores from a simplified NeuroSAT architecture.
- To address the challenge of integrating neural guidance into existing SAT solvers without replacing their core heuristics.
- To generate a large-scale, supervised dataset of unsatisfiable problems with labeled core variables for training.
- To evaluate whether imperfect core predictions can still provide effective guidance for variable branching decisions.
- To demonstrate that neural core predictions can yield measurable performance gains on real-world SAT problems.
Proposed method
- Train a simplified NeuroSAT model, NeuroCore, to predict which variables are likely to appear in unsatisfiable cores of propositional formulas.
- Generate training data by decimating existing unsatisfiable problems and extracting core variables using DRAT proofs.
- Integrate NeuroCore into MiniSat, Glucose, and Z3 by periodically querying it on the full problem and resetting EVSIDS variable activity scores based on predicted core likelihood.
- Use a periodic refocusing strategy: update activity scores at intervals rather than at every decision, minimizing performance overhead.
- Leverage distributed computing (Ray) to scale data generation across multiple machines for efficient dataset creation.
- Specialize training on domain-specific problem distributions (e.g., scheduling) to improve performance on hard instances.
Experimental results
Research questions
- RQ1Can a neural network trained to predict unsatisfiable cores improve the performance of high-performance SAT solvers on real-world problems?
- RQ2Does imperfect core prediction still provide useful guidance for variable branching decisions in SAT solvers?
- RQ3Can periodic refocusing of variable activity scores using neural predictions outperform standard EVSIDS heuristics?
- RQ4How does performance gain scale when training data is specialized to a particular problem domain?
- RQ5Can core predictions be effectively used to guide clause pruning or other solver optimizations?
Key findings
- The modified MiniSat solver solved 10% more problems than the original on SATCOMP-2018 within the 5,000-second timeout.
- The modified Glucose 4.1 solver solved 11% more problems than the original on SATCOMP-2018.
- The modified Z3 solver solved 6% more problems than the original on SATCOMP-2018.
- On a specialized benchmark of hard scheduling problems, the modified Glucose solved 20% more problems than the original within a one-hour timeout.
- NeuroCore's core predictions enabled significant speedups on problems with tiny cores, suggesting potential for clause pruning.
- Training on domain-specific subproblems yielded substantially higher gains than general training, highlighting the value of distribution-specific adaptation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.