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 배포를 위해서는 RL 훈련의 지속적인 확장 (scaling) 이 필수적이다. 그러나 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.