Less is More: Hop-Wise Graph Attention for Scalable and Generalizable Learning on Circuits
Chenhui Deng, Zichao Yue, Cunxi Yu, Gokce Sarar, Ryan Carey, Rajeev Jain, Zhiru Zhang
Abstract
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. Source code of HOGA is freely available at: github.com/cornell-zhang/HOGA.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers7
- NetTAG: A Multimodal RTL-and-Layout-Aligned Netlist Foundation Model via Text-Attributed GraphWenji Fang, Wenkai Li, Shang Liu, Yao Lu et al.DAC 2025 · 10 citations
- E-morphic: Scalable Equality Saturation for Structural Exploration in Logic SynthesisChen Chen, Guangyu Hu, Cunxi Yu, Yuzhe Ma et al.DAC 2025 · 9 citations
- BoolE: Exact Symbolic Reasoning via Boolean Equality SaturationJiaqi Yin, Zhan Song, Chen Chen, Qihao Hu et al.DAC 2025 · 6 citations
- Fixed Aggregation Features Can Rival GNNsCelia Rubio-Madrigal, Rebekka BurkholzICML 2026 · 2 citations
- Functional Matching of Logic Subgraphs: Beyond Structural IsomorphismZiyang Zheng, Kezhi Li, Zhengyuan Shi, Qiang XuNeurIPS 2025 · 1 citation
Builds on5
- GraphSAINT: Graph Sampling Based Inductive Learning MethodHanqing Zeng, Hongkuan Zhou, Ajitesh Srivastava, Rajgopal Kannan et al.ICLR 2020 · 1,155 citations
- A timing engine inspired graph neural network model for pre-routing slack predictionZizheng Guo, Mingjie Liu, Jiaqi Gu, Shuhan Zhang et al.DAC 2022 · 121 citations
- GRANNITE: Graph Neural Network Inference for Transferable Power EstimationYanqing Zhang, Haoxing Ren, Brucek KhailanyDAC 2020 · 115 citations
- Functionality matters in netlist representation learningZiyi Wang, Chen Bai, Zhuolun He, Guangliang Zhang et al.DAC 2022 · 45 citations
- Gamora: Graph Learning based Symbolic Reasoning for Large-Scale Boolean NetworksNan Wu, Yingjie Li, Cong Hao, Steve Dai et al.DAC 2023 · 35 citations
Related papers
- Versatile Multi-stage Graph Neural Network for Circuit RepresentationShuwen Yang, Zhihao Yang, Dong Li, Yingxue Zhang et al.NeurIPS 2022 · 72 citations
- DeepGate: learning neural representations of logic gatesMin Li, Sadaf Khan, Zhengyuan Shi, Naixing Wang et al.DAC 2022 · 55 citations
- DeepGate4: Efficient and Effective Representation Learning for Circuit Design at ScaleZiyang Zheng, Shan Huang, Jianyuan Zhong, Zhengyuan Shi et al.ICLR 2025
- Circuit Representation Learning with Masked Gate Modeling and Verilog-AIG AlignmentHaoyuan Wu, Haisheng Zheng, Yuan Pu, Bei YuICLR 2025
- High-level synthesis performance prediction using GNNs: benchmarking, modeling, and advancingNan Wu, Hang Yang, Yuan Xie, Pan Li et al.DAC 2022 · 57 citations
