CORE: Collaborative Optimization with Reinforcement Learning and Evolutionary Algorithm for Floorplanning

Pengyi Li, Shixiong Kai, Jianye Hao, Ruizhe Zhong, Hongyao Tang, Zhentao Tang, Mingxuan Yuan, Junchi YanNeurIPS 2025

TL;DR

Chip floorplanning is a notoriously difficult, NP-hard problem that sets the stage for all subsequent chip design steps. This paper introduces CORE, a novel framework that combines the global search power of Evolutionary Algorithms (EAs) with the fine-grained, local decision-making of Reinforcement Learning (RL). By synergizing these two approaches, CORE achieves state-of-the-art results, slashing wirelength by nearly 13% compared to existing methods while maintaining highly compact chip layouts.

What Problem Does This Paper Address?

In Electronic Design Automation (EDA), floorplanning is the very first step of physical design. It involves determining the exact locations and shapes of functional modules on a silicon chip. If the floorplan is suboptimal, everything that follows—routing wires, managing power, and timing—will suffer.

The challenge is that floorplanning is an NP-hard problem with a staggeringly massive search space. Designers must pack modules tightly (maximizing Area Utilization) while keeping connected modules close together (minimizing wirelength).

  • Traditional methods like Simulated Annealing (SA) or analytical solvers often get trapped in "local optima" on large designs.
  • Pure Reinforcement Learning (RL) methods struggle with global exploration.
  • Macro placement algorithms (which have seen a lot of recent AI hype) don't work well here because floorplanning requires strictly compact, gap-free arrangements, whereas macro placement leaves gaps for standard cells.

The authors tackle this by asking: Can we combine the broad, exploratory nature of evolutionary algorithms with the targeted, learning-based precision of RL?

Methods

The authors propose CORE, an Evolutionary Reinforcement Learning (ERL) framework.

The CORE Framework

To ensure layouts are physically viable and compact, they use a B*-Tree representation—a data structure that encodes a floorplan as a binary tree, guaranteeing no overlapping modules.

B*-Tree Representation

CORE consists of two main engines working together:

  1. Clustering-based Diversified Evolutionary Search (CDES): This is the EA component. It maintains a "population" of different chip layouts. To prevent all layouts from looking the same (and getting stuck in a rut), CDES scores layouts based on a combination of quality (short wires) and novelty (how different they are from others). It then mutates the best ones to create the next generation.
  2. B*-Tree-based Reinforcement Learning: The RL agent (using the PPO algorithm) builds layouts step-by-step. It uses Graph Neural Networks (GNNs) and Transformers to "look" at the chip's connectivity (the netlist) and decides where to place the next module in the B*-Tree.

The Secret Sauce (Collaboration Mechanisms): The two systems don't just run side-by-side; they actively communicate:

  • Reinforcement-Driven: The RL agent takes its best completed layouts and injects them directly into the EA's population, speeding up the evolutionary process.
  • Evolutionary-Guided: The EA keeps an archive of its absolute best discoveries. If the EA finds a layout better than what the RL agent is currently producing, the RL agent uses imitation learning to copy the EA's successful traits, pulling the RL agent out of dead ends.

Datasets

The framework was evaluated on two widely used, standard floorplanning benchmarks:

  • MCNC benchmark: Specifically the ami33 and ami49 designs.
  • GSRC benchmark: Six designs ranging from 10 to 300 modules (n10 through n300). (Note: These benchmarks reflect the typical scale of industrial floorplanning, which usually involves fewer than 100-300 major blocks).

Key Insights and Ideas

  • Best of Both Worlds: EAs are fantastic at global search but slow to exploit local gradients. RL is great at local optimization but bad at global exploration. CORE proves that for complex combinatorial problems like chip design, they are highly complementary.
  • Diversity is a Feature, Not a Bug: By explicitly rewarding "novelty" in the evolutionary phase, CORE prevents premature convergence. If you only reward performance, the algorithm quickly narrows in on a single, often suboptimal, design family.
  • Floorplanning $\neq$ Macro Placement: The authors highlight a crucial distinction in EDA. Because floorplanning demands compact, gap-free packing, structural representations like B*-Trees are mandatory. Trendy AI macro placers fail at floorplanning because they operate in continuous grid spaces that don't enforce this compactness.

Key Results

  • Wirelength Reduction: CORE achieved an average 12.9% improvement in Half Perimeter Wire Length (HPWL) across all benchmarks compared to the best competing algorithms (including SA, analytical, and pure RL methods).
  • Scaling Success: The performance gap between CORE and baselines actually widened on larger, harder problems. For example, it achieved a massive 29.5% improvement on the complex ami49 case.
  • Area Utilization: Despite the massive reductions in wirelength, CORE maintained highly competitive area utilization (consistently between 90% and 94%).
  • Beating Macro Placers: When tested against state-of-the-art macro placement algorithms, CORE drastically outperformed them, proving that specialized floorplanning representations are necessary.

Limitations and Future Work

  • Computational Overhead: The primary limitation of CORE (and RL in general) is runtime. Running neural network forward passes for every step of the layout process is time-consuming compared to simple heuristic methods.
  • Future Work: To mitigate the slow runtime, the authors implemented a parallelized interaction framework that reduced RL data collection time significantly (e.g., dropping runtime on the n50 benchmark from 23.6 hours to 8.3 hours). They note that fully parallelizing the Evolutionary Algorithm sampling phase is highly feasible and remains a promising direction for future work to make the system even faster.

Summary updated

BibTeX
@inproceedings{li2025core,
  author = {Pengyi Li and Shixiong Kai and Jianye HAO and Ruizhe Zhong and Hongyao Tang and Zhentao Tang and Mingxuan Yuan and Junchi Yan},
  title = {{CORE: Collaborative Optimization with Reinforcement Learning and Evolutionary Algorithm for Floorplanning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=86IvZmY26S},
}
Figure