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

DeepGate2:功能感知的电路表示学习

DeepGate2: Functionality-Aware Circuit Representation Learning

The Chinese University of Hong Kong(香港中文大学);Ningbo University(宁波大学);Noah’s Ark Lab, Huawei(华为诺亚方舟实验室)

Zhengyuan Shi, Hongyang Pan, Sadaf Khan, Min Li, Yi Liu, Junhua Huang, Hui-Ling Zhen, Mingxuan Yuan, Zhufei Chu, Qiang Xu

AI总结:

DeepGate2 提出功能感知的电路表示学习框架,利用真值表差异监督和高效单轮图神经网络,显著提升逻辑综合与布尔可满足性求解性能。

摘要:

电路表示学习旨在获取电路元件的神经表示,并已成为一个有前景的研究方向,可应用于各种电子设计自动化(EDA)和逻辑推理任务。现有解决方案(如 DeepGate)有潜力同时嵌入电路结构信息和功能行为。然而,由于监督信号较弱或模型设计存在缺陷,它们的能力受到限制,导致在下游任务中性能不尽如人意。在本文中,我们提出了 DeepGate2,一个新颖的功能感知学习框架,在学习效果和效率两方面都显著优于原始 DeepGate 方案。我们的方法使用采样逻辑门之间的成对真值表差异作为训练监督信号,并设计了一个精心构造且可扩展的损失函数,显式地考虑电路功能。此外,我们考虑了电路固有特性,设计了一种高效的单轮图神经网络(GNN),使学习速度比原始 DeepGate 方案快一个数量级。实验结果表明,在两个实际下游任务——逻辑综合和布尔可满足性求解——中取得了显著改进。代码可在 https://github.com/cure-lab/DeepGate2 获取。

英文摘要:

Circuit representation learning aims to obtain neural representations of circuit elements and has emerged as a promising research direction that can be applied to various EDA and logic reasoning tasks. Existing solutions, such as DeepGate, have the potential to embed both circuit structural information and functional behavior. However, their capabilities are limited due to weak supervision or flawed model design, resulting in unsatisfactory performance in downstream tasks. In this paper, we introduce DeepGate2, a novel functionality-aware learning framework that significantly improves upon the original DeepGate solution in terms of both learning effectiveness and efficiency. Our approach involves using pairwise truth table differences between sampled logic gates as training supervision, along with a well-designed and scalable loss function that explicitly considers circuit functionality. Additionally, we consider inherent circuit characteristics and design an efficient one-round graph neural network (GNN), resulting in an order of magnitude faster learning speed than the original DeepGate solution. Experimental results demonstrate significant improvements in two practical downstream tasks: logic synthesis and Boolean satisfiability solving. The code is available at https://github.com/cure-lab/DeepGate2

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

↑