arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2412.07167cs.LGcs.AI
收藏

强化学习策略作为宏单元调节器而非宏单元布局器

Reinforcement Learning Policy as Macro Regulator Rather than Macro Placer

Nanjing University(南京大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室)

Ke Xue, Ruo-Tong Chen, Xi Lin, Yunqi Shi, Shixiong Kai, Siyuan Xu, Chao Qian

AI总结:

针对RL从零布局训练慢、泛化差且PPA难保证的问题,本文提出将RL策略作为宏单元布局调节器,在细化阶段调整已有布局并引入规整度奖励,在基准与商业软件上显著提升线长、规整度和PPA。

摘要:

在现代芯片设计中,布局旨在放置数百万个电路模块,这是显著影响功耗、性能和面积(PPA)指标的关键步骤。近年来,强化学习(RL)已成为提升布局质量(尤其是宏单元布局质量)的一种有前景的技术。然而,当前基于RL的布局方法存在训练时间长、泛化能力低以及无法保证PPA结果的问题。一个关键问题在于问题建模,即使用RL从零开始布局,这导致训练过程中可用信息有限且奖励不准确。在本工作中,我们提出一种将RL用于细化阶段的方法,使RL策略能够学习如何调整已有布局,从而获得足够的信息来采取行动,并得到相对密集且精确的奖励。此外,我们在训练中引入规整度概念;规整度被芯片设计行业视为一项重要指标,但当前RL布局方法往往忽视它。我们在ISPD 2005和ICCAD 2015基准测试上评估了该方法,将所提方法的全局半周长线长和规整度与若干有竞争力的方法进行比较。此外,我们使用商业软件测试PPA性能,结果表明RL作为调节器能够实现显著的PPA提升。我们的RL调节器可以微调来自任何方法的布局并提升其质量。本工作为RL在布局中的应用开辟了新的可能性,为优化芯片设计提供了更有效、更高效的方法。我们的代码可在https://github.com/lamda-bbo/macro-regulator获取。

英文摘要:

In modern chip design, placement aims at placing millions of circuit modules, which is an essential step that significantly influences power, performance, and area (PPA) metrics. Recently, reinforcement learning (RL) has emerged as a promising technique for improving placement quality, especially macro placement. However, current RL-based placement methods suffer from long training times, low generalization ability, and inability to guarantee PPA results. A key issue lies in the problem formulation, i.e., using RL to place from scratch, which results in limits useful information and inaccurate rewards during the training process. In this work, we propose an approach that utilizes RL for the refinement stage, which allows the RL policy to learn how to adjust existing placement layouts, thereby receiving sufficient information for the policy to act and obtain relatively dense and precise rewards. Additionally, we introduce the concept of regularity during training, which is considered an important metric in the chip design industry but is often overlooked in current RL placement methods. We evaluate our approach on the ISPD 2005 and ICCAD 2015 benchmark, comparing the global half-perimeter wirelength and regularity of our proposed method against several competitive approaches. Besides, we test the PPA performance using commercial software, showing that RL as a regulator can achieve significant PPA improvements. Our RL regulator can fine-tune placements from any method and enhance their quality. Our work opens up new possibilities for the application of RL in placement, providing a more effective and efficient approach to optimizing chip design. Our code is available at \url{https://github.com/lamda-bbo/macro-regulator}.

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

↑