Neural Approaches to SAT Solving: Design Choices and Interpretability

David Mojžíšek, Jan Hůla, Ziwei Li, Ziyu Zhou, Mikoláš Janota
4/1/2025
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

In this contribution, we provide a comprehensive evaluation of graph neural networks applied to Boolean satisfiability problems, accompanied by an intuitive explanation of the mechanisms enabling the model to generalize to different instances. We introduce several training improvements, particularly a novel closest assignment supervision method that dynamically adapts to the model's current state, significantly enhancing performance on problems with larger solution spaces. Our experiments demonstrate the suitability of variable-clause graph representations with recurrent neural network updates, which achieve good accuracy on SAT assignment prediction while reducing computational demands. We extend the base graph neural network into a diffusion model that facilitates incremental sampling and can be effectively combined with classical techniques like unit propagation. Through analysis of embedding space patterns and optimization trajectories, we show how these networks implicitly perform a process very similar to continuous relaxations of MaxSAT, offering an interpretable view of their reasoning process. This understanding guides our design choices and explains the ability of recurrent architectures to scale effectively at inference time beyond their training distribution, which we demonstrate with test-time scaling experiments.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{mojek2025neural,
  title  = {Neural Approaches to SAT Solving: Design Choices and Interpretability},
  author = {David Mojžíšek and Jan Hůla and Ziwei Li and Ziyu Zhou and Mikoláš Janota},
  year   = {2025},
  eprint = {2504.01173},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.01173v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.01173.svg)](https://codeofpaper.com/paper/2504.01173)

Discussion