Understanding GNNs for Boolean Satisfiability through Approximation Algorithms
Jan Hůla, David Mojžíšek, Mikoláš Janota
TL;DR
This work investigates how Graph Neural Networks solve SAT by revealing connections between their message-passing dynamics and classical approximation algorithms, notably SDP relaxations and Belief Propagation. It introduces a curriculum-based training regime and sampling/decimation techniques that drastically speed up training and increase the fraction of solvable instances on synthetic distributions. Empirically, the embeddings in NeuroSAT evolve toward SDP-like vector configurations, and the proposed enhancements yield substantial speedups and better solving performance. The findings offer a framework for interpreting learned approximation algorithms in GNNs and suggest pathways to generalize these ideas to other combinatorial optimization domains.
Abstract
The paper deals with the interpretability of Graph Neural Networks in the context of Boolean Satisfiability. The goal is to demystify the internal workings of these models and provide insightful perspectives into their decision-making processes. This is done by uncovering connections to two approximation algorithms studied in the domain of Boolean Satisfiability: Belief Propagation and Semidefinite Programming Relaxations. Revealing these connections has empowered us to introduce a suite of impactful enhancements. The first significant enhancement is a curriculum training procedure, which incrementally increases the problem complexity in the training set, together with increasing the number of message passing iterations of the Graph Neural Network. We show that the curriculum, together with several other optimizations, reduces the training time by more than an order of magnitude compared to the baseline without the curriculum. Furthermore, we apply decimation and sampling of initial embeddings, which significantly increase the percentage of solved problems.
