DualSAT: A Dual-Branch GNN-Transformer Framework for SAT Solving
Wenzhu Yang, Zhanshan Li, Jingyao Li
NeurIPS page · OpenReview · Open on the map
Category: Optimization & Federated Learning › Neural SAT Solving · Type: new method · Keywords: graph neural network, transformer, SAT solving, multi-solution, assignment prediction
Areas: Model Architectures & Sequence Modeling › Dynamic and relational architectures › Constraint Solving; Graph Learning › Graph Analysis Methods › Graph Optimization and Structure
Summary
DualSAT is a dual-branch GNN-Transformer framework that captures both local and global graph structure for SAT solving, improving assignment prediction and SAT solver performance.
Explained to a 5-year-old
A computer program was made to help solve puzzles where you have to decide if many statements are true or false. It looks at both the small details of the puzzle and the whole picture all at once. The program learns from examples and also from trying to find many possible answers. When it works together with a puzzle-solving tool, the tool can solve more puzzles and needs fewer tries. This makes solving big logical problems faster and easier for people who need them.
Explained to a 5-year-old, longer
A computer program was created to help solve puzzles where you have to decide if many statements are true or false. Traditional methods only looked at small parts of the puzzle, so they missed the big picture. This new program looks at both the small pieces and the whole puzzle at the same time. It uses two special parts of a brain-like network: one for local details and one for global information. These two parts talk to each other using a special attention mechanism that shares what they learned. After the parts talk, the program makes a guess about which statements should be true or false. To learn, the program uses examples where the correct answer is known, and also tries to find many possible solutions. This mix of learning helps the program work well on puzzles it has never seen before. When the program is added to an existing puzzle-solving tool, the tool can solve more puzzles. It also needs fewer wrong guesses, which makes the solving process faster. The result is a faster and more reliable way to tackle large logical problems. This can be useful for things like checking computer code, planning routes, or solving complex games.
For a technical reader
The paper presents a neural framework that improves the initial variable assignment in SAT solvers by modeling both local and global graph structures. It splits the graph encoding into two branches-a local GNN for fine-grained clause interactions and a global transformer for long-range dependencies. An attention-based fusion module merges the two representations, and an assignment head produces a single forward-pass prediction. Training combines supervised loss on labeled examples with an unsupervised component that leverages the multi-solution nature of SAT instances. When integrated with the CaDiCaL solver, the approach raises the solved instance rate by up to 11.6% and cuts conflict counts by up to 9.21% on benchmark sets.
Problem
Existing graph neural network methods for solving constraint satisfaction problems have limited ability to model long-range interactions among variables and clauses and do not account for multiple possible solutions, which hampers their performance.
Method
The approach uses a dual-branch graph neural network that separately encodes local and global structural information, fuses them via an attention mechanism, and adds an assignment head, trained with a two-stage supervised/unsupervised scheme.
Results
The approach significantly outperforms prior neural solvers and, when integrated into the CaDiCaL solver, raises the solved instance count by up to 11.6% and cuts conflicts by up to 9.21% on the competition sets.
Contributions
The work introduces a dual-branch GNN that captures both local and global graph information, a cross-branch attention fusion module, an assignment head, and a two-stage training strategy that together improve expressive power and generalization for constraint solving.
Practical relevance
The approach can be used to accelerate existing SAT solvers, enabling faster solving of large-scale logical problems in areas such as verification and planning.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction