arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2505.02168cs.AR
收藏

CircuitFusion:面向敏捷芯片设计的多模态电路表示学习

CircuitFusion: Multimodal Circuit Representation Learning for Agile Chip Design

Wenji Fang, Shang Liu, Jing Wang, Zhiyao Xie

AI总结:

本文提出首个多模态且实现感知的电路编码器 CircuitFusion,通过融合硬件代码、结构图和功能摘要三种模态,并结合电路并行性、功能等价变换等特性设计预训练与检索增强推理策略,在多个电路设计任务上超越专用 SOTA 方法并支持零样本推理。

摘要:

人工智能的快速发展离不开集成电路(IC)的支撑。然而,数字 IC 日益增长的复杂性使得传统 IC 设计流程成本高昂且耗时漫长。近年来,AI 辅助 IC 设计方法展现出巨大潜力,但大多数方法要么面向特定任务,要么仅关注图格式的电路结构,忽视了其他具有丰富功能信息的电路模态。本文提出了 CircuitFusion,这是首个多模态且具备实现感知能力的电路编码器。它将电路编码为通用表示,以支持不同的下游电路设计任务。为了从电路中学习,我们提出融合三种电路模态:硬件代码、结构图和功能摘要。更重要的是,我们识别出电路的四个独特性质:并行执行、功能等价变换、多设计阶段以及电路可复用性。基于这些性质,我们为 CircuitFusion 的开发和应用提出了新策略:1)在电路预处理阶段,利用电路的并行特性,我们依据时序元件边界将每个电路拆分为多个子电路,每个子电路均以三种模态表示。2)在 CircuitFusion 预训练阶段,我们引入三个自监督任务,利用模态内部和跨模态的等价变换进行学习。3)在将 CircuitFusion 应用于下游任务时,我们提出一种新的检索增强推理方法,该方法检索相似的已知电路作为预测参考。它提升了微调性能,甚至支持零样本推理。在五个不同的电路设计任务上评估后,CircuitFusion 一致优于针对每个单一任务专门开发的最先进监督方法,证明了其泛化能力以及学习电路固有特性的能力。

英文摘要:

The rapid advancements of AI rely on the support of ICs. However, the growing complexity of digital ICs makes the traditional IC design process costly and time-consuming. In recent years, AI-assisted IC design methods have demonstrated great potential, but most methods are task-specific or focus solely on the circuit structure in graph format, overlooking other circuit modalities with rich functional information. In this paper, we introduce CircuitFusion, the first multimodal and implementation-aware circuit encoder. It encodes circuits into general representations that support different downstream circuit design tasks. To learn from circuits, we propose to fuse three circuit modalities: hardware code, structural graph, and functionality summary. More importantly, we identify four unique properties of circuits: parallel execution, functional equivalent transformation, multiple design stages, and circuit reusability. Based on these properties, we propose new strategies for both the development and application of CircuitFusion: 1) During circuit preprocessing, utilizing the parallel nature of circuits, we split each circuit into multiple sub-circuits based on sequential-element boundaries, each sub-circuit in three modalities. 2) During CircuitFusion pre-training, we introduce three self-supervised tasks that utilize equivalent transformations both within and across modalities. 3) When applying CircuitFusion to downstream tasks, we propose a new retrieval-augmented inference method, which retrieves similar known circuits as a reference for predictions. It improves fine-tuning performance and even enables zero-shot inference. Evaluated on five different circuit design tasks, CircuitFusion consistently outperforms the SOTA supervised method specifically developed for every single task, demonstrating its generalizability and ability to learn circuits' inherent properties.

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

↑