High-Throughput SAT Sampling
Arash Ardakani, Minwoo Kang, Kevin He, Qijing Huang, John Wawrzynek
TL;DR
Problem addressed: the need for high-throughput, diverse SAT sampling to aid verification and testing workflows. Approach: transform CNF into a simplified multi-level, multi-output Boolean function and optimize using gradient descent on probabilistic logic operators, enabling data-parallel sampling on GPUs. Key contributions: (i) a general CNF-to-circuit transformation, (ii) a differentiable, GPU-enabled sampling pipeline, and (iii) experimental validation showing speedups from $33.6\times$ to $523.6\times$ over leading solvers on 60 instances. Significance: demonstrates a scalable path to high-throughput SAT sampling that can operate directly on circuit-like representations and high-level formats.
Abstract
In this work, we present a novel technique for GPU-accelerated Boolean satisfiability (SAT) sampling. Unlike conventional sampling algorithms that directly operate on conjunctive normal form (CNF), our method transforms the logical constraints of SAT problems by factoring their CNF representations into simplified multi-level, multi-output Boolean functions. It then leverages gradient-based optimization to guide the search for a diverse set of valid solutions. Our method operates directly on the circuit structure of refactored SAT instances, reinterpreting the SAT problem as a supervised multi-output regression task. This differentiable technique enables independent bit-wise operations on each tensor element, allowing parallel execution of learning processes. As a result, we achieve GPU-accelerated sampling with significant runtime improvements ranging from $33.6\times$ to $523.6\times$ over state-of-the-art heuristic samplers. We demonstrate the superior performance of our sampling method through an extensive evaluation on $60$ instances from a public domain benchmark suite utilized in previous studies.
