arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.06460cs.LG
收藏

硬件设计中定向图表示学习的基准测试

A Benchmark on Directed Graph Representation Learning in Hardware Designs

Georgia Tech(佐治亚理工学院);George Washington University(乔治·华盛顿大学)

Haoyu Wang, Yinan Huang, Nan Wu, Pan Li

AI总结:

本研究针对硬件领域定向图表示学习缺乏基准的问题,构建了含5个数据集、13项任务的新基准,评估21种模型,发现双向消息传递网络与鲁棒位置编码可显著提升性能,同时指出需增强模型分布外泛化能力。

摘要:

为跟上现代计算系统设计复杂度的快速提升,定向图表示学习(DGRL)已变得至关重要,尤其适用于编码电路网表、计算图以及开发硬件性能预测的代理模型。然而,DGRL 相关研究仍相对不足,在硬件领域更是如此,主要原因是缺乏全面且易用的基准测试。本研究提出了一个全新的基准,包含5个硬件设计数据集和13项预测任务,覆盖不同层级的电路抽象。我们评估了21种 DGRL 模型,采用多种图神经网络和图Transformer(GT)作为骨干网络,并搭配专为定向图定制的位置编码(PE)进行增强。结果表明,双向(BI)消息传递神经网络(MPNN)和鲁棒的位置编码能显著提升模型性能。值得注意的是,表现最优的模型包括与 BI-MPNN 层交错的 PE 增强型 GT,以及 BI-图同构网络,二者在13项任务中均超越基线模型。此外,我们对分布外(OOD)性能的研究凸显了提升 DGRL 模型 OOD 泛化能力的迫切需求。该基准采用模块化代码库实现,为硬件和机器学习从业者简化了 DGRL 模型的评估流程。

英文摘要:

To keep pace with the rapid advancements in design complexity within modern computing systems, directed graph representation learning (DGRL) has become crucial, particularly for encoding circuit netlists, computational graphs, and developing surrogate models for hardware performance prediction. However, DGRL remains relatively unexplored, especially in the hardware domain, mainly due to the lack of comprehensive and user-friendly benchmarks. This study presents a novel benchmark comprising five hardware design datasets and 13 prediction tasks spanning various levels of circuit abstraction. We evaluate 21 DGRL models, employing diverse graph neural networks and graph transformers (GTs) as backbones, enhanced by positional encodings (PEs) tailored for directed graphs. Our results highlight that bidirected (BI) message passing neural networks (MPNNs) and robust PEs significantly enhance model performance. Notably, the top-performing models include PE-enhanced GTs interleaved with BI-MPNN layers and BI-Graph Isomorphism Network, both surpassing baselines across the 13 tasks. Additionally, our investigation into out-of-distribution (OOD) performance emphasizes the urgent need to improve OOD generalization in DGRL models. This benchmark, implemented with a modular codebase, streamlines the evaluation of DGRL models for both hardware and ML practitioners

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

↑