Enhancing Reinforcement Learning for the Floorplanning of Analog ICs with Beam Search

Sandro Junior Della Rovere, Davide Basso, Luca Bortolussi, Mirjana S. Videnovic-Misic, Husni Habal

Introduction

The physical layout design, or floorplanning, of analog integrated circuits (ICs) remains one of the most challenging aspects of semiconductor design. Unlike digital IC design, which benefits from high levels of automation, analog floorplanning is often considered a "black art" due to the intricate balance required between device physics, parasitic effects, and strict topological constraints. While Reinforcement Learning (RL) has emerged as a potential solution for automating this process, standard RL agents frequently encounter hurdles regarding generalization to unseen designs and the high computational cost of fine-tuning.

This paper presents a hybrid approach, BS-RL, which integrates a Beam Search (BS) strategy into the RL inference process. By transforming the agent's decision-making from a greedy sequence into a structured tree search, the proposed method achieves significant performance gains in area and wire length without the need for retraining or expensive GPU resources.

The Challenges of Analog Floorplanning

Traditional RL agents for floorplanning typically follow a greedy policy during deployment, selecting the single best action at each step. This approach has two primary drawbacks:

  1. Generalization Gaps: Agents trained on specific circuit topologies often struggle when presented with novel designs, leading to sub-optimal placements.
  2. Optimization Rigidity: Achieving peak performance usually necessitates "fine-tuning"—a process where the policy is retrained for a specific design. This is computationally expensive and slows down the design cycle.

The goal of BS-RL is to provide a "plug-and-play" enhancement that boosts performance during the inference phase, making RL-based automation more flexible and industrially viable.

Methodology: The BS-RL Framework

The core innovation of this research is the wrapping of a Beam Search algorithm around the RL agent’s existing decision-making framework.

Search Tree Inference

Instead of committing to a single placement path, BS-RL constructs a search tree. At each step of the floorplanning process, the system explores multiple possible sequences of component placements simultaneously. This allows the agent to recover from early sub-optimal decisions that a greedy approach would be locked into.

Beam Search Pruning

To manage the computational complexity and prevent the search tree from expanding exponentially, the algorithm employs Beam Search pruning. It maintains only the top $\beta$ (beam width) most promising branches at each level. The "promise" of a branch is determined by a value function that predicts the eventual quality of the floorplan.

Multi-Objective Optimization and Routability

The framework introduces a customizable objective function, allowing designers to weight the importance of total area versus Half-Perimeter Wire Length (HPWL) using parameters $\alpha$ and $\delta$. Furthermore, to ensure the resulting floorplans are actually manufacturable, the system integrates the Routing Demand Estimator (RUDY). By estimating congestion during the search process, the agent can re-sample actions to prioritize "routing-friendly" layouts.

Experimental Evaluation

The BS-RL method was evaluated using real-world analog circuit designs from Infineon Commercial Technology (130nm). The test suite included:

  • Operational Transconductance Amplifiers (OTA-1 & OTA-2)
  • Biasing Circuits (Bias-1 & Bias-2)
  • RS Latch
  • High-power Driver circuits

Crucially, the agent was tested on circuits it had not encountered during its training phase to rigorously assess its generalization capabilities.

Results and Impact

The BS-RL approach was benchmarked against standard Simulated Annealing (SA), a baseline RL agent, and a fine-tuned RL agent (RL-FT). The results demonstrate that inference-time search is a powerful alternative to model retraining.

  • Efficiency Gains: Compared to the baseline RL agent, BS-RL achieved an average improvement of 4.97% in Dead Space, 16.05% in Wire Length (HPWL), and a significant 52.09% reduction in Congestion (RUDY).
  • Computational Efficiency: Because BS-RL optimizes during inference without requiring backpropagation or policy updates, it runs efficiently on standard CPUs. This democratizes high-performance floorplanning for engineers without access to massive GPU clusters.
  • Performance Parity: In several benchmarks, the CPU-based BS-RL matched or even outperformed the GPU-intensive RL-FT agent, proving that smarter navigation of the state space can be as effective as further training.
  • Consistency: The method showed a lower Inter-Quartile Range (IQR) in results, indicating higher stability and reliability compared to traditional metaheuristics.

Conclusion and Future Work

BS-RL demonstrates that significant improvements in analog IC floorplanning can be achieved by enhancing how RL agents explore their predicted state space during deployment. By shifting the focus from "better training" to "smarter inference," the researchers have provided a scalable, CPU-friendly tool for industrial design.

Future research will focus on scaling the search tree for extremely large-scale circuits and integrating post-layout verification (LVS/DRC) directly into the optimization loop to ensure designs are fully tape-out ready.

Summary updated

BibTeX
@inproceedings{rovere2025enhancing,
  author = {Sandro Junior Della Rovere and Davide Basso and Luca Bortolussi and Mirjana S. Videnovic-Misic and Husni Habal},
  title = {{Enhancing Reinforcement Learning for the Floorplanning of Analog ICs with Beam Search}},
  booktitle = {SMACD},
  year = {2025},
}
Figure