17
0

MILP-SAT-GNN: Yet Another Neural SAT Solver

Franco Alberto Cardillo
Hamza Khyari
Umberto Straccia
Main:16 Pages
2 Figures
Bibliography:3 Pages
1 Tables
Abstract

We proposes a novel method that enables Graph Neural Networks (GNNs) to solve SAT problems by leveraging a technique developed for applying GNNs to Mixed Integer Linear Programming (MILP). Specifically, k-CNF formulae are mapped into MILP problems, which are then encoded as weighted bipartite graphs and subsequently fed into a GNN for training and testing. From a theoretical perspective: (i) we establish permutation and equivalence invariance results, demonstrating that the method produces outputs that are stable under reordering of clauses and variables; (ii) we identify a theoretical limitation, showing that for a class of formulae called foldable formulae, standard GNNs cannot always distinguish satisfiable from unsatisfiable instances; (iii) we prove a universal approximation theorem, establishing that with Random Node Initialization (RNI), the method can approximate SAT solving to arbitrary precision on finite datasets, that is, the GNN becomes approximately sound and complete on such datasets. Furthermore, we show that for unfoldable formulae, the same approximation guarantee can be achieved without the need for RNI. Finally, we conduct an experimental evaluation of our approach, which show that, despite the simplicity of the neural architecture, the method achieves promising results.

View on arXiv
@article{cardillo2025_2507.01825,
  title={ MILP-SAT-GNN: Yet Another Neural SAT Solver },
  author={ Franco Alberto Cardillo and Hamza Khyari and Umberto Straccia },
  journal={arXiv preprint arXiv:2507.01825},
  year={ 2025 }
}
Comments on this paper