arXiv:2610.06316cs.AIOct 2026

Manuscript Offprint

arXiv:2610.06316

RollPlace: Improving Macro Placement via Monte Carlo Rollout Search

Qi Zhou, Guojun Liu, Guangzhi Qi, Ming Lu, Jiechu Liu, Zhongli Liu, Jianqun Yang, Xingji Li

Qi Zhou, Guojun Liu, Guangzhi Qi, Ming Lu, Jiechu Liu, Zhongli Liu, Jianqun Yang, Member, IEEE, and Xingji Li, Senior Member, IEEE

Abstract—The application of Reinforcement Learning (RL) in Electronic Design Automation (EDA), particularly for chip placement, has attracted considerable attention in recent years. While existing machine learning (ML)-based approaches have achieved notable progress, they predominantly focus on generating optimal layouts in a single attempt, often producing solutions that require subsequent refinement. To address this limitation, we propose RollPlace, a novel and generalized macro placement framework. RollPlace adopts a two-stage optimization strategy: generating initial placement solutions via machine learning methods or heuristic-based strategies, and refining these layouts efficiently by adjusting specific macros derived from the initial stage. This strategy circumvents the sequential generation constraints inherent in traditional RL-based placement methods. Furthermore, RollPlace seamlessly integrates Monte Carlo Tree Search (MCTS) to balance exploration and exploitation, and employs a rollout mechanism for efficient local search. Extensive experiments on the ISPD 2005 benchmark demonstrate that RollPlace outperforms state-of-the-art methods. Additionally, end-to-end experimental results based on OpenROAD across 19 benchmarks show that RollPlace excels in multiple metrics. The proposed framework offers a robust and scalable solution for addressing the growing complexity of modern chip design challenges.

Index Terms—Macro Placement, Chip Design, MCTS, Machine Learning

I. INTRODUCTION

MACRO placement, a critical stage in chip design, involves positioning macros of varying dimensions on the chip canvas while satisfying stringent design constraints. The quality of macro placement profoundly impacts the performance metrics of the integrated circuits (ICs), including timing, power consumption, area utilization and so on. However, evaluating the quality of a macro layout typically necessitates the complete placement of all macros, often requiring designers to iteratively refine multiple layouts to achieve an optimal configuration. This challenge is exacerbated in modern very-large-scale integration (VLSI) circuits, where the presence of hundreds of macros and tens of thousands of standard cells compounds the complexity of the design. As semiconductor technology advances, this scale is expected to grow further, intensifying demands for scalable placement solutions. Consequently, the ability to rapidly generate efficient and high-quality layouts has become a critical challenge in chip design, driving the need for innovative solutions to address the escalating complexity of modern ICs.

Figure

Fig. 1. The general process of placing macros one by one in reinforcement learning. In each state sts_t, the position of the tt-th macro is determined according to the decision ata_t given by the agent, and the environment gives the reward value rtr_t.

In recent years, numerous efforts have been made [1]–[3] to apply ML techniques to address the placement problem in EDA. Some of these endeavors have yielded remarkable results, significantly propelling the development and advancement of ML methodologies in the field of chip design.

A common framework adopted by these methods is to model the chip placement task as a Markov Decision Process (MDP) [1]. As shown in Fig. 1, at each step, a macro is positioned on the canvas based on the agent's decision. Upon completing the placement of all macros, relevant evaluation metrics, such as wirelength and congestion, are computed based on the macros' positions and the netlist to assess the quality of the placement solution.

In the aforementioned framework, placing the t-th macro inherently depends on the decision made at step t−1t-1, allowing the macro placement results to be represented as a sequence. However, a critical limitation of these approaches lies in their sequential nature: these ML-based approaches often generate the positions of all macros in a single forward pass without additional modifications or adjustments. This sequential dependency introduces a significant challenge: the position of a macro with a smaller index in the resulting sequence frequently influences the position of macros with larger indices. Generally, a benchmark usually contains at least hundreds of macros, and generating such a long sequence in a single attempt inevitably amplifies and accumulates deviations, ultimately degrading the overall quality of the layout.

Recent attempts have been made to integrate ML-based methods with heuristic techniques to address the instability inherent in sequential macro placement solutions. Shi et al. [4] employed an evolutionary algorithm, named WireMask-EA, to fine-tune the placement results generated by MaskPlace [2]. Nevertheless, WireMask-EA exhibits inherent limitations in

This work was supported in part by the National Natural Science Foundation of China (61976071), the Natural Science Foundation of Heilongjiang Province of China (LH2020F012), and the National Key Research and Development Plan Task of China (2021YFF0307903). (Corresponding author: Guojun Liu.)

Qi Zhou, Guojun Liu, Guangzhi Qi, Ming Lu, and Jiechu Liu are with the Faculty of Computing, Harbin Institute of Technology, Harbin, 150001, China. (e-mail: hitliu@hit.edu.cn).

Zhongli Liu, Jianqun Yang, and Xingji Li are with the School of Materials Science and Engineering, Harbin Institute of Technology, Harbin, 150001, China.

Figure

Fig. 2. RollPlace framework. In the first stage, multiple initial layouts are generated and a search tree is constructed using ML methods or others. In the second stage, candidate solutions are refined via a Monte Carlo rollout search, including selection, order exchange, simulation, rollout and update. The right black rectangle illustrates the process of simulation and rollout.

optimizing macro placement. Specifically, the algorithm focuses exclusively on refining the single optimal solution provided by MaskPlace, ignoring other potentially viable candidate solutions. This design inherently restricts the optimization space, potentially leading to suboptimal performance. In particular, when the initial placement from MaskPlace produces densely packed macros, the limited flexibility for subsequent adjustments severely constrains the algorithm's ability to improve the layout. Another approach, EfficientPlace [5], combines RL techniques with tree search to enhance macro placement. This method simultaneously explores better sequences while optimizing the layout strategy through RL. However, EfficientPlace adopts a fixed macro ordering strategy, which overlooks the critical influence of macro sequence on placement quality. This rigidity can lead to suboptimal outcomes, as unsatisfactory search results in the early stages of the process may propagate errors and adversely affect the subsequent layout strategy. Consequently, the pre-determined ordering of macros limits the algorithm's ability to adapt and explore alternative configurations that might yield superior results.

In this paper, we propose RollPlace, a novel macro placement framework that synergistically integrates ML techniques and heuristic functions, as illustrated in Fig. 2. RollPlace initially employs ML or heuristic layout strategies to generate initialization sequences. This capability enables the efficient generation of candidate sequences for chips that have not been previously encountered, significantly enhancing the framework's generalization ability. Subsequently, these initialization sequences are utilized to construct a search tree, which is iteratively refined using MCTS and rollout strategies [6]–[8]. This iterative refinement process allows RollPlace to explore and optimize the solution space effectively, overcoming the instability issues inherent in traditional one-pass ML-based methods. The key contributions of this work are summarized as follows:

• We identify and address a critical limitation in existing ML-based macro placement methods: the instability of one-time sequence generation. To mitigate this issue, we propose a novel framework that combines ML with heuristic algorithms through the construction of a Monte Carlo search tree.

  • To overcome the challenge of limited or non-existent position adjustment flexibility for macros with higher index values, we introduce a swap-based rollout algorithm. This component seamlessly integrates with the Monte Carlo rollout search, enabling dynamic adjustments to macro positions and significantly improving placement quality.

  • Extensive experimental evaluations demonstrate that RollPlace consistently outperforms state-of-the-art methods across multiple benchmarks in macro placement tasks. Furthermore, the framework exhibits robust performance in mixed-size placement tasks, highlighting its versatility and practical applicability in real-world chip design scenarios. The end-to-end evaluation based on OpenROAD [9] demonstrates that our algorithm retains significant advantages throughout the complete chip design workflow.

References (50)