An energy efficient EdgeAI autoencoder accelerator for reinforcement learning

被引:9
作者
Manjunath N.K. [1 ]
Shiri A. [1 ]
Hosseini M. [1 ]
Prakash B. [1 ]
Waytowich N.R. [2 ]
Mohsenin T. [1 ]
机构
[1] Department of Computer Science and Electrical Engineering, University of Maryland, Baltimore, 21250, MD
[2] U.S. Army Research Laboratory, Aberdeen, MD
来源
IEEE Open Journal of Circuits and Systems | 2021年 / 2卷
关键词
ASIC; autoencoder; autonomous systems; binary neural networks (BNNs); EdgeAI; energy efficiency; FPGA; Reinforcement learning; ternary neural networks (TNNs);
D O I
10.1109/OJCAS.2020.3043737
中图分类号
学科分类号
摘要
In EdgeAI embedded devices that exploit reinforcement learning (RL), it is essential to reduce the number of actions taken by the agent in the real world and minimize the compute-intensive policies learning process. Convolutional autoencoders (AEs) has demonstrated great improvement for speeding up the policy learning time when attached to the RL agent, by compressing the high dimensional input data into a small latent representation for feeding the RL agent. Despite reducing the policy learning time, AE adds a significant computational and memory complexity to the model which contributes to the increase in the total computation and the model size. In this article, we propose a model for speeding up the policy learning process of RL agent with the use of AE neural networks, which engages binary and ternary precision to address the high complexity overhead without deteriorating the policy that an RL agent learns. Binary Neural Networks (BNNs) and Ternary Neural Networks (TNNs) compress weights into 1 and 2 bits representations, which result in significant compression of the model size and memory as well as simplifying multiply-accumulate (MAC) operations. We evaluate the performance of our model in three RL environments including DonkeyCar, Miniworld sidewalk, and Miniworld Object Pickup, which emulate various real-world applications with different levels of complexity. With proper hyperparameter optimization and architecture exploration, TNN models achieve near the same average reward, Peak Signal to Noise Ratio (PSNR) and Mean Squared Error (MSE) performance as the full-precision model while reducing the model size by 10 × compared to full-precision and 3 × compared to BNNs. However, in BNN models the average reward drops up to 12% - 25% compared to the full-precision even after increasing its model size by 4 ×. We designed and implemented a scalable hardware accelerator which is configurable in terms of the number of processing elements (PEs) and memory data width to achieve the best power, performance, and energy efficiency trade-off for EdgeAI embedded devices. The proposed hardware implemented on Artix-7 FPGA dissipates 250 μJ energy while meeting 30 frames per second (FPS) throughput requirements. The hardware is configurable to reach an efficiency of over 1 TOP/J on FPGA implementation. The proposed hardware accelerator is synthesized and placed-and-routed in 14 nm FinFET ASIC technology which brings down the power dissipation to 3.9 μJ and maximum throughput of 1,250 FPS. Compared to the state of the art TNN implementations on the same target platform, our hardware is 5 × and 4.4 × (2.2 × if technology scaled) more energy efficient on FPGA and ASIC, respectively. © 2020 IEEE.
引用
收藏
页码:182 / 195
页数:13
相关论文
共 42 条
  • [1] Zhu Y., Et al., Target-driven visual navigation in indoor scenes using deep reinforcement learning, Proc. IEEE Int. Conf. Robot. Autom. (ICRA), pp. 3357-3364, (2017)
  • [2] Gondara L., Medical image denoising using convolutional denoising autoencoders, Proc. IEEE 16th Int. Conf. Data Min. Workshops (ICDMW), pp. 241-246, (2016)
  • [3] Theis L., Shi W., Cunningham A., Huszar F., Lossy Image Compression with Compressive Autoencoders, (2017)
  • [4] Prakash B., Horton M., Waytowich N.R., Hairston W.D., Oates T., Mohsenin T., On the use of deep autoencoders for efficient embedded reinforcement learning, Proc. Great Lakes Symp. VLSI, pp. 507-512, (2019)
  • [5] Kohl N., Stone P., Policy gradient reinforcement learning for fast quadrupedal locomotion, Proc. IEEE Int. Conf. Robot. Autom. (ICRA), 3, pp. 2619-2624, (2004)
  • [6] Ng A.Y., Et al., Autonomous inverted helicopter flight via reinforcement learning, Experimental Robotics IX. Berlin, Germany: Springer, pp. 363-372, (2006)
  • [7] Singh S., Litman D., Kearns M., Walker M., Optimizing dialogue management with reinforcement learning: Experiments with the NJFun system, J. Artif. Intell. Res., 16, 1, pp. 105-133, (2002)
  • [8] Silver D., Et al., Mastering the game of Go without human knowledge, Nature, 550, 7676, pp. 354-359, (2017)
  • [9] Mnih V., Et al., Human-level control through deep reinforcement learning, Nature, 518, 7540, pp. 529-533, (2015)
  • [10] Rusu A.A., Vecerik M., Rothorl T., Heess N., Pascanu R., Hadsell R., Sim-to-real robot learning from pixels with progressive nets, Proc. Conf. Robot Learn., pp. 262-270, (2017)