Explaining SAT Solving Using Causal Reasoning

06/09/2023
by   Jiong Yang, et al.
0

The past three decades have witnessed notable success in designing efficient SAT solvers, with modern solvers capable of solving industrial benchmarks containing millions of variables in just a few seconds. The success of modern SAT solvers owes to the widely-used CDCL algorithm, which lacks comprehensive theoretical investigation. Furthermore, it has been observed that CDCL solvers still struggle to deal with specific classes of benchmarks comprising only hundreds of variables, which contrasts with their widespread use in real-world applications. Consequently, there is an urgent need to uncover the inner workings of these seemingly weak yet powerful black boxes. In this paper, we present a first step towards this goal by introducing an approach called CausalSAT, which employs causal reasoning to gain insights into the functioning of modern SAT solvers. CausalSAT initially generates observational data from the execution of SAT solvers and learns a structured graph representing the causal relationships between the components of a SAT solver. Subsequently, given a query such as whether a clause with low literals blocks distance (LBD) has a higher clause utility, CausalSAT calculates the causal effect of LBD on clause utility and provides an answer to the question. We use CausalSAT to quantitatively verify hypotheses previously regarded as "rules of thumb" or empirical findings such as the query above. Moreover, CausalSAT can address previously unexplored questions, like which branching heuristic leads to greater clause utility in order to study the relationship between branching and clause management. Experimental evaluations using practical benchmarks demonstrate that CausalSAT effectively fits the data, verifies four "rules of thumb", and provides answers to three questions closely related to implementing modern solvers.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/10/2016

Community Structure in Industrial SAT Instances

Modern SAT solvers have experienced a remarkable progress on solving ind...
research
08/05/2020

A Time Leap Challenge for SAT Solving

We compare the impact of hardware advancement and algorithm advancement ...
research
10/26/2021

NeuroComb: Improving SAT Solving with Graph Neural Networks

Propositional satisfiability (SAT) is an NP-complete problem that impact...
research
06/17/2015

SAT-based Analysis of Large Real-world Feature Models is Easy

Modern conflict-driven clause-learning (CDCL) Boolean SAT solvers provid...
research
07/06/2020

Enhancing SAT solvers with glue variable predictions

Modern SAT solvers routinely operate at scales that make it impractical ...
research
05/11/2020

Designing New Phase Selection Heuristics

CDCL-based SAT solvers have transformed the field of automated reasoning...
research
04/04/2022

Reducing SAT to Max2XOR

Representing some problems with XOR clauses (parity constraints) can all...

Please sign up or login with your details

Forgot password? Click here to reset