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

MaskPlace:基于强化视觉表示学习的快速芯片放置

MaskPlace: Fast Chip Placement via Reinforced Visual Representation Learning

The University of Hong Kong(香港大学)

Yao Lai, Yao Mu, Ping Luo

摘要:

布局是现代芯片设计中的一项重要任务,旨在将数百万个电路模块放置在2D芯片画布上。与以人为中心的解决方案不同,它需要硬件工程师数月的紧张工作来产生布局,以最大限度地减少延迟和能耗,深度强化学习已成为一种新兴的自主工具。然而,以学习为中心的方法仍处于早期阶段,受到10到几千个数量级的巨大设计空间的阻碍。这项工作提出了MaskPlace自动生成一个有效的芯片布局设计在几个小时内,其性能可以优于或媲美最近的先进方法。它具有现有技术所没有的几个吸引人的优点。首先,MaskPlace将放置重新定义为学习像素级视觉表示的问题,以全面描述芯片上数百万个模块,从而实现在高分辨率画布和大动作空间中的放置。它优于最近的方法,代表一个芯片作为超图。其次,它能够通过具有密集奖励的直观奖励函数来训练策略网络,而不是以前方法中具有稀疏奖励的复杂奖励函数。第三,在许多公共基准上进行的大量实验表明,MaskPlace在所有关键性能指标上都优于现有的RL方法,包括线长、拥塞和密度。例如,它实现了60%-90%的线长减少,并保证零重叠。我们相信MaskPlace可以改善AI辅助的芯片布局设计。可交付成果发布于https://laiyao1.github.io/maskplace。

英文摘要:

Placement is an essential task in modern chip design, aiming at placing millions of circuit modules on a 2D chip canvas. Unlike the human-centric solution, which requires months of intense effort by hardware engineers to produce a layout to minimize delay and energy consumption, deep reinforcement learning has become an emerging autonomous tool. However, the learning-centric method is still in its early stage, impeded by a massive design space of size ten to the order of a few thousand. This work presents MaskPlace to automatically generate a valid chip layout design within a few hours, whose performance can be superior or comparable to recent advanced approaches. It has several appealing benefits that prior arts do not have. Firstly, MaskPlace recasts placement as a problem of learning pixel-level visual representation to comprehensively describe millions of modules on a chip, enabling placement in a high-resolution canvas and a large action space. It outperforms recent methods that represent a chip as a hypergraph. Secondly, it enables training the policy network by an intuitive reward function with dense reward, rather than a complicated reward function with sparse reward from previous methods. Thirdly, extensive experiments on many public benchmarks show that MaskPlace outperforms existing RL approaches in all key performance metrics, including wirelength, congestion, and density. For example, it achieves 60%-90% wirelength reduction and guarantees zero overlaps. We believe MaskPlace can improve AI-assisted chip layout design. The deliverables are released at https://laiyao1.github.io/maskplace.

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

↑