GaloisSAT: Differentiable Boolean Satisfiability Solving via Finite Field Algebra

Curie Kim, Carsten Portner, Mingju Liu, Steve Dai, Haoxing Ren, Brucek Khailany, Alvaro Velasquez, Ismail Alkhouri, Cunxi YuarXiv 2026

TL;DR

GaloisSAT is a hybrid GPU-CPU SAT solver that breaks a decades-long performance stagnation in Boolean satisfiability by translating discrete logic into a differentiable finite field algebraic optimization problem. By utilizing a GPU to predict high-confidence variable assignments or isolate high-uncertainty branching points, it accelerates traditional CPU-based CDCL solvers, achieving up to an 8.41× speedup while maintaining full mathematical completeness for UNSAT proofs.

What Problem Does This Paper Address?

The Boolean Satisfiability (SAT) problem is the foundational NP-complete problem, underpinning critical applications in hardware verification, cryptography, and automated planning. For the past twenty years, modern SAT solvers have relied heavily on the Conflict-Driven Clause Learning (CDCL) algorithm. However, CDCL is inherently sequential, making it notoriously difficult to parallelize on modern, highly parallel GPU architectures. Consequently, SAT solver performance has improved by a meager ~2× over the last two decades.

While recent machine learning approaches have attempted to offload SAT solving to GPUs, they typically suffer from two major flaws: they are "incomplete" (meaning they cannot definitively prove a problem is unsatisfiable / UNSAT), or they approximate logic using loose linear scores that bypass explicit logical inference, leading to poor convergence.

Methods

GaloisSAT bridges the gap between continuous machine learning infrastructure and discrete logic using a multi-step hybrid pipeline:

  1. Clause Normalization: Input formulas are converted into a uniform size (e.g., 3-CNF) using the Tseitin transformation. This ensures every clause shares the same algebraic structure, enabling highly efficient, vectorized GPU matrix operations.
  2. Finite Field Algebra: Boolean operations are mapped exactly to differentiable polynomials ($\neg x = 1-x$, $x \wedge y = x \cdot y$, and $x \vee y = x + y - x \cdot y$).
  3. Differentiable Optimization: Variables are parameterized as learnable logits. Using the Gumbel-Softmax straight-through estimator, the GPU performs a discrete forward pass for exact clause evaluation while preserving continuous gradient flow during backpropagation to maximize the number of satisfied clauses.
  4. GPU-CPU Cooperative Solving:
  5. For SAT (Satisfiable) instances: The GPU extracts high-confidence variable assignments and injects them as unit clauses into parallel CPU CDCL threads, drastically pruning the search space.
  6. For UNSAT (Unsatisfiable) instances: The GPU identifies the lowest-confidence (most ambiguous) variables. The framework then applies Shannon expansion to branch on all $2^d$ possible assignments of these variables, solving the resulting subproblems concurrently across CPU threads in a cube-and-conquer fashion. This guarantees completeness and valid UNSAT proofs.
Fig. 1: Overview of GaloisSAT architecture and solving flow. (a) GPU Module. Preprocessing and the forward pass for clause evaluation are indicated by solid arrows, while dashed arrows denote backpropagation enabling gradient-based optimization. (b) CPU Module. Parallel CDCL solving, using high-confidence partial assignments for SAT and branching on low-confidence variables for UNSAT to guarantee completeness.

Datasets

The authors evaluated GaloisSAT using the official SAT Competition 2024 benchmark suite, which consists of 179 satisfiable and 214 unsatisfiable instances. They compared its performance against the latest state-of-the-art CDCL solvers, Kissat and CaDiCaL, as well as the recent ML-hybrid solver TurboSAT.

Key Insights and Ideas

  • Data-Free Learning: Unlike typical deep learning approaches that require massive labeled datasets, GaloisSAT optimizes its parameters on-the-fly for each specific problem instance, relying purely on the constraints embedded within the formula.
  • Uncertainty as a Branching Guide: Instead of just using machine learning to guess the right answers for satisfiable instances, GaloisSAT uses the model's highest uncertainty to pick the best variables to branch on for unsatisfiable instances. This elegant application of Shannon expansion turns a traditional weakness of ML (ambiguity) into a tool for guaranteeing completeness.
  • Exact Logic via Continuous Gradients: By using finite field algebra, the model avoids the pitfall of loose approximations, ensuring that the optimization landscape remains strictly aligned with true MaxSAT semantics.

Key Results

Performance was measured using the official SAT Competition metric, PAR-2 (Penalized Average Runtime with a 5,000-second timeout, where timeouts are penalized by 2×).

  • Satisfiable Instances: GaloisSAT achieved a massive 8.41× speedup over Kissat and a 4.54× speedup over CaDiCaL. It successfully solved 100% of the satisfiable instances (179/179), whereas standalone Kissat only solved 157.
  • Unsatisfiable Instances: Unlike incomplete ML solvers, GaloisSAT successfully proved unsatisfiability, delivering a 1.29× speedup over Kissat and a 1.18× speedup over CaDiCaL.
  • Hardware Scaling: Scaling the GPU hardware from 2×A100 to 8×A100 reduced the average GPU training time from 52.31 seconds to 15.24 seconds (a 3.43× speedup), showing near-linear scaling benefits for large instances.

Limitations and Future Work

  • Memory Bottlenecks: For extremely large problem instances, GPU memory capacity becomes a bottleneck. This forces the batch to be split into sub-batches for gradient accumulation, which introduces additional runtime overhead.
  • Future Directions: The authors plan to explore algorithm-hardware co-design and hierarchical batching to scale GaloisSAT to massive industrial CNFs exceeding 500 million clauses. They also aim to extend this differentiable algebraic framework to Satisfiability Modulo Theories (SMT) solvers and formal verification tasks like bounded model checking and logic equivalence checking.

Summary updated

BibTeX
@misc{kim2026galoissat,
  author = {Curie Kim and Carsten Portner and Mingju Liu and Steve Dai and Haoxing Ren and Brucek Khailany and Alvaro Velasquez and Ismail Alkhouri and Cunxi Yu},
  title = {{GaloisSAT: Differentiable Boolean Satisfiability Solving via Finite Field Algebra}},
  year = {2026},
  eprint = {2603.28796},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.28796},
}
Figure