IB-Net: Initial Branch Network for Variable Decision in Boolean Satisfiability

Tsz Ho Chan, Wenyi Xiao, Junhua Huang, Hui-Ling Zhen, Guangji Tian, Mingxuan YuanarXiv 2024 · DOI

Abstract

IB-Net is a novel Graph Neural Network (GNN) framework designed to accelerate Boolean Satisfiability (SAT) solvers, particularly for the "unsatisfiable" (UNSAT) problems prevalent in industrial Electronic Design Automation (EDA). By predicting which variables belong to a problem's "unsatisfiable core" and using these predictions to initialize the solver's branching strategy, IB-Net achieves a 5.0% speedup on industrial data and an 8.3% speedup on SAT competition benchmarks. Unlike previous approaches, IB-Net performs a one-time neural inference at the start of the solving process, avoiding the computational overhead of in-loop neural guidance.

Introduction

In Electronic Design Automation (EDA), Logic Equivalence Checking (LEC) is a critical task used to verify that circuit designs remain functionally identical after optimization. This process relies heavily on SAT solvers. Most LEC problems are "unsatisfiable," meaning the circuits are equivalent and no input set can differentiate them. Proving unsatisfiability requires identifying an UNSAT-core: a subset of contradictory constraints.

Existing AI-assisted SAT solvers often struggle with LEC because they are typically optimized for finding satisfying assignments (SAT) rather than proving unsatisfiability. Furthermore, industrial workflows cannot tolerate the high computational overhead of running neural networks repeatedly during the solver's search. IB-Net addresses these challenges by focusing on UNSAT-core prediction and a one-time initialization strategy.

The IB-Net Framework

IB-Net introduces a "one-time" intervention at the beginning of the SAT solving process. The architecture consists of several key innovations designed for efficiency and accuracy in the UNSAT domain.

The IB-Net architecture pipeline, from CNF input to SAT solver initialization.

Weighted Literal-Incidence Graph (WLIG)

Standard graph representations often include both variables and clauses, which can introduce noise. IB-Net utilizes a Weighted Literal-Incidence Graph (WLIG), where nodes represent literals (variables or their negations). Edges connect literals that co-occur in clauses, weighted by their frequency. This representation emphasizes the structural connectivity that creates contradictions within the UNSAT-core.

Weighted GCN and Focal Loss

A specialized Weighted Graph Convolutional Network (WGCN) processes the WLIG to extract structural features. To manage the imbalanced nature of industrial LEC data—where target variables may constitute a vast majority or minority depending on the instance—the authors employ Focal Loss. This helps the model prioritize harder-to-classify examples during training.

One-Time Initialization

Rather than guiding the solver at every decision step, IB-Net runs exactly once. It predicts the probability of each variable belonging to the UNSAT-core and uses these probabilities to set the solver's initial decision queue and branching scores. This ensures the solver begins its search in the most contentious part of the problem space, pruning the search tree more effectively from the outset.

Experimental Results

The researchers evaluated IB-Net using an industrial LEC dataset from Huawei (containing over 60,000 instances) and the 2022 SAT Competition Anniversary track.

Performance and Scalability

IB-Net achieved an average 5.0% runtime reduction on industrial LEC data and an 8.3% reduction on SAT competition data compared to the state-of-the-art solver, Kissat. The WGCN architecture proved highly efficient, utilizing approximately 70% less memory and training 40% faster than traditional LSTM-based approaches.

Prediction Accuracy and Graph Representation

On industrial data, IB-Net reached 95% accuracy in identifying UNSAT-core variables, significantly outperforming previous models like NeuroSAT (90%) and NeuroCore (89%). A key factor in this performance is the choice of graph representation.

Comparison of prediction performance between Weighted Literal-Incidence Graph (WLIG) and Literal-Clause Graph (LCG).

As shown in the comparative analysis, the WLIG representation consistently outperforms the standard Literal-Clause Graph (LCG) across accuracy and F1 metrics. This confirms that emphasizing literal-to-literal connectivity is more effective for predicting the structural contradictions inherent in UNSAT-cores.

Conclusion

IB-Net demonstrates that targeted, one-time neural initialization can significantly enhance SAT solver performance for industrial applications. By focusing on the UNSAT-core and utilizing an optimized graph representation, the framework provides the benefits of deep learning with minimal computational overhead. Future work may explore the integration of IB-Net with other CDCL solvers and the impact of using minimal UNSAT cores for supervision.

Summary updated

BibTeX
@misc{chan2024ib,
  author = {Tsz Ho Chan and Wenyi Xiao and Junhua Huang and Hui-Ling Zhen and Guangji Tian and Mingxuan Yuan},
  title = {{IB-Net: Initial Branch Network for Variable Decision in Boolean Satisfiability}},
  year = {2024},
  eprint = {2403.03517},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.03517},
}
Figure