Escaping the Seed: Congestion-Space Repulsion for Macro Placement

Modern chips are increasingly limited by wiring rather than transistors. Wires compete for the flat surface of the die, and in advanced process nodes the lower metal layers are restricted to single-direction tracks, which makes local wiring jams worse (Toward Unidirectional Routing Closure in Advanced Technology Nodes). The most effective recent learning-based method for placing large memory and logic blocks ("macros") avoids starting from a blank die. It takes a layout from a fast gradient-based placer and lets a reinforcement-learning policy nudge the macros locally (Reinforcement Learning Policy as Macro Regulator Rather than Macro Placer). Because the policy only makes local moves, it inherits the starting layout's basic arrangement. If that arrangement puts the wiring jam in the wrong place, the policy cannot escape it. This is premature convergence: the search settles on a mediocre solution and stops exploring alternatives.

We propose to generate a small set of starting layouts that differ in where their wiring congestion lands, rather than in where their macros sit. Concretely, the gradient-based placer is run repeatedly. Each new run carries a repulsion term that pushes its predicted congestion map away from the maps of layouts already found. Each resulting layout is handed to the local-adjustment policy. A new starting layout is spawned only when that policy stalls. The claim is that, at equal compute, diversity measured in congestion space finds better routed layouts than random restarts or than diversity measured in macro coordinates. The claim fails if random seeds already produce varied congestion patterns, and we test that first.

Core Claim

Two layouts can differ in every macro coordinate and still send wires through the same bottleneck. Two others can differ by one swapped macro group and move the hotspot across the die. What matters for routing is the spatial pattern of wiring demand. We therefore define diversity between layouts as distance between their smoothed routing-demand maps. For each layout, this map is a coarse grid in which every net spreads its expected wiring over its bounding box. The gradient placer normally minimizes smoothed wirelength $W(x)$ plus a density penalty $D(x)$ over macro and cell positions $x$. For the $(k{+}1)$-th start we instead minimize

$$ W(x) + \gamma D(x) + \lambda \sum_{j=1}^{k} \exp\!\left(-\frac{\lVert M(x) - M_j \rVert^2}{2h^2}\right), $$

where $M(x)$ is the demand map of the current layout, $M_j$ are the maps of layouts already in the archive, $h$ is a kernel width, and $\lambda$ sets the repulsion strength. Because $M(x)$ is built from net bounding boxes, it is differentiable almost everywhere and fits the placer's existing gradient pipeline.

The repulsion form comes from Divergence-Guided Particle Swarm Optimization, which adds a Gaussian-gated push away from the swarm's best point. Our proposal moves that push from parameter space into an outcome space tied to the physics of routing. The idea of diversifying in a space other than raw inputs follows Exploiting Strategy-Space Diversity for Batch Bayesian Optimization. That paper diversifies over the predicted-quality versus uncertainty trade-off rather than over input distance. The rule of spawning a new start only when progress stalls is borrowed from the population-collapse mechanism in CALM.

Relation to Prior Work

Three lines of macro-placement work already fight local optima. Bayesian Optimization for Macro Placement is the closest precedent. It picks diverse batches of candidate layouts with a determinantal point process, a sampler that prefers mutually dissimilar items, under a kernel on macro positions. It optimizes wirelength only, on designs of at most 49 macros. We differ in three ways: our diversity kernel lives on congestion maps rather than positions, our objective is post-route quality, and our designs have hundreds of macros and millions of cells.

MaskRegulate supplies our local search engine and also motivates the proposal. Its local moves are what bind it to the starting basin. Our method does not change the regulator itself; it changes which basins the regulator sees.

Expertise Can Be Helpful for Reinforcement Learning-based Macro Placement (EXPlace) and Flexible Multiple-Objective Reinforcement Learning for Chip Placement (MOPPO) take different routes. EXPlace escapes proxy-driven traps with expert masks and timing-analysis feedback, at 15 to 30 hours per design. MOPPO trains a single policy conditioned on objective weights to span trade-offs. Neither keeps a set of structurally distinct layouts.

One of our motivating concerns is that EXPlace and MaskRegulate both hard-code a bias toward the die boundary. The scaling argument in TeraPool-SDR suggests such a bias can backfire when interconnect demand grows superlinearly. Congestion-space repulsion can reach center-heavy arrangements without any rule forbidding them.

Two papers constrain the design. The particle-swarm result shows that repulsion hurts on single-basin landscapes: that method lost to plain particle swarm on the Sphere function. This is why we gate repulsion on stagnation instead of applying it always. Variational Label-Correlation Enhancement for Congestion Prediction reports a grid-level Spearman correlation of only 0.644 on DAC 2012 for a learned predictor. Congestion predictions at grid resolution are therefore noisy. Our kernel uses deliberately coarse maps, and we measure how well distances between predicted maps track distances between routed maps.

Research Program

We will build the loop on top of DREAMPlace and MaskRegulate:

  1. The augmented placer produces a start.
  2. The regulator refines it until its congestion improvement over a window of moves falls below a threshold.
  3. The refined layout's demand map enters the archive.
  4. The next start is placed with repulsion from all archived maps.

The loop runs until a fixed wall-clock budget is spent. The best layout by a fast global-route estimate is then sent to full routing.

The analysis has three parts. First, we characterize how many distinct congestion modes plain random seeding produces. We will cluster demand maps from many DREAMPlace seeds per design. Second, we check whether distance in predicted maps matches distance in routed overflow maps. Third, we map when repulsion helps as a function of design difficulty, since some designs may be effectively single-basin.

Baselines

The naive reference is DREAMPlace alone followed by legalization and routing. It shows how much any macro refinement buys at all.

The strongest local method is MaskRegulate run from a single DREAMPlace seed. On superblue1 with Cadence Innovus, it reports a 73.08% reduction in horizontal congestion, a 38.81% reduction in vertical congestion, a 17.08% improvement in routed wirelength, and an 18.35% improvement in WNS (worst negative slack, the timing margin of the slowest path) relative to its analytical baseline. We will rerun it rather than copy those numbers, because our router may differ.

The strongest existing method overall is EXPlace. It reports a 32.53% improvement in TNS (total negative slack, the summed timing shortfall over all paths) and a 7.74% improvement in WNS across ICCAD 2015, with DRC violations "at or near zero." We will compare against its reported ICCAD 2015 figures. Where feasible, we will also give our loop the same wall-clock budget on a subset of designs.

The key competitor is multi-start MaskRegulate with independent random DREAMPlace seeds. It uses the same regulator checkpoint, the same number of starts, the same stagnation rule, and the same total GPU and router time. It differs from our method only in having no repulsion.

The ablation that isolates our key ingredient replaces the congestion-map kernel with a Gaussian kernel on macro centre coordinates. This is a direct transfer of the particle-swarm repulsion, and close in spirit to the position-kernel diversity of Oh et al. All other settings match.

We also include simulated annealing with adaptive reheating over the same starts. On ami49, Oh et al. report simulated annealing stalling at an HPWL (half-perimeter wirelength, the standard wiring-length proxy) of 1.51M, against about 1.17M for their Bayesian method.

Every variant receives the same hyperparameter search budget, tuned on designs held out from the reported ones. "Beating" the baselines means lower routed overflow and better TNS than equal-budget random multi-start on a majority of designs, with the paired difference exceeding seed-to-seed spread. It also means matching or beating the coordinate-kernel ablation, and no DRC regression.

Why not just…?

Why not just run DREAMPlace with many random seeds? This is the real threat, and the proposal is built around testing it. If random seeds already land in several distinct congestion modes, repulsion adds little. Our first experiment, clustering congestion maps across seeds, decides this before any method comparison. The equal-budget random multi-start baseline settles it at the end. There is a reason to expect collapse: an analytical placer minimizing the same smooth objective from different initial points tends to converge to similar global arrangements. That is exactly why MaskRegulate needed an RL stage at all. But we treat this as a hypothesis, not a fact.

Why not just use simulated annealing with reheating? Annealing does escape basins in principle, but it needs very many evaluations. The only head-to-head in our file, on ami49, has it stalling at 1.51M HPWL against about 1.17M for diversity-guided Bayesian search. At the hundreds-of-macros scale, with routing-aware scoring, the evaluation count becomes prohibitive. The annealing baseline above measures this directly under our budget.

Why not just reuse position-kernel diversity as in Bayesian macro placement? Coordinate diversity is cheaper and already demonstrated. Our argument is that it spends diversity on differences that do not move the congestion hotspot. The coordinate-kernel ablation tests exactly this. If it matches the congestion kernel, we will report that the benefit comes from structured multi-start, not from our choice of distance.

Why not just loosen the regulator's move range or remove the periphery bias? Larger moves let the policy travel further, but they reintroduce the sparse-reward, blank-canvas difficulty that MaskRegulate was designed to avoid. We will include a wide-move variant of the regulator as a secondary baseline, run at matched compute.

Proposed Experiments

Benchmarks and metrics. Main experiments use the ICCAD 2015 superblue designs, including superblue1, superblue10 and superblue18, with up to about 1.9 million cells and nearly 300 macros. ISPD 2005 serves as a secondary suite, and the OpenROAD-flow-scripts designs used by EXPlace allow open-tool reproduction. Routing and timing use OpenROAD, and Cadence Innovus where available to match MaskRegulate's reporting. We measure:

  • horizontal and vertical overflow;
  • routed wirelength;
  • WNS and TNS;
  • DRC count;
  • wall-clock time.

Diversity collapse. We place each design from fifty random seeds and cluster the resulting demand maps. We count distinct modes and report their routed-overflow spread.

Proxy validity. We compute the rank correlation between pairwise distances of predicted demand maps and of routed overflow maps.

Main comparison. We compare our loop against all baselines at matched budget. Each result is reported as a paired difference over at least five independent runs per design.

Single-basin cost. On designs where random seeds show a single mode, we verify that stagnation gating keeps our overhead within the extra starts and does not degrade the final result. This mirrors the unimodal failure seen for particle-swarm repulsion.

What the layouts look like. We count how often the best layout places memory macros away from the boundary. This tests whether congestion-space search reaches arrangements that the periphery bias of existing methods rules out.