RL-Scope: Cross-Stack Profiling for Deep Reinforcement Learning Workloads
Not on the map. Why?
Abstract (arXiv)
Deep reinforcement learning (RL) has made groundbreaking advancements in robotics, data center management and other applications. Unfortunately, system-level bottlenecks in RL workloads are poorly understood; we observe fundamental structural differences in RL workloads that make them inherently less GPU-bound than supervised learning (SL). To explain where training time is spent in RL workloads, we propose RL-Scope, a cross-stack profiler that scopes low-level CPU/GPU resource usage to high-level algorithmic operations, and provides accurate insights by correcting for profiling overhead. Using RL-Scope, we survey RL workloads across its major dimensions including ML backend, RL algorithm, and simulator. For ML backends, we explain a 2.3× difference in runtime between equivalent PyTorch and TensorFlow algorithm implementations, and identify a bottleneck rooted in overly abstracted algorithm implementations. For RL algorithms and simulators, we show that on-policy algorithms are at least 3.5× more simulation-bound than off-policy algorithms. Finally, we profile a scale-up workload and demonstrate that GPU utilization metrics reported by commonly used tools dramatically inflate GPU usage, whereas RL-Scope reports true GPU-bound time. RL-Scope is an open-source tool available at https://github.com/UofT-EcoSystem/rlscope .
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 12 of its 29 references that are in the map. First posted on arXiv 8 Feb 2021.
Builds on
12 of 29 references.
References · 12
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2017CARLA: An Open Urban Driving Simulatorcited by 2,431
- 2016OpenAI Gymcited by 1,684
- 2017Ray: A Distributed Framework for Emerging AI Applicationscited by 516
- 2016Benchmarking Deep Reinforcement Learning for Continuous Controlcited by 361
- 2016Sample Efficient Actor-Critic with Experience Replaycited by 185
- 2019MLPerf Training Benchmarkcited by 114
- 2019Benchmarking Batch Deep Reinforcement Learning Algorithmscited by 108
- 2017Device Placement Optimization with Reinforcement Learningcited by 84
- 2015Massively Parallel Methods for Deep Reinforcement Learningcited by 80
- 2019XSP: Across-Stack Profiling and Analysis of Machine Learning Models on GPUscited by 4
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 1; 2024: 1; 2025: 1.
5 papers.
- 2023The Framework Tax: Disparities Between Inference Efficiency in NLP Research and Deploymentcited by 11
- 2021Generating GPU Compiler Heuristics using Reinforcement Learningcited by 3
- 2022Optimizing Data Collection in Deep Reinforcement Learningcited by 0
- 2024DeepContext: A Context-aware, Cross-platform, and Cross-framework Tool for Performance Profiling and Analysis of Deep Learning Workloadscited by 0
- 2025Detecting Anomalies in Machine Learning Infrastructure via Hardware Telemetrycited by 0
- 2025Detecting Anomalies in Machine Learning Infrastructure via Hardware Telemetry29 Oct 2025
- 2024DeepContext: A Context-aware, Cross-platform, and Cross-framework Tool for Performance Profiling and Analysis of Deep Learning Workloads5 Nov 2024
- 2023The Framework Tax: Disparities Between Inference Efficiency in NLP Research and Deployment13 Feb 2023
- 2022Optimizing Data Collection in Deep Reinforcement Learning15 Jul 2022
- 2021Generating GPU Compiler Heuristics using Reinforcement Learning23 Nov 2021