BoolGebra: Attributed Graph-learning for Boolean Algebraic Manipulation
Yingjie Li, Anthony Agnesina, Yanqing Zhang, Haoxing Ren, Cunxi Yu
TL;DR
The paper tackles the challenge of scalable Boolean algebraic manipulation in logic synthesis where traditional DAG-aware optimizations risk missing opportunities and suffer from combinatorial growth. It introduces BoolGebra, a Graph Neural Network-based predictor that ingests AIG structure with function-aware embeddings to forecast per-node optimization impact, guiding a single AIG traversal that orchestrates rw, rs, and rf. The approach combines priority-guided random sampling, static/dynamic node features, a GraphSAGE encoder, and a dense predictor to shrink the search space and locate high-quality optimizations, integrated with the ABC synthesis tool for end-to-end evaluation. Empirical results show design-specific and cross-design generalization with improvements over SOTA stand-alone optimizations by up to 5.5%, highlighting BoolGebra's potential to scale Boolean manipulation in large, real-world designs.
Abstract
Boolean algebraic manipulation is at the core of logic synthesis in Electronic Design Automation (EDA) design flow. Existing methods struggle to fully exploit optimization opportunities, and often suffer from an explosive search space and limited scalability efficiency. This work presents BoolGebra, a novel attributed graph-learning approach for Boolean algebraic manipulation that aims to improve fundamental logic synthesis. BoolGebra incorporates Graph Neural Networks (GNNs) and takes initial feature embeddings from both structural and functional information as inputs. A fully connected neural network is employed as the predictor for direct optimization result predictions, significantly reducing the search space and efficiently locating the optimization space. The experiments involve training the BoolGebra model w.r.t design-specific and cross-design inferences using the trained model, where BoolGebra demonstrates generalizability for cross-design inference and its potential to scale from small, simple training datasets to large, complex inference datasets. Finally, BoolGebra is integrated with existing synthesis tool ABC to perform end-to-end logic minimization evaluation w.r.t SOTA baselines.
