W2SAT: Learning to generate SAT instances from Weighted Literal Incidence Graphs

02/01/2023
by   Weihuang Wen, et al.
0

The Boolean Satisfiability (SAT) problem stands out as an attractive NP-complete problem in theoretic computer science and plays a central role in a broad spectrum of computing-related applications. Exploiting and tuning SAT solvers under numerous scenarios require massive high-quality industry-level SAT instances, which unfortunately are quite limited in the real world. To address the data insufficiency issue, in this paper, we propose W2SAT, a framework to generate SAT formulas by learning intrinsic structures and properties from given real-world/industrial instances in an implicit fashion. To this end, we introduce a novel SAT representation called Weighted Literal Incidence Graph (WLIG), which exhibits strong representation ability and generalizability against existing counterparts, and can be efficiently generated via a specialized learning-based graph generative model. Decoding from WLIGs into SAT problems is then modeled as finding overlapping cliques with a novel hill-climbing optimization method termed Optimal Weight Coverage (OWC). Experiments demonstrate the superiority of our WLIG-induced approach in terms of graph metrics, efficiency, and scalability in comparison to previous methods. Additionally, we discuss the limitations of graph-based SAT generation for real-world applications, especially when utilizing generated instances for SAT solver parameter-tuning, and pose some potential directions.

READ FULL TEXT

page 7

page 11

research
10/29/2019

G2SAT: Learning to Generate SAT Formulas

The Boolean Satisfiability (SAT) problem is the canonical NP-complete pr...
research
11/01/2019

CNF Encodings of Cardinality Constraints Based on Comparator Networks

Boolean Satisfiability Problem (SAT) is one of the core problems in comp...
research
06/10/2016

Community Structure in Industrial SAT Instances

Modern SAT solvers have experienced a remarkable progress on solving ind...
research
07/18/2023

Machine Learning for SAT: Restricted Heuristics and New Graph Representations

Boolean satisfiability (SAT) is a fundamental NP-complete problem with m...
research
05/10/2015

Exploiting Resolution-based Representations for MaxSAT Solving

Most recent MaxSAT algorithms rely on a succession of calls to a SAT sol...
research
05/14/2019

Generating Weighted MAX-2-SAT Instances of Tunable Difficulty with Frustrated Loops

Many optimization problems can be cast into the maximum satisfiability (...
research
03/04/2021

Consistent Answers of Aggregation Queries using SAT Solvers

The framework of database repairs and consistent answers to queries is a...

Please sign up or login with your details

Forgot password? Click here to reset