GraphClusNet: A Hierarchical Graph Neural Network for Recovered Circuit Netlist Partitioning

Xuenong Hong,Tong Lin,Yiqiong Shi,Bah-Hwee Gwee
DOI: https://doi.org/10.1109/tai.2022.3198930
2022-01-01
IEEE Transactions on Artificial Intelligence
Abstract:Hardware assurance (HA) is imperative to ensure the integrity of integrated circuits (ICs) after manufacturing. To verify the integrity of an IC would require the extraction of relevant functional block of interest through circuit partitioning. This is usually done by converting a recovered circuit netlist into a circuit graph and subsequently performing unsupervised clustering on the graph. However, circuit graphs are difficult to cluster due to the existence of inherent hierarchies and clusters of imbalanced sizes. In this article, we propose a novel hierarchical graph neural network (GNN), termed as GraphClusNet, to perform circuit graph clustering in a multistage process to achieve near-optimal results. We analytically derive a normalized-cut-based loss function, which allows for clusters of imbalanced sizes. We train our GraphClusNet in a multistage hierarchical fashion to regularize intermediate node embedding, which greatly alleviates the oversmoothing effect in deep GNNs. We further propose a multiscale location-based node feature and feature concatenation to provide a good initialization to stabilize the training of our GNN. Based on the experiments of synthetic graphs, we show that our proposed GraphClusNet obtained solutions with n-cut values up to $\mathbf {65\times }$ closer to the global optimum. On FPGA circuit graphs, our proposed GraphClusNet outperformed the reported methods with up to 30% improvement in normalized mutual information for circuit graph clustering.
What problem does this paper attempt to address?