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

Program-to-Circuit:Exploiting GNNs for Program Representation and Circuit Translation

Program-to-Circuit: Exploiting GNNs for Program Representation and Circuit Translation

University of California, Santa Barbara(加州大学圣塔芭芭拉分校);Purdue University(普渡大学);Georgia Institute of Technology(佐治亚理工学院)

Nan Wu, Huake He, Yuan Xie, Pan Li, Cong Hao

摘要:

电路设计是复杂的,需要广泛的特定领域的专业知识。硬件敏捷开发的一个主要障碍是精确的电路质量评估过程相当耗时。为了显著加快从行为语言到电路设计的转换过程中的电路评估,我们将其表述为程序到电路问题,旨在通过将C/C++程序表示为图来利用图神经网络(GNNs)的表示能力。这项工作的目标有四个方面。首先,我们构建了一个包含40 k个C/C++程序的标准基准,每个程序都被转换为具有实际硬件质量指标的电路设计,旨在促进针对这一高需求电路设计领域的有效GNN的开发。其次,14个国家的最先进的GNN模型进行了分析的程序到电路的问题。我们确定了这个问题的关键设计挑战,应该仔细处理,但尚未解决现有的GNN。我们的目标是提供特定领域的知识,用于设计具有适当归纳偏差的GNN。第三,我们讨论了三套真实世界的基准GNN泛化评估,并分析了标准程序和真实情况下的性能差距。目标是使迁移学习能够从有限的训练数据到现实世界的大规模电路设计问题。第四,Program-to-Circuit问题是Program-to-X框架中的一个代表,是一组具有各种下游任务的基于程序的分析问题。深入了解在Program-to-Circuit上应用GNN的优势和劣势,可以在很大程度上使整个Program-to-X家族受益。在这个方向上开拓,我们期待更多的GNN努力来彻底改变这个高需求的程序到电路问题,并丰富GNN在程序上的表现力。

英文摘要:

Circuit design is complicated and requires extensive domain-specific expertise. One major obstacle stuck on the way to hardware agile development is the considerably time-consuming process of accurate circuit quality evaluation. To significantly expedite the circuit evaluation during the translation from behavioral languages to circuit designs, we formulate it as a Program-to-Circuit problem, aiming to exploit the representation power of graph neural networks (GNNs) by representing C/C++ programs as graphs. The goal of this work is four-fold. First, we build a standard benchmark containing 40k C/C++ programs, each of which is translated to a circuit design with actual hardware quality metrics, aiming to facilitate the development of effective GNNs targeting this high-demand circuit design area. Second, 14 state-of-the-art GNN models are analyzed on the Program-to-Circuit problem. We identify key design challenges of this problem, which should be carefully handled but not yet solved by existing GNNs. The goal is to provide domain-specific knowledge for designing GNNs with suitable inductive biases. Third, we discuss three sets of real-world benchmarks for GNN generalization evaluation, and analyze the performance gap between standard programs and the real-case ones. The goal is to enable transfer learning from limited training data to real-world large-scale circuit design problems. Fourth, the Program-to-Circuit problem is a representative within the Program-to-X framework, a set of program-based analysis problems with various downstream tasks. The in-depth understanding of strength and weaknesses in applying GNNs on Program-to-Circuit could largely benefit the entire family of Program-to-X. Pioneering in this direction, we expect more GNN endeavors to revolutionize this high-demand Program-to-Circuit problem and to enrich the expressiveness of GNNs on programs.

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

↑