EGPlace: An Efficient Macro Placement Method via Evolutionary Search with Greedy Repositioning Guided Mutation

ji deng, Zhao Li, Ji Zhang, Jun GaoICML 2025

TL;DR

EGPlace is a high-performance evolutionary framework for macro placement that replaces inefficient random mutations with a "greedy repositioning-guided" strategy. By combining targeted module optimization with a new linear-time mask computation algorithm, it reduces wirelength by up to 10.8% while running up to 7.8× faster than current state-of-the-art hybrid and reinforcement learning methods.

What Problem Does This Paper Address?

In the world of Electronic Design Automation (EDA), macro placement is the high-stakes game of Tetris played by chip designers. It involves positioning large functional blocks (macros)—like memory or processors—on a silicon substrate. Because these macros dictate the "floorplan," their placement directly impacts wirelength (speed/power), congestion (routability), and physical overlap (manufacturability).

Current solutions generally fall into two camps:

  1. Constructive Methods: Often using Reinforcement Learning (RL), these build a layout from scratch. They are powerful but computationally expensive to train and can be "myopic," making early decisions without fully understanding future constraints.
  2. Adjustment-based Methods: These start with a layout and tweak it. While flexible, they often rely on stochastic (random) perturbations, which are incredibly inefficient in the massive search space of a modern chip.

Hybrid methods have tried to bridge this gap, but they struggle with "layout rebuilding" overhead and the computational bottleneck of calculating "masks"—grids used to evaluate where a module can legally fit.

Methods

The authors introduce EGPlace, which uses an evolutionary search backbone but swaps out standard genetic operators for something much smarter.

Overview of the EGPlace framework, highlighting the evolutionary search backbone and the greedy repositioning-guided mutation.

1. Greedy Repositioning-Guided Mutation

Instead of randomly swapping modules, EGPlace uses a two-phase mutation operator:

  • Selection: It calculates a "quality impact score" for every module based on its contribution to wirelength, congestion, and overlap. Modules with poor scores have a higher probability of being "ripped up."
  • Repositioning: Once removed, these modules are re-inserted using a greedy strategy. They are placed in the best available bin that minimizes wirelength and overlap, guided by the module's connectivity and size.

2. Efficient Mask Computation

To find the best spot for a module, the algorithm must calculate an "overlap mask" for the entire chip. Traditionally, this is a quadratic operation ($O(B^2)$ where $B$ is the number of bins). EGPlace introduces a clever algorithm that exploits the linearity of overlap along the x and y axes, reducing the complexity to linear time ($O(B)$) per module. This allows the evolutionary search to evaluate many more candidate layouts in a fraction of the time.

3. Unified Framework

Unlike previous methods that separate layout adjustment from reconstruction, EGPlace integrates them into a single mutation step. This eliminates the need for a complete layout overhaul after every small change.

Datasets

The authors evaluated EGPlace on several industry-standard benchmarks:

  • ISPD2005: A classic dataset featuring eight circuits (e.g., adaptec, bigblue) with varying sizes and complexities.
  • Ariane RISC-V CPU: A modern, real-world benchmark that is particularly challenging due to its high macro density (nearly 80% area coverage), making overlap elimination difficult.
  • ICCAD2015: Used for additional validation on more recent circuit designs.

Key Insights and Ideas

  • Guided Randomness is King: Purely random mutations in evolutionary algorithms waste too much time exploring "garbage" configurations. By biasing mutations toward fixing the "worst" parts of a layout, EGPlace achieves much higher sample efficiency.
  • Bottlenecks are Algorithmic, Not Just Hardware: The jump from $O(B^2)$ to $O(B)$ for mask computation isn't just a minor tweak; it’s the "aha moment" that makes population-based search viable for large-scale chip design.
  • Order Matters: The paper reinforces that placing larger, highly-connected modules first is crucial because they act as the "anchors" for the rest of the layout.

Key Results

EGPlace sets new records for both quality and efficiency:

Convergence curves on ISPD2005 benchmarks demonstrating EGPlace's superior optimization of Half-Perimeter Wire Length (HPWL) over iterations compared to baseline methods.
  • Wirelength Reduction: It achieved a 10.8% reduction in Half-Perimeter Wire Length (HPWL) compared to the hybrid WireMask-EA and a 9.3% reduction compared to the RL-based EfficientPlace.
  • Massive Speedups: EGPlace is 7.8× faster than WireMask-EA and 2.8× faster than EfficientPlace. On average, it completes 1,000 iterations in just 0.81 hours.
  • Superior Legality: On the dense Ariane benchmark, EGPlace achieved a significantly lower overlap rate (1.24%) compared to other methods (3.27%+), which often failed to produce a manufacturable (legal) layout.

Limitations and Future Work

While EGPlace is a leap forward, the authors note a few areas for improvement:

  • Mixed-Size Placement: The current focus is primarily on macros. While they show it can work with standard cell placers like DreamPlace, a more tightly integrated "mixed-size" approach is needed.
  • PPA Objectives: The framework currently optimizes for surrogate metrics (HPWL and RUDY). Future versions could integrate "learned masks" (like those in LaMPlace) to directly target final Power, Performance, and Area (PPA) goals.
  • 3D Integration: As the industry moves toward 3D chip stacking, extending this evolutionary approach to multi-layer placement is a promising next step.

Summary updated

BibTeX
@inproceedings{deng2025egplace,
  author = {ji deng and Zhao Li and Ji Zhang and Jun Gao},
  title = {{EGPlace: An Efficient Macro Placement Method via Evolutionary Search with Greedy Repositioning Guided Mutation}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=5rVcKWyvnt},
}
Figure