NSNet: A General Neural Probabilistic Framework for Satisfiability Problems

11/07/2022
by   Zhaoyu Li, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/09/2022

Graph Neural Networks for Propositional Model Counting

Graph Neural Networks (GNNs) have been recently leveraged to solve sever...
research
02/10/2020

The random 2-SAT partition function

We show that throughout the satisfiable phase the normalised number of s...
research
06/16/2014

CCCP Algorithms to Minimize the Bethe free energy of 3-SAT Problem

The k-sat problem is a prototypical constraint satisfaction problem. The...
research
01/31/2011

Solving the Satisfiability Problem Through Boolean Networks

In this paper we present a new approach to solve the satisfiability prob...
research
02/12/2017

Graph Neural Networks and Boolean Satisfiability

In this paper we explore whether or not deep neural architectures can le...
research
09/27/2019

SAT vs CSP: a commentary

In 2000, I published a relatively comprehensive study of mappings betwee...
research
11/04/2019

Fast sampling and counting k-SAT solutions in the local lemma regime

We give new algorithms based on Markov chains to sample and approximatel...

Please sign up or login with your details

Forgot password? Click here to reset