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

DeepGate4: 面向大规模电路设计的高效表征学习

DeepGate4: Efficient and Effective Representation Learning for Circuit Design at Scale

The Chinese University of Hong Kong(香港中文大学);Shanghai Jiao Tong University(上海交通大学)

Ziyang Zheng, Shan Huang, Jianyuan Zhong, Zhengyuan Shi, Guohao Dai, Ningyi Xu, Qiang Xu

AI总结:

针对现有电路表征学习模型难以扩展到大规模电路的问题,提出DeepGate4图Transformer模型,通过三项创新设计,在基准测试中性能显著优于现有方法,且具备更高的运行与内存效率。

摘要:

电路表征学习已成为电子设计自动化(EDA)领域的关键技术,支撑可测性分析、逻辑推理、功耗估算和SAT求解等核心任务。然而,现有模型在扩展到大规模电路时面临严峻挑战,主要限制包括图神经网络的过挤压问题,以及基于Transformer的模型的二次复杂度问题。为解决这些问题,我们提出了DeepGate4——一种专为大规模电路设计的可扩展、高效的图Transformer模型。DeepGate4包含三项核心创新:(1)针对电路图定制的更新策略,将内存复杂度降至亚线性,且可适配任意图Transformer;(2)基于GAT的稀疏Transformer,为AIG(与非门图)配备全局和局部结构编码;(3)推理加速CUDA内核,可充分利用AIG的独特稀疏模式。我们在ITC99和EPFL基准上开展了大量实验,结果表明DeepGate4显著优于当前最优方法,较次优模型分别实现15.5%和31.1%的性能提升。此外,Fused-DeepGate4变体将运行时间降低35.1%,内存占用减少46.8%,在大规模电路分析中具备极高效率。这些结果证明,DeepGate4在处理复杂EDA任务的同时,兼具出色的可扩展性与效率。代码已开源至https://github.com/zyzheng17/DeepGate4-ICLR-25。

英文摘要:

Circuit representation learning has become pivotal in electronic design automation, enabling critical tasks such as testability analysis, logic reasoning, power estimation, and SAT solving. However, existing models face significant challenges in scaling to large circuits due to limitations like over-squashing in graph neural networks and the quadratic complexity of transformer-based models. To address these issues, we introduce DeepGate4, a scalable and efficient graph transformer specifically designed for large-scale circuits. DeepGate4 incorporates several key innovations: (1) an update strategy tailored for circuit graphs, which reduce memory complexity to sub-linear and is adaptable to any graph transformer; (2) a GAT-based sparse transformer with global and local structural encodings for AIGs; and (3) an inference acceleration CUDA kernel that fully exploit the unique sparsity patterns of AIGs. Our extensive experiments on the ITC99 and EPFL benchmarks show that DeepGate4 significantly surpasses state-of-the-art methods, achieving 15.5% and 31.1% performance improvements over the next-best models. Furthermore, the Fused-DeepGate4 variant reduces runtime by 35.1% and memory usage by 46.8%, making it highly efficient for large-scale circuit analysis. These results demonstrate the potential of DeepGate4 to handle complex EDA tasks while offering superior scalability and efficiency. Code is available at https://github.com/zyzheng17/DeepGate4-ICLR-25.

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

↑