NeuroBack
A graph transformer that predicts variable phases for a SAT formula once, before a CDCL solver starts.
Graphs and geometry · 634 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Graphs and geometry
- Parameters
- 110.8K
- Operations
- 634
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICLR 2024
- Cited by
- 1 (as of 30 October 2026)
- Authors
- Wenxi Wang, Yang Hu, Mohit Tiwari and others
- Source
- GitHub: wenxiwang/neuroback
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m18873
- Graph hash
- b7fc3e5ef9725dc5c457096bce999d406fb2a3d2d3480380dd7f551abf8a8cfa
- Skeleton hash
- df0953b0ba03296e0a85db2270a27e28d645097cbb18f8e2bc7169464acdb0aa
- Architecture hash
- 5f8ddd9b8fbafc7ce82140e426e638abb541c00ffe007f1f37f987cb6a6e1267
- Diagram SHA-256
- 58509fd466bb0722c62781b4872b4359828b8f1e7b21ad42fbf292219ba597c4
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
NeuroBack is a graph neural network that predicts, for each variable of a SAT formula, which phase a CDCL solver should try, in order to improve the solver's phase selection heuristics. The neural model is queried only once, before SAT solving starts.
The formula is represented as a graph in which each edge connects a variable node to a clause node that contains the variable, with two edge types for the two polarities. A meta node is added for each connected component of the graph and linked to all of the clause nodes in it. The network has three components: stacked GNN blocks, transformer blocks of two kinds, and a feed-forward layer for node classification. One kind of transformer block, Graph Self-Attention (GSA), computes attention scores only for directly connected node pairs, using the edges and their weights. The other kind, Local Self-Attention (LSA), splits each node embedding into patches and computes attention scores between those patches.
Backbone variables are variables whose phases stay the same across all satisfying assignments. The model is trained only to predict the phases of backbone variables and is then used to predict the phases of all variables. The paper reports that NeuroBack allowed the Kissat solver to solve up to 5.2% and 7.4% more problems on the SATCOMP-2022 and SATCOMP-2023 problem sets, respectively.
Key idea. NeuroBack makes neural guidance for CDCL SAT solvers practical by querying a graph neural network for variable phases once, offline, so that solving runs exclusively on the CPU.
- NeuroBack
- SAT solving
- CDCL
- backbone variables
- phase selection
- graph neural network
- graph transformer
- Kissat
- DataBack
- propositional satisfiability
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{wang2024neurobackimprovingcdclsat,
title={NeuroBack: Improving CDCL SAT Solving using Graph Neural Networks},
author={Wenxi Wang and Yang Hu and Mohit Tiwari and Sarfraz Khurshid and Kenneth McMillan and Risto Miikkulainen},
year={2024},
eprint={2110.14053},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2110.14053},
}