A Hierarchical Circuit Symbolic Discovery Framework for Efficient Logic Optimization

Abstract

The efficiency of Logic Optimization (LO) has become one of the key bottlenecks in chip design. To prompt efficient LO, many graph-based machine learning (ML) methods, such as graph neural networks (GNNs), have been proposed to predict and prune a large number of ineffective subgraphs of the LO heuristics. However, the high inference cost and limited interpretability of these approaches severely limit their wide application to modern LO tools. To address this challenge, we propose a novel **H**ierarchical C**i**rcuit **S**ymbolic Discovery Framework, namely HIS, to learn a *lightweight* and *interpretable* symbolic function that can *accurately* identify ineffective subgraphs for efficient LO. Specifically, HIS proposes a hierarchical tree structure to represent the circuit symbolic function, where every layer of the symbolic tree performs an efficient and interpretable message passing to capture the structural information of the circuit graph. To learn the hierarchical tree, we propose a circuit symbolic generation framework that leverages reinforcement learning to optimize a structure-aware Transformer model for symbolic token generation. To the best of our knowledge, HIS is *the first* approach to discover an efficient, interpretable, and high-performance symbolic function from the circuit graph for efficient LO. Experiments on two widely used circuit benchmarks show that the learned graph symbolic functions outperform previous state-of-the-art approaches in terms of efficiency and optimization performance. Moreover, we integrate HIS with the Mfs2 heuristic, one of the most time-consuming LO heuristics. Results show that HIS significantly enhances both its efficiency and optimization performance on a CPU-based machine, achieving an average runtime improvement of 27.22% and a 6.95% reduction in circuit size.

Cite

Text

Bai et al. "A Hierarchical Circuit Symbolic Discovery Framework for Efficient Logic Optimization." International Conference on Learning Representations, 2026.

Markdown

[Bai et al. "A Hierarchical Circuit Symbolic Discovery Framework for Efficient Logic Optimization." International Conference on Learning Representations, 2026.](https://mlanthology.org/iclr/2026/bai2026iclr-hierarchical/)

BibTeX

@inproceedings{bai2026iclr-hierarchical,
  title     = {{A Hierarchical Circuit Symbolic Discovery Framework for Efficient Logic Optimization}},
  author    = {Bai, Yinqi and Wang, Jie and Xialiang, Tong and Pan, Longdi and Pan, Jilai and Yuan, Mingxuan and Hao, Jianye},
  booktitle = {International Conference on Learning Representations},
  year      = {2026},
  url       = {https://mlanthology.org/iclr/2026/bai2026iclr-hierarchical/}
}