TD3lite: FPGA Acceleration of Reinforcement Learning with Structural and Representation Optimizations
TD3lite: FPGA Acceleration of Reinforcement Learning with Structural and Representation Optimizations
复制标题
DOI:
10.1109/fpl57034.2022.00023
复制
发表时间:
2022-08
期刊:
影响因子:
--
通讯作者:
Chan-Wei Hu;Jiangkun Hu;S. Khatri
中科院分区:
文献类型:
--
作者:
Chan-Wei Hu;Jiangkun Hu;S. Khatri
Reinforcement learning (RL) is an effective and increasingly popular machine learning approach for optimization and decision-making. However, modern reinforcement learning techniques, such as deep Q-learning, often require neural network inference and training, and therefore are computationally expensive. For example, Twin-Delay Deep Deterministic Policy Gradient (TD3), a state-of-the-art RL technique, uses as many as 6 neural networks. In this work, we study the FPGA-based acceleration of TD3. To address the resource and computational overhead due to inference and training of the multiple neural networks of TD3, we propose TD3lite, an integrated approach consisting of a network sharing technique combined with bitwidth-optimized block floating-point arithmetic. TD3lite is evaluated on several robotic benchmarks with continuous state and action spaces. With only 5.7% learning performance degradation, TD3lite achieves 21 ×and 8 ×speedup compared to CPU and GPU implementations, respectively. Its energy efficiency is 26 ×of the GPU implementation. Moreover, it utilizes ~ 25 - 40% fewer FPGA resources compared to a conventional sinale-precision floating-point representation of TD3.