DE-HNN: An effective neural model for Circuit Netlist representation
Zhishang Luo, Truong Son Hy, Puoya Tabaghi, Donghyeon Koh, Michael Defferrard, Elahe Rezaei, Ryan Carey, Rhett Davis, Rajeev Jain, Yusu Wang
TL;DR
The paper tackles the bottleneck of post-routing design feedback by predicting routing properties directly from input netlists. It introduces DE-HNN, a universal-approximation–capable neural network for directed hypergraphs, augmented with a hierarchical virtual-node scheme and persistence-based structural encodings to capture long-range interactions in massive netlists. Theoretical results establish the model's ability to approximate nested-permutation invariant functions on directed hypergraphs, and empirical evaluations on 12 large Superblue circuits show DE-HNN outperforms state-of-the-art baselines on HPWL, net-demand, and congestion prediction. The work also provides public netlists and benchmarks, highlighting practical impact for accelerating chip-design optimization and enabling robust ML studies of long-range graph interactions.
Abstract
The run-time for optimization tools used in chip design has grown with the complexity of designs to the point where it can take several days to go through one design cycle which has become a bottleneck. Designers want fast tools that can quickly give feedback on a design. Using the input and output data of the tools from past designs, one can attempt to build a machine learning model that predicts the outcome of a design in significantly shorter time than running the tool. The accuracy of such models is affected by the representation of the design data, which is usually a netlist that describes the elements of the digital circuit and how they are connected. Graph representations for the netlist together with graph neural networks have been investigated for such models. However, the characteristics of netlists pose several challenges for existing graph learning frameworks, due to the large number of nodes and the importance of long-range interactions between nodes. To address these challenges, we represent the netlist as a directed hypergraph and propose a Directional Equivariant Hypergraph Neural Network (DE-HNN) for the effective learning of (directed) hypergraphs. Theoretically, we show that our DE-HNN can universally approximate any node or hyperedge based function that satisfies certain permutation equivariant and invariant properties natural for directed hypergraphs. We compare the proposed DE-HNN with several State-of-the-art (SOTA) machine learning models for (hyper)graphs and netlists, and show that the DE-HNN significantly outperforms them in predicting the outcome of optimized place-and-route tools directly from the input netlists. Our source code and the netlists data used are publicly available at https://github.com/YusuLab/chips.git
