NSNet: A General Neural Probabilistic Framework for Satisfiability Problems
Zhaoyu Li, Xujie Si
Abstract
We present the Neural Satisfiability Network (NSNet), a general neural framework that models satisfiability problems as probabilistic inference and meanwhile exhibits proper explainability. Inspired by the Belief Propagation (BP), NSNet uses a novel graph neural network (GNN) to parameterize BP in the latent space, where its hidden representations maintain the same probabilistic interpretation as BP. NSNet can be flexibly configured to solve both SAT and #SAT problems by applying different learning objectives. For SAT, instead of directly predicting a satisfying assignment, NSNet performs marginal inference among all satisfying solutions, which we empirically find is more feasible for neural networks to learn. With the estimated marginals, a satisfying assignment can be efficiently generated by rounding and executing a stochastic local search. For #SAT, NSNet performs approximate model counting by learning the Bethe approximation of the partition function. Our evaluations show that NSNet achieves competitive results in terms of inference accuracy and time efficiency on multiple SAT and #SAT datasets 1 .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers5
- Learning Plaintext-Ciphertext Cryptographic Problems via ANF-based SAT Instance RepresentationXinhao Zheng, Yang Li, Cunxin Fan, Huaijin Wu et al.NeurIPS 2024 · 7 citations
- Generalizable Reasoning through Compositional Energy MinimizationAlexandru Oarga, Yilun DuNeurIPS 2025 · 3 citations
- Learning to Check LTL Satisfiability and to Generate Traces via Differentiable Trace CheckingWeilin Luo, Pingjia Liang, Junming Qiu, Polong Chen et al.ISSTA 2024 · 1 citation
- UniCO: On Unified Combinatorial Optimization via Problem Reduction to Matrix-Encoded General TSPWenzheng Pan, Hao Xiong, Jiale Ma, Wentao Zhao et al.ICLR 2025
- Unsat Core Prediction through Polarity-Aware Representation Learning over Clause-Literal HypergraphsZhenchao Sun, Shuai Ma, Ping Lu, Chongyang TaoICML 2026
Builds on5
- Can Q-Learning with Graph Networks Learn a Generalizable Branching Heuristic for a SAT Solver?Vitaly Kurin, Saad Godil, Shimon Whiteson, Bryan CatanzaroNeurIPS 2020 · 77 citations
- Belief Propagation Neural NetworksJonathan Kuck, Shuvam Chakraborty, Hao Tang, Rachel Luo et al.NeurIPS 2020 · 53 citations
- Predicting Propositional Satisfiability via End-to-End LearningChris Cameron, Rex Chen, Jason S. Hartford, Kevin Leyton-BrownAAAI 2020 · 49 citations
- Factor Graph Neural NetworksZhen Zhang, Fan Wu, Wee Sun LeeNeurIPS 2020 · 48 citations
- Learning Branching Heuristics for Propositional Model CountingPashootan Vaezipoor, Gil Lederman, Yuhuai Wu, Chris J. Maddison et al.AAAI 2021 · 14 citations
Related papers
- On EDA-Driven Learning for SAT SolvingMin Li, Zhengyuan Shi, Qiuxia Lai, Sadaf Khan et al.DAC 2023 · 4 citations
- Graph-Based Attention for Differentiable MaxSAT SolvingSota Moriyama, Katsumi InoueNeurIPS 2025 · 3 citations
- On the Expressive Power of GNNs for Boolean SatisfiabilitySaku Peltonen, Roger WattenhoferICLR 2026 · 1 citation
- NeuroBack: Improving CDCL SAT Solving using Graph Neural NetworksWenxi Wang, Yang Hu, Mohit Tiwari, Sarfraz Khurshid et al.ICLR 2024 · 25 citations
- In Search for a SAT-friendly Binarized Neural Network ArchitectureNina Narodytska, Hongce Zhang, Aarti Gupta, Toby WalshICLR 2020 · 31 citations
