Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Less is More: Hop-Wise Graph Attention for Scalable and Generalizable Learning on Circuits

About

While graph neural networks (GNNs) have gained popularity for learning circuit representations in various electronic design automation (EDA) tasks, they face challenges in scalability when applied to large graphs and exhibit limited generalizability to new designs. These limitations make them less practical for addressing large-scale, complex circuit problems. In this work we propose HOGA, a novel attention-based model for learning circuit representations in a scalable and generalizable manner. HOGA first computes hop-wise features per node prior to model training. Subsequently, the hop-wise features are solely used to produce node representations through a gated self-attention module, which adaptively learns important features among different hops without involving the graph topology. As a result, HOGA is adaptive to various structures across different circuits and can be efficiently trained in a distributed manner. To demonstrate the efficacy of HOGA, we consider two representative EDA tasks: quality of results (QoR) prediction and functional reasoning. Our experimental results indicate that (1) HOGA reduces estimation error over conventional GNNs by 46.76% for predicting QoR after logic synthesis; (2) HOGA improves 10.0% reasoning accuracy over GNNs for identifying functional blocks on unseen gate-level netlists after complex technology mapping; (3) The training time for HOGA almost linearly decreases with an increase in computing resources.

Chenhui Deng, Zichao Yue, Cunxi Yu, Gokce Sarar, Ryan Carey, Rajeev Jain, Zhiru Zhang• 2024

Related benchmarks

TaskDatasetResultRank
Node ClassificationRoman-Empire
Accuracy79.4
327
Node ClassificationAmazon Photo
Accuracy91.88
313
Node Classificationamazon-ratings
Accuracy51.6
309
Node ClassificationOgbn-arxiv
Accuracy72.21
304
Node ClassificationAmazon Computers
Accuracy84.54
167
Node ClassificationCoauthor CS
Accuracy94.62
158
Node ClassificationOGBN-Products
Accuracy80.36
128
Node Classificationquestions
ROC AUC0.783
127
Node ClassificationCoauthor-CS (test)
Accuracy94.6
120
Node ClassificationAmazon Photo (test)
Accuracy91.9
112
Showing 10 of 17 rows

Other info

Follow for update