Abstract
Modern microchip design involves a complex combinatorial challenge known as macro placement—positioning large memory blocks on a silicon canvas. Traditional methods like Simulated Annealing (SA) and Reinforcement Learning (RL) are often computationally expensive or require massive amounts of data. This paper presents a sample-efficient approach using Bayesian Optimization (BO) to automate macro placement. By optimizing over "sequence pairs" and utilizing a specialized Gaussian Process surrogate model, the authors demonstrate that BO consistently outperforms traditional heuristics, achieving superior chip layouts with significantly fewer evaluations.
Introduction
Designing a microchip is akin to a high-stakes game of "Tetris" where the pieces are memory blocks (macros) and logic gates. Evaluating a single arrangement can take days of compute time, making the search for an optimal layout a bottleneck in the design cycle. The goal is to minimize metrics like Half-Perimeter Wire Length (HPWL), which serves as a proxy for power, performance, and area (PPA).
While Simulated Annealing (SA) has been the industry standard for decades, it relies heavily on random shuffling and heuristics. Recent shifts toward Reinforcement Learning (RL) show promise but suffer from extreme "sample hunger," requiring thousands of trials to converge. This research addresses the need for a sample-efficient optimization method that can navigate the vast, discrete search space of chip design with minimal attempts.
Methodology
The proposed framework treats macro placement as a black-box optimization problem solved via Bayesian Optimization. The core innovation lies in how the design space is represented and explored.
Sequence Pairs (SPs)
Instead of optimizing raw coordinates, which often lead to invalid overlapping layouts, the researchers use Sequence Pairs. An SP consists of two permutations that describe the relative topology of macros (e.g., whether Macro A is to the left or above Macro B). This mathematical representation ensures that every point in the search space corresponds to a valid, non-overlapping layout.
The Surrogate Model and Acquisition
A Gaussian Process (GP) acts as the surrogate model, building a probabilistic "map" of the design space. To handle the discrete nature of SPs, the authors developed a specialized Position Kernel that measures similarity between arrangements based on macro permutations and physical dimensions.
To accelerate the process, the system employs Batch Acquisition. Rather than evaluating one layout at a time, it selects a diverse batch using Determinantal Point Processes (DPPs). This prevents the algorithm from wasting resources on redundant, similar layouts and allows for parallel evaluation of the objective function.
Experimental Results
The method was evaluated on the MCNC benchmark suite, ranging from simple designs like apte (9 macros) to complex ones like ami49 (49 macros). The primary metric was HPWL, where lower values indicate a more efficient design.
Sample Efficiency and Performance
In every test case, BO demonstrated superior sample efficiency compared to SA. For the ami49 benchmark—the largest in the set—BO achieved an HPWL of approximately 1.17M, significantly outperforming the SA baseline of 1.51M.
As shown in the performance plots, the gap between BO and traditional methods widens as the complexity of the design increases. BO's ability to maintain a "mental map" of the objective function allows it to use uncertainty to decide exactly where to sample next, whereas SA's more stochastic nature leads to slower convergence in high-dimensional spaces.
Conclusion
This research highlights Bayesian Optimization as a powerful tool for Electronic Design Automation (EDA). By leveraging sequence pairs and a geometry-aware surrogate model, BO finds high-quality macro placements with a fraction of the evaluations required by traditional methods.
Future work aims to move beyond proxy objectives like HPWL to more complex real-world constraints, such as congestion and power density. Additionally, the authors are exploring "Transfer BO," which would allow the model to use data from previous chip designs to accelerate the optimization of new architectures, further pushing the boundaries of automated silicon design.
Summary updated