๐ค AI Summary
Traditional SAT solvers rely on sequential conflict-driven clause learning (CDCL), inherently limiting parallelization and hindering scalability on large-scale instances. This paper introduces the first differentiable SAT solving framework, reformulating Boolean satisfiability as a continuous optimization problem. We propose a differentiable encoding based on binarized matrix multiplication, construct a smooth objective function, and perform gradient-guided parallel search on GPUs. Crucially, we co-design a CPU-based conflict-driven learning mechanism to enable heterogeneousๅๅ optimization between GPU-accelerated continuous search and CPU-based discrete reasoning. Our approach breaks the fundamental sequentiality bottleneck of classical SAT solving. Evaluated on SAT Competition benchmarks, it achieves up to 200ร speedup over state-of-the-art CPU-based solvers, significantly improving both scalability and hardware utilization.
๐ Abstract
While accelerated computing has transformed many domains of computing, its impact on logical reasoning, specifically Boolean satisfiability (SAT), remains limited. State-of-the-art SAT solvers rely heavily on inherently sequential conflict-driven search algorithms that offer powerful heuristics but limit the amount of parallelism that could otherwise enable significantly more scalable SAT solving. Inspired by neural network training, we formulate the SAT problem as a binarized matrix-matrix multiplication layer that could be optimized using a differentiable objective function. Enabled by this encoding, we combine the strengths of parallel differentiable optimization and sequential search to accelerate SAT on a hybrid GPU-CPU system. In this system, the GPUs leverage parallel differentiable solving to rapidly evaluate SAT clauses and use gradients to stochastically explore the solution space and optimize variable assignments. Promising partial assignments generated by the GPUs are post-processed on many CPU threads which exploit conflict-driven sequential search to further traverse the solution subspaces and identify complete assignments. Prototyping the hybrid solver on an NVIDIA DGX GB200 node, our solver achieves runtime speedups up to over 200x when compared to a state-of-the-art CPU-based solver on public satisfiable benchmark problems from the SAT Competition.