Assessment of Reinforcement Learning for Macro Placement

Chung-Kuan Cheng, Andrew B. Kahng, Sayak Kundu, Yucheng Wang, Zhiang Wang

Introduction

Macro placement—the strategic positioning of large functional blocks such as memory on a silicon chip—is a foundational challenge in physical design. In 2021, a high-profile publication in Nature by Google Brain researchers suggested that reinforcement learning (RL) could revolutionize this field, claiming that an RL-based agent could outperform human experts in a fraction of the time. However, the Electronic Design Automation (EDA) community faced significant hurdles in replicating these results due to the proprietary nature of the code and datasets used.

This paper provides a rigorous "reality check" on the RL approach. By developing an open-source framework and conducting a head-to-head comparison against classical algorithms and commercial tools, the authors investigate whether RL truly represents a paradigm shift or if its performance has been overstated relative to simpler, established methods.

The MacroPlacement Framework

To evaluate the claims of the original RL study, the authors developed MacroPlacement, an open-source evaluation framework designed to replicate Google’s "Circuit Training" (CT) environment. The methodology focused on three pillars:

  1. Reverse Engineering: The researchers reimplemented critical "blackbox" components, including the force-directed placement used for standard cells and the proxy cost functions that serve as the RL agent's reward signal.
  2. Industrial Validation: Moving beyond internal proxy scores, the authors integrated a full commercial pipeline using Cadence Innovus and Genus. This allowed for the measurement of "ground truth" metrics—actual routed wirelength, power consumption, and timing—rather than relying on estimates.
  3. Ablation and Baselines: The study compared the RL agent against a variety of baselines, including a grid-based Simulated Annealing (SA) algorithm, state-of-the-art academic analytical placers (RePlAce, AutoDMP), and commercial placement tools.

Experimental Setup and Datasets

The assessment utilized a diverse range of benchmarks to ensure robustness:

  • Modern Designs: Ariane (RISC-V CPU), BlackParrot (Quad-Core), MemPool Group, and NVDLA. These were mapped to various process technologies, including open-source PDKs (SKY130HD, NanGate45, ASAP7) and a commercial GF12LP process.
  • Academic Benchmarks: The classic ICCAD04 Mixed-size Placement suite (ibm01–ibm18).
  • Synthetic Generation: To facilitate further research, the authors released "FakeStack" and "FakeRAM," tools designed to generate realistic, macro-heavy testcases for open-source PDKs.

Key Insights: The Gap Between Proxy and Reality

The Importance of Initial Conditions

A pivotal finding of this study is the role of the "initial hint." The researchers discovered that the RL agent’s performance is heavily dependent on receiving an initial placement generated by a commercial tool. When the agent starts from a "vacuous" or empty state, its performance degrades by 7–10%. This reliance on external tool data was not a primary focus of the original Nature publication but appears critical to the agent's success.

Proxy Cost Misalignment

The RL agent optimizes for a "proxy cost" (a weighted combination of wirelength and congestion). However, the study found that a high score in proxy cost does not consistently translate to a superior physical chip. In several instances, an RL agent achieved a better internal reward score than a baseline but resulted in a final design with inferior power, performance, and area (PPA) metrics once fully routed.

The Resilience of Classical Methods

Perhaps most surprisingly, a well-tuned Simulated Annealing (SA) algorithm—a technique decades older than modern RL—consistently matched or outperformed the RL approach. SA achieved lower proxy costs in 4 out of 6 modern testcases and in all 17 of the ICCAD04 academic benchmarks. Furthermore, SA demonstrated greater stability across different random seeds, whereas the RL training process exhibited high variance.

Performance Results

The quantitative results highlight a significant performance gap between the RL approach and modern analytical placers:

  • Wirelength: On the BlackParrot-GF12 design, the analytical placer AutoDMP produced a routed wirelength approximately 40% shorter than the RL-based CT.
  • Human vs. Machine: For large-scale, complex designs, human-expert solutions continued to outperform the RL agent across nearly all PPA metrics.
  • Efficiency: While the RL agent requires significant training time and computational resources, simpler baselines like SA and analytical placers often reached better solutions with far less overhead.

Conclusion and Future Directions

The findings suggest that while reinforcement learning is an innovative direction for EDA, the specific implementation popularized in recent years may not yet be the "silver bullet" for macro placement. The study concludes that RL's current limitations stem from reward functions that do not perfectly correlate with industrial metrics and a lack of transparency in the original experimental setups.

Moving forward, the authors advocate for a "papers with code" culture within the EDA community to ensure reproducibility. They suggest that future RL research should focus on developing more accurate proxy functions and exploring hybrid models that combine the global search capabilities of RL with the local optimization strengths of analytical placement methods like DREAMPlace.

Summary updated

BibTeX
@article{cheng2026assessment,
  author = {Chung-Kuan Cheng and Andrew B. Kahng and Sayak Kundu and Yucheng Wang and Zhiang Wang},
  title = {{Assessment of Reinforcement Learning for Macro Placement}},
  journal = {IEEE Trans. Comput. Aided Des. Integr. Circuits Syst.},
  year = {2026},
  doi = {10.1109/tcad.2025.3644293},
}
Figure