Abstract
High Bandwidth Memory (HBM) systems face significant signal integrity challenges due to simultaneous switching noise (SSN) as data rates scale. Optimizing the placement of decoupling capacitors (decaps) is a critical but complex combinatorial problem. This paper proposes a Transformer-based Reinforcement Learning (RL) framework that automates decap placement. By utilizing Multi-Head Attention to capture spatial relationships between probing ports and decap sites, the model generalizes across different layouts. Results show that the proposed method outperforms traditional Genetic Algorithms (GA) in both impedance reduction and computational efficiency, achieving a massive speedup in optimization time.
Introduction
In modern HBM modules, thousands of I/Os operating at high frequencies generate substantial SSN, leading to voltage fluctuations, timing jitter, and data errors. Decaps are employed to lower the Power Distribution Network (PDN) impedance and suppress this noise. However, determining the optimal locations for these capacitors is a "needle in a haystack" problem due to the high dimensionality of the search space and the interdependency of capacitor effects.
Traditional optimization methods, such as Genetic Algorithms (GA), are computationally expensive and lack reusability; a minor change in the chip layout often requires restarting the entire optimization process from scratch. This research addresses these limitations by introducing a reusable and scalable RL agent powered by a Transformer network.
Transformer-based RL Framework
The core of the proposed solution is an Encoder-Decoder Transformer network integrated into the REINFORCE algorithm. The network treats decap placement as a sequential decision-making process.
The "State" input consists of the (x, y, z) coordinates of probing ports and potential decap sites. The Transformer's Multi-Head Attention (MHA) mechanism captures the spatial relationships between these nodes, learning that decaps placed near high-noise ports provide the most benefit. The decoder then generates a sequence of decap assignments, utilizing the "memory" of previous placements to account for the combinatorial nature of the PDN.
Experimental Methodology
The researchers developed a physics-based synthetic data generator using cascaded Z-matrices to represent the hierarchical HBM PDN (on-chip, interposer, and package). The training set included 1,000 cases with randomized port and decap candidate locations to ensure the model learned general heuristics rather than specific layout patterns. The reward function was designed to minimize both self-impedance (local noise) and transfer-impedance (noise coupling between ports).
Key Results and Insights
The Transformer-RL approach demonstrated superior performance compared to Genetic Algorithms and Random Search. One of the most significant findings was the model's scalability: an agent trained on smaller proxy problems (e.g., 100 spots) could be effectively applied to larger, real-world designs (e.g., 300 spots) without retraining.
As shown in the results, the agent naturally learns to cluster decaps around probing ports and critical coupling paths. Quantitatively, for a 300-position problem, the Transformer-RL found an optimal solution in approximately 2 minutes and 16 seconds, whereas a GA required over 38 hours to reach a comparable result. This represents a massive reduction in design cycle time. Furthermore, the inclusion of transfer impedance in the reward function allowed the model to suppress noise leakage across dense I/O arrays more effectively than previous RL attempts.
Conclusion and Future Work
This study proves that Transformer-based RL is a powerful tool for automating complex hardware design tasks. The model's ability to generalize and scale offers a significant advantage over traditional "one-off" optimization tools. Future research will focus on expanding the model's robustness to varying PDN geometries and integrating real-world layout constraints, such as keep-out zones, into the state space to further bridge the gap between simulation and production environments.
Paper Citation: Hyunwook Park et al., "Transformer Network-based Reinforcement Learning Method for Power Distribution Network (PDN) Optimization of High Bandwidth Memory (HBM)," IEEE Transactions on Microwave Theory and Techniques (TMTT).
Summary updated