CPU-GPU システムにおける分散強化学習のアーキテクチャ的含意
The Architectural Implications of Distributed Reinforcement Learning on CPU-GPU Systems
The Architectural Implications of Distributed Reinforcement Learning on CPU-GPU Systems
@misc{inci2020the,
title = {The Architectural Implications of Distributed Reinforcement Learning on CPU-GPU Systems},
author = {Ahmet Inci and Evgeny Bolotin and Yaosheng Fu and Gal Dalal and Shie Mannor and David Nellans and Diana Marculescu},
year = {2020},
eprint = {2012.04210},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/2012.04210}
}
Inci, A., Bolotin, E., Fu, Y., Dalal, G., Mannor, S., Nellans, D., & Marculescu, D. (2020). The Architectural Implications of Distributed Reinforcement Learning on CPU-GPU Systems [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2012.04210
INCI A, BOLOTIN E, FU Y, et al. The Architectural Implications of Distributed Reinforcement Learning on CPU-GPU Systems[EB/OL]. (2020-12-08)[2026-11-30]. https://arxiv.org/abs/2012.04210.
要旨
深層強化学習(RL)手法がゲーム、ロボット、シミュレーション環境において人間の能力を超えた結果を達成している現在、複雑な現実世界の課題を解決するために RL のトレーニングを継続的にスケールさせることは不可欠である。しかし、CPU-GPU システムのアーキテクチャ的帰結を理解することを通じて RL トレーニングのパフォーマンススケーラビリティと電力効率を向上させることは、まだ解決されていない課題である。本稿では、GPU マクロアーキテクチャの視点にのみ依存せず、包括的なシステムレベルの分析アプローチを採用することで、分散型 RL トレーニングにおけるパフォーマンスと電力効率を調査し、改善する。最先端の分散型 RL トレーニングフレームワークにおける全体ハードウェア利用率を定量化し、GPU マクロアーキテクチャ的、アルゴリズム的、システムレベルの設計選択によって引き起こされるボトルネックを実証的に特定する。我々は、GPU マクロアーキテクチャ自体が最先端の RL フレームワークに対して十分にバランスが取れていることを示すが、さらに調査を行うと、環境相互作用を実行するアクター(actor)の数と、それらに割り当てられるハードウェアリソースの量が、パフォーマンスと電力効率の主要な制限要因であることを明らかにする。この目的のために、我々は新しいシステム設計指標である CPU/GPU 比を導入し、スケーラブルかつ効率的な RL トレーニング用の CPU-GPU システムを設計する際に、CPU と GPU リソース間の最適なバランスを見つける方法を示す。
With deep reinforcement learning (RL) methods achieving results that exceed human capabilities in games, robotics, and simulated environments, continued scaling of RL training is crucial to its deployment in solving complex real-world problems. However, improving the performance scalability and power efficiency of RL training through understanding the architectural implications of CPU-GPU systems remains an open problem. In this work we investigate and improve the performance and power efficiency of distributed RL training on CPU-GPU systems by approaching the problem not solely from the GPU microarchitecture perspective but following a holistic system-level analysis approach. We quantify the overall hardware utilization on a state-of-the-art distributed RL training framework and empirically identify the bottlenecks caused by GPU microarchitectural, algorithmic, and system-level design choices. We show that the GPU microarchitecture itself is well-balanced for state-of-the-art RL frameworks, but further investigation reveals that the number of actors running the environment interactions and the amount of hardware resources available to them are the primary performance and power efficiency limiters. To this end, we introduce a new system design metric, CPU/GPU ratio, and show how to find the optimal balance between CPU and GPU resources when designing scalable and efficient CPU-GPU systems for RL training.