Lune

RTSS2023顶会

R3\mathrm{R}^{3}: On-Device Real-Time Deep Reinforcement Learning for Autonomous Robotics

Zexin Li, Aritra Samanta, Yufei Li, Andrea Soltoggio, Hyoseung Kim, Cong Liu

摘要

Autonomous robotic systems, like autonomous vehicles and robotic search and rescue, require efficient on-device training for continuous adaptation of Deep Reinforcement Learning (DRL) models in dynamic environments. This research is fundamentally motivated by the need to understand and address the challenges of on-device real-time DRL, which involves balancing timing and algorithm performance under memory constraints, as exposed through our extensive empirical studies. This intricate balance requires co-optimizing two pivotal parameters of DRL training -batch size and replay buffer size. Configuring these parameters significantly affects timing and algorithm performance, while both (unfortunately) require substantial memory allocation to achieve near-optimal performance. This paper presents R 3 , a holistic solution for managing timing, memory, and algorithm performance in on-device real-time DRL training. R 3 employs (i) a deadline-driven feedback loop with dynamic batch sizing for optimizing timing, (ii) efficient memory management to reduce memory footprint and allow larger replay buffer sizes, and (iii) a runtime coordinator guided by heuristic analysis and a runtime profiler for dynamically adjusting memory resource reservations. These components collaboratively tackle the trade-offs in on-device DRL training, improving timing and algorithm performance while minimizing the risk of out-ofmemory (OOM) errors.

We implemented and evaluated R 3 extensively across various DRL frameworks and benchmarks on three hardware platforms commonly adopted by autonomous robotic systems. Additionally, we integrate R 3 with a popular realistic autonomous car simulator to demonstrate its real-world applicability. Evaluation results show that R 3 achieves efficacy across diverse platforms, ensuring consistent latency performance and timing predictability with minimal overhead. Moreover, R 3 showcases versatility by handling varied optimization goals and adapting to fluctuating systems scenarios.

1 "Algorithm performance" in DRL is akin to "accuracy" in DNNs. In DNNs, accuracy gauges the correct prediction rate. However, in DRL, performance is more multifaceted, primarily involving the agent's capability to optimize cumulative reward over time, balancing exploration and exploitation. While accuracy can be relevant in some tasks, DRL performance typically entails a broader, more complex set of considerations.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • A ROS 2 Response-Time Analysis Exploiting Starvation Freedom and Execution-Time Variance 引用了 Response Time Analysis and Priority Assignment of Processing Chains on ROS2 Executors
  • End-To-End Timing Analysis in ROS2 引用了 Response Time Analysis and Priority Assignment of Processing Chains on ROS2 Executors
  • End-To-End Timing Analysis in ROS2 引用了 A ROS 2 Response-Time Analysis Exploiting Starvation Freedom and Execution-Time Variance
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper24

  1. Revisiting Fundamentals of Experience ReplayWilliam Fedus, Prajit Ramachandran, Rishabh Agarwal, Yoshua Bengio 等ICML 2020 · 303 次引用
  2. Response Time Analysis and Priority Assignment of Processing Chains on ROS2 ExecutorsYue Tang, Zhiwei Feng, Nan Guan, Xu Jiang 等RTSS 2020 · 81 次引用
  3. LaLaRAND: Flexible Layer-by-Layer CPU/GPU Scheduling for Real-Time DNN TasksWoosung Kang, Kilho Lee, Jinkyu Lee, Insik Shin 等RTSS 2021 · 68 次引用
  4. A ROS 2 Response-Time Analysis Exploiting Starvation Freedom and Execution-Time VarianceTobias Blaß, Daniel Casini, Sergey Bozhko, Björn B. BrandenburgRTSS 2021 · 64 次引用
  5. End-To-End Timing Analysis in ROS2Harun Teper, Mario Günzel, Niklas Ueter, Georg von der Brüggen 等RTSS 2022 · 56 次引用

相关 Paper

  1. DuoJoule: Accurate On-Device Deep Reinforcement Learning for Energy and TimelinessSoheil Shirvani, Aritra Samanta, Zexin Li, Cong LiuRTSS 2024 · 2 次引用
  2. A3C-S: Automated Agent Accelerator Co-Search towards Efficient Deep Reinforcement LearningYonggan Fu, Yongan Zhang, Chaojian Li, Zhongzhi Yu 等DAC 2021 · 4 次引用
  3. Adjustable Robust Reinforcement Learning for Online 3D Bin PackingYuxin Pan, Yize Chen, Fangzhen LinNeurIPS 2023 · 23 次引用
  4. Sample-Efficient Automated Deep Reinforcement LearningJörg K. H. Franke, Gregor Köhler, André Biedenkapp, Frank HutterICLR 2021 · 49 次引用
  5. Simple Augmentation Goes a Long Way: ADRL for DNN QuantizationLin Ning, Guoyang Chen, Weifeng Zhang, Xipeng ShenICLR 2021 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖