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

ShortCircuit:AlphaZero 驱动的电路设计

ShortCircuit: AlphaZero-Driven Circuit Design

HKUST(香港科技大学);TU Darmstadt(达姆施塔特工业大学);University College London(伦敦大学学院)

Dimitrios Tsaras, Antoine Grosnit, Lei Chen, Zhiyao Xie, Haitham Bou-Ammar, Mingxuan Yuan

AI总结:

提出 ShortCircuit,用结合监督学习与强化学习的两阶段 transformer 及 AlphaZero 变体生成 AIG,在真值表电路规模上优于 ABC。

摘要:

芯片设计在很大程度上依赖于从真值表等功能描述生成布尔电路,例如 And-Inverter Graphs(AIG,与非门图)。这一生成操作是逻辑综合(芯片设计的一个主要阶段)中的关键过程。尽管深度学习的最新进展旨在加速电路设计,但这些努力大多集中在综合以外的任务上,而传统启发式方法已经进入平台期。本文提出 ShortCircuit,这是一种新颖的基于 transformer 的架构,利用 AIG 的结构特性并执行高效的空间探索。与先前尝试使用深度网络端到端生成逻辑电路的方法不同,ShortCircuit 采用结合监督学习与强化学习的两阶段过程,以增强对未见过真值表的泛化能力。我们还提出一种 AlphaZero 变体,用于处理双重指数级庞大的状态空间和奖励稀疏性,从而能够发现近似最优设计。为评估模型的生成性能,我们从一组 20 个真实世界电路中提取 500 个真值表。ShortCircuit 成功为 98% 的 8 输入测试真值表生成 AIG,并且在电路规模方面比最先进的逻辑综合工具 ABC 优 18.62%。

英文摘要:

Chip design relies heavily on generating Boolean circuits, such as AND-Inverter Graphs (AIGs), from functional descriptions like truth tables. This generation operation is a key process in logic synthesis, a primary chip design stage. While recent advances in deep learning have aimed to accelerate circuit design, these efforts have mostly focused on tasks other than synthesis, and traditional heuristic methods have plateaued. In this paper, we introduce ShortCircuit, a novel transformer-based architecture that leverages the structural properties of AIGs and performs efficient space exploration. Contrary to prior approaches attempting end-to-end generation of logic circuits using deep networks, ShortCircuit employs a two-phase process combining supervised with reinforcement learning to enhance generalization to unseen truth tables. We also propose an AlphaZero variant to handle the double exponentially large state space and the reward sparsity, enabling the discovery of near-optimal designs. To evaluate the generative performance of our model , we extract 500 truth tables from a set of 20 real-world circuits. ShortCircuit successfully generates AIGs for $98\%$ of the 8-input test truth tables, and outperforms the state-of-the-art logic synthesis tool, ABC, by $18.62\%$ in terms of circuits size.

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

↑