GPlaceRL: An Open-Source Graph Reinforcement Learning Framework for Detailed Placement
Organizations: Department of Electrical and Computer Engineering, University of Thessaly, Volos, Greece · School of Computing Science, University of Glasgow, UK · Department of Electronic and Electrical Engineering, Trinity College Dublin, Ireland
Abstract
Reinforcement learning (RL) has emerged as a promising approach for placement optimization, particularly when combined with graph neural networks (GNNs) that capture circuit connectivity. However, most learning-based placement approaches focus on floorplanning, macro placement, or global placement, while detailed placement refinement remains relatively unexplored. In this paper, we present GPlaceRL, an open-source graph reinforcement learning framework for detailed placement refinement. GPlaceRL represents legalized placements as graphs and provides a modular environment for studying graph encoders, policy architectures, reward formulations, and local placement actions. To demonstrate the capabilities of GPlaceRL, we conduct a systematic evaluation of proximal policy optimization (PPO) policies with graph attention network (GAT) encoders in a per-design optimization setting. Across five placement benchmarks, the best greedy evaluation results achieve HPWL improvements ranging from to . The results highlight the importance of compact GAT architectures and flexible local action spaces for placement optimization. Overall, GPlaceRL provides a reproducible and extensible framework for systematic research on RL-based detailed placement refinement.
Figures & tables
| Design | Core size | Cells | Nets | IOs | Initial HPWL |
| B1 | 85 | 1494 | 26 | 1006 | |
| B2 | 437 | 12128 | 55 | 13028 | |
| B3 | 2976 | 135314 | 632 | 206641 | |
| B4 | 6848 | 372952 | 332 | 723181 | |
| B5 | 19463 | 1010888 | 674 | 3469054 |
| Design | Action space | Best eval (%) | Best config | Best episode |
| B1 | Move only | 28.26 | L2-H4 | 1400 |
| B1 | Swap only | 23.10 | L2-H4 | 60 |
| B1 | Swap + Move | 32.87 | L2-H4 | 1360 |
| B2 | Move only | 12.65 | L2-H8 | 1380 |
| B2 | Swap only | 8.86 | L4-H8 | 70 |
| B2 | Swap + Move | 13.35 | L2-H8 | 1280 |