GraSS: Combining Graph Neural Networks with Expert Knowledge for SAT Solver Selection

Read original: arXiv:2405.11024 - Published 5/21/2024 by Zhanguang Zhang, Didier Chetelat, Joseph Cotnareanu, Amur Ghose, Wenyi Xiao, Hui-Ling Zhen, Yingxue Zhang, Jianye Hao, Mark Coates, Mingxuan Yuan
Total Score

0

GraSS: Combining Graph Neural Networks with Expert Knowledge for SAT Solver Selection

Sign in to get full access

or

If you already have an account, we'll log you in

Overview

  • This paper presents GraSS, a novel approach that combines Graph Neural Networks (GNNs) with expert knowledge to improve the performance of SAT solver selection.
  • The researchers demonstrate that GraSS outperforms existing state-of-the-art SAT solver selection techniques on a wide range of benchmark instances.
  • GraSS leverages the expressive power of GNNs to capture the structural properties of SAT instances, while also incorporating expert-curated features to guide the selection process.

Plain English Explanation

The paper discusses a new method called GraSS, which is used to help choose the best solver for a particular Satisfiability (SAT) problem. SAT problems are a type of logic puzzle where the goal is to determine if there is a way to make a given Boolean formula true.

Choosing the right solver for a SAT problem can be challenging, as different solvers perform better on different types of problems. GraSS addresses this by using a Graph Neural Network (GNN), a type of machine learning model that can analyze the structure of the SAT problem. This allows GraSS to identify patterns that indicate which solver will work best.

GraSS also incorporates "expert knowledge" - information about SAT problems that has been gathered by researchers over time. By combining the GNN's analysis with this expert knowledge, GraSS can make more informed decisions about which solver to use.

The researchers show that GraSS outperforms other state-of-the-art methods for selecting SAT solvers, meaning it is better able to choose the right solver for a given problem. This can save time and computing resources when solving complex SAT problems, which have applications in areas like automated planning, software verification, and logic reasoning.

Technical Explanation

The key innovation in this paper is the GraSS framework, which combines Graph Neural Networks (GNNs) with expert-curated features to improve SAT solver selection. GNNs are a type of machine learning model that can effectively capture the structural properties of complex graphs, such as the constraint graphs underlying SAT instances.

The researchers first encode a given SAT instance as a graph, with variables and clauses represented as nodes and their interactions as edges. They then feed this graph representation into a GNN, which learns to extract relevant structural features that can be used to predict the best-performing SAT solver.

In addition to the GNN-based features, GraSS also incorporates a set of expert-curated features that capture various characteristics of SAT instances, such as the ratio of different types of clauses, variable-clause incidence, and clause-variable incidence. These expert-designed features help to guide the solver selection process by providing complementary information to the GNN-based features.

The performance of GraSS is evaluated on a wide range of SAT benchmark instances from the G4SAT Benchmark, a recently introduced dataset designed for evaluating SAT solver selection techniques. The results show that GraSS significantly outperforms existing state-of-the-art approaches, such as SATzilla and SUNNY, on both runtime and solving rate metrics.

Critical Analysis

One potential limitation of the GraSS approach is that it relies on the availability of a comprehensive set of expert-curated features. While the researchers demonstrate the effectiveness of combining these features with the GNN-based structural analysis, the process of manually designing and selecting the expert features can be time-consuming and may not be feasible for all problem domains.

Additionally, the paper does not provide a detailed analysis of the individual contributions of the GNN-based features and the expert-curated features to the overall performance of GraSS. It would be interesting to see how the system's performance changes when using only the GNN-based features or only the expert-curated features, in order to better understand the specific role and value of each component.

Furthermore, the researchers could explore the potential for integrating local information into the GNN architecture, which may help to capture additional nuances in the structure of SAT instances and further improve the solver selection process.

Conclusion

The GraSS framework presented in this paper represents a significant advancement in the field of SAT solver selection. By combining the expressive power of Graph Neural Networks with expert-curated features, the researchers have developed a highly effective approach that can consistently outperform existing state-of-the-art techniques.

The success of GraSS has important implications for a wide range of applications that rely on efficient SAT solving, such as automated planning, software verification, and logic reasoning. By making SAT solving more efficient and accessible, GraSS has the potential to accelerate progress in these critical domains and drive further advancements in the field of artificial intelligence.



This summary was produced with help from an AI and may contain inaccuracies - check out the links to read the original source documents!

Follow @aimodelsfyi on 𝕏 →

Related Papers

GraSS: Combining Graph Neural Networks with Expert Knowledge for SAT Solver Selection
Total Score

0

GraSS: Combining Graph Neural Networks with Expert Knowledge for SAT Solver Selection

Zhanguang Zhang, Didier Chetelat, Joseph Cotnareanu, Amur Ghose, Wenyi Xiao, Hui-Ling Zhen, Yingxue Zhang, Jianye Hao, Mark Coates, Mingxuan Yuan

Boolean satisfiability (SAT) problems are routinely solved by SAT solvers in real-life applications, yet solving time can vary drastically between solvers for the same instance. This has motivated research into machine learning models that can predict, for a given SAT instance, which solver to select among several options. Existing SAT solver selection methods all rely on some hand-picked instance features, which are costly to compute and ignore the structural information in SAT graphs. In this paper we present GraSS, a novel approach for automatic SAT solver selection based on tripartite graph representations of instances and a heterogeneous graph neural network (GNN) model. While GNNs have been previously adopted in other SAT-related tasks, they do not incorporate any domain-specific knowledge and ignore the runtime variation introduced by different clause orders. We enrich the graph representation with domain-specific decisions, such as novel node feature design, positional encodings for clauses in the graph, a GNN architecture tailored to our tripartite graphs and a runtime-sensitive loss function. Through extensive experiments, we demonstrate that this combination of raw representations and domain-specific choices leads to improvements in runtime for a pool of seven state-of-the-art solvers on both an industrial circuit design benchmark, and on instances from the 20-year Anniversary Track of the 2022 SAT Competition.

Read more

5/21/2024

🧠

Total Score

0

G4SATBench: Benchmarking and Advancing SAT Solving with Graph Neural Networks

Zhaoyu Li, Jinpei Guo, Xujie Si

Graph neural networks (GNNs) have recently emerged as a promising approach for solving the Boolean Satisfiability Problem (SAT), offering potential alternatives to traditional backtracking or local search SAT solvers. However, despite the growing volume of literature in this field, there remains a notable absence of a unified dataset and a fair benchmark to evaluate and compare existing approaches. To address this crucial gap, we present G4SATBench, the first benchmark study that establishes a comprehensive evaluation framework for GNN-based SAT solvers. In G4SATBench, we meticulously curate a large and diverse set of SAT datasets comprising 7 problems with 3 difficulty levels and benchmark a broad range of GNN models across various prediction tasks, training objectives, and inference algorithms. To explore the learning abilities and comprehend the strengths and limitations of GNN-based SAT solvers, we also compare their solving processes with the heuristics in search-based SAT solvers. Our empirical results provide valuable insights into the performance of GNN-based SAT solvers and further suggest that existing GNN models can effectively learn a solving strategy akin to greedy local search but struggle to learn backtracking search in the latent space. Our codebase is available at https://github.com/zhaoyu-li/G4SATBench.

Read more

5/14/2024

Graph Reasoning Networks
Total Score

0

Graph Reasoning Networks

Markus Zopf, Francesco Alesiani

Graph neural networks (GNNs) are the predominant approach for graph-based machine learning. While neural networks have shown great performance at learning useful representations, they are often criticized for their limited high-level reasoning abilities. In this work, we present Graph Reasoning Networks (GRNs), a novel approach to combine the strengths of fixed and learned graph representations and a reasoning module based on a differentiable satisfiability solver. While results on real-world datasets show comparable performance to GNN, experiments on synthetic datasets demonstrate the potential of the newly proposed method.

Read more

7/9/2024

Decision-focused Graph Neural Networks for Combinatorial Optimization
Total Score

0

Decision-focused Graph Neural Networks for Combinatorial Optimization

Yang Liu, Chuan Zhou, Peng Zhang, Shirui Pan, Zhao Li, Hongyang Chen

In recent years, there has been notable interest in investigating combinatorial optimization (CO) problems by neural-based framework. An emerging strategy to tackle these challenging problems involves the adoption of graph neural networks (GNNs) as an alternative to traditional algorithms, a subject that has attracted considerable attention. Despite the growing popularity of GNNs and traditional algorithm solvers in the realm of CO, there is limited research on their integrated use and the correlation between them within an end-to-end framework. The primary focus of our work is to formulate a more efficient and precise framework for CO by employing decision-focused learning on graphs. Additionally, we introduce a decision-focused framework that utilizes GNNs to address CO problems with auxiliary support. To realize an end-to-end approach, we have designed two cascaded modules: (a) an unsupervised trained graph predictive model, and (b) a solver for quadratic binary unconstrained optimization. Empirical evaluations are conducted on various classical tasks, including maximum cut, maximum independent set, and minimum vertex cover. The experimental results on classical CO problems (i.e. MaxCut, MIS, and MVC) demonstrate the superiority of our method over both the standalone GNN approach and classical methods.

Read more

6/11/2024