arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.01317cs.LGcs.AR
收藏

少即是多:面向电路可扩展可泛化学习的跳数级图注意力

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

Cornell University(康奈尔大学);University of Maryland(马里兰大学);Qualcomm Technologies, Inc.(高通技术公司)

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

AI总结:

针对图神经网络在电路EDA任务中可扩展性与泛化性不足的问题,提出跳数级图注意力模型HOGA,在两项EDA任务上精度更优且训练可分布式线性加速。

摘要:

尽管图神经网络(GNNs)在各类电子设计自动化(EDA)任务中用于学习电路表征已日益流行,但应用于大图时面临可扩展性挑战,且对新设计的泛化能力有限。这些局限使其在解决大规模复杂电路问题时实用性不足。本研究提出HOGA,一种新型基于注意力的模型,以可扩展、可泛化的方式学习电路表征。HOGA首先在模型训练前为每个节点计算跳数级特征,随后仅通过门控自注意力模块利用这些跳数级特征生成节点表征,该模块无需涉及图拓扑结构,就能自适应学习不同跳数间的重要特征。因此,HOGA可适配不同电路的各类结构,且能以分布式方式高效训练。为验证HOGA的有效性,我们选取两项代表性EDA任务:结果质量(QoR)预测与功能推理。实验结果表明:(1)在逻辑综合后的QoR预测任务中,HOGA相比传统GNNs将估计误差降低46.76%;(2)在经过复杂工艺映射的未见门级网表上识别功能块的任务中,HOGA相比GNNs将推理准确率提升10.0%;(3)HOGA的训练时间随计算资源增加几乎呈线性下降。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑