TL;DR
Designing a computer chip requires placing massive functional blocks on a tiny silicon canvas long before you can actually test if the wiring will jam up later. Because reinforcement learning (RL) agents must rely on fast, imperfect guesswork during this early stage, optimizing for a single "best" layout often leads to disappointing real-world chips. DiversePlace solves this by training an RL agent via a step-by-step curriculum to generate a compact portfolio of meaningfully different, high-quality chip layouts—dramatically increasing the odds that at least one candidate will shine when real-world physics take over.
What Problem Does This Paper Address?
Imagine planning a metropolis where you have to lock in the locations of every stadium, airport, and hospital before laying a single road or checking traffic patterns. That is macro placement in chip design. "Macros" are large, rigid circuit blocks (like memory banks) placed early in the physical design flow, strongly constraining where millions of tiny standard logic cells and wires can go later.
Because running full wire-routing and timing simulations takes hours or days, RL agents can't afford to wait for true feedback during training. Instead, they optimize a fast geometric proxy called Half-Perimeter Wirelength (HPWL)—essentially drawing a bounding box around connected pins and summing the widths and heights to estimate total wire length.
Here is the catch: HPWL is an imperfect oracle. A layout with minimum HPWL might pack blocks in a way that causes catastrophic wiring traffic jams (congestion) or timing failures downstream. Standard RL algorithms relentlessly chase the highest proxy score, collapsing onto a single layout style. If that single layout fails during actual routing, you have no backup plan. Meanwhile, simply asking an RL agent to "be creative" across hundreds of sequential macro placements makes credit assignment nearly impossible and produces chaotic, unusable chips.
Methods
While using Proximal Policy Optimization (PPO) to sequentially place macros on a grid is standard, DiversePlace introduces two tightly coupled innovations to find diverse layouts without sacrificing quality or learnability:
- Quality-Gated Diversity Reward: Instead of rewarding blind novelty, DiversePlace uses a two-phase loop. First, a warmup phase optimizes purely for HPWL to establish a strong local baseline. Next, a diversity phase opens a "quality gate": a new layout only earns a diversity bonus if its HPWL falls within a tight tolerance $(1 + \epsilon_q)$ of the best warmup score. Qualifying layouts are measured by how far their macros moved relative to the nearest reference layout (weighted by macro area, since big blocks shape the chip most) and stored in a 2D Quality-Diversity (QD) map that rewards discovering new movement patterns.
- Expanding Horizon Curriculum: Placing all macros from scratch is a brutal long-horizon problem. DiversePlace starts by letting PPO place only a small subset of the largest, most connected macros, while a fast greedy heuristic finishes the rest of the chip so full HPWL can still be evaluated. As training progresses, the PPO-controlled window gradually expands. To keep early, foundational decisions stable across stages without locking the agent into one rut, a prefix bridge transfers only the first few macro coordinates (e.g., two macros) from top previous layouts into the next curriculum stage.
Datasets
- ISPD2005 Benchmark Suite: Used for primary training and evaluation across eight standard industrial circuit designs (
adaptec1–4andbigblue1–4). ariane133: An additional RISC-V design (detailed in the appendix) used to test full end-to-end placement and post-route timing/wirelength performance. No new datasets were introduced.
Key Insights and Ideas
- Goodhart’s Law hits silicon: As the agent drives HPWL lower and lower, downstream routing congestion (measured by a wire-density metric called RUDY) bounces around non-monotonically. Optimizing harder on the proxy actively discards slightly higher-HPWL layouts that would route much cleaner.
- Division of labor between Curriculum and Diversity: Ablation studies reveal a clean separation of duties. Diversity rewards alone explore wildly but fail to find great HPWL basins; curriculum learning alone finds great HPWL basins quickly, but yields repetitive archives. Combining them makes the search tractable and broad.
- Tiny anchors go a long way: Completely removing the "prefix bridge" between curriculum stages yields the worst late-stage HPWL. Anchoring just two early macros acts as a vital structural prior that stabilizes the rest of the learning process.
Key Results
Evaluated across five random seeds against classical simulated annealing and five RL baselines (including SOTA placer EfficientPlace):
- Better & Faster Proxy Quality: At 10K episodes, DiversePlace achieves the best (lowest) HPWL on 7 out of 8 ISPD2005 benchmarks (and ties within 0.01 on the eighth,
bigblue1). Thanks to shorter early curriculum horizons, it reaches better quality faster—using 0.73× the wall-clock runtime at 1K episodes and 0.81× at 2K episodes compared to EfficientPlace. - Vastly Higher Archive Diversity: Across every single benchmark and archive size (top-5, top-10, top-20), DiversePlace achieves higher geometric diversity. When looking strictly at PPO-controlled macros ($D_k^{\text{PPO}}$), EfficientPlace often collapses to near-identical placements (e.g.,
0.01diversity onadaptec1), whereas DiversePlace maintains rich variation (1.87). - Downstream Payoff: When top-ranked archives are passed to standard-cell placement (DREAMPlace) and full routing (
ariane133), DiversePlace's diverse candidate pool consistently yields better congestion profiles and post-route timing–wirelength outcomes.
Limitations and Future Work
DiversePlace still relies entirely on an HPWL-anchored quality gate during online RL training, because querying true routing or timing tools at every rollout remains computationally prohibitive. While maintaining a diverse archive acts as an effective buffer against this blind spot, the authors note that a natural next step is integrating richer, fast downstream surrogates (like congestion or timing estimators) directly into the quality gate when they can be computed at comparable speed.
Summary updated