Research Article

A post-training quantization method applied to the game-environment-based Dueling-DQN model

Chenghao Yang*
University of Nottingham Ningbo China, 199 Taikang East Road Ningbo, 315100, China

* Corresponding author: [email protected]

Abstract

Reinforcement learning is a common method that focuses on the best behaviors that agents can get the highest rewards for in one particular environment. It was recently combined with deep learning to improve information perception. However, the traditional deep reinforcement model DQN is considered to be as computationally intensive as its layer deplumation. As a result, this paper proposes to include a post-training quantization method in an improved version of DQN to see if it is worthwhile to include. After some experiments, the outputs exactly prove that post-training quantization can deduce the computation with a tiny precision loss.

Keywords: deep reinforcement leaning; network; compression; game.
Published: June 14, 2023
DOI: 10.54254/2755-2721/6/20230877
Volume: ACE Vol.6
pp. 516-523
Download PDF

References

  1. Kaelbling, L. P., Littman, M. L., & Moore, A. W. 1996 Reinforcement learning: A survey. Journal of artificial intelligence research, 4, 237-285.
  2. Cheng, Y., Wang, D., Zhou, P., & Zhang, T. 2017 A survey of model compression and acceleration for deep neural networks. arXiv preprint arXiv:1710.09282.
  3. Moerland, T. M., Broekens, J., & Jonker, C. M. 2018 Emotion in reinforcement learning agents and robots: a survey. Machine Learning, 107(2), 443-480.
  4. Watkins, C. J., & Dayan, P. 1992 Q-learning. Machine learning, 8(3), 279-292
  5. Sutton, R. S., McAllester, D., Singh, S., & Mansour, Y. 1999 Policy gradient methods for reinforcement learning with function approximation. Advances in neural information processing systems, 12.
  6. Mnih, V., Kavukcuoglu, K., Silver, D., Rusu, A. A., Veness, J., Bellemare, M. G., ... & Hassabis, D. 2015 Human-level control through deep reinforcement learning. nature, 518(7540), 529- 533, 2015.
  7. Lu, Y., & Yang, J. 2015 Notes on Low-rank Matrix Factorization. arXiv preprint arXiv:1507.00333.
  8. Lawhern, V. J., Solon, A. J., Waytowich, N. R., Gordon, S. M., Hung, C. P., & Lance, B. J. 2018 EEGNet: a compact convolutional neural network for EEG-based brain–computer interfaces. Journal of neural engineering, 15(5), 056013.
  9. Hinton, G., Vinyals, O., & Dean, J. 2015 Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2(7).
  10. Gholami, A., Kim, S., Dong, Z., Yao, Z., Mahoney, M. W., & Keutzer, K. 2021 A survey of quantization methods for efficient neural network inference. arXiv preprint arXiv:2103.13630.
  11. Van Hasselt, H., Guez, A., & Silver, D. 2016 Deep reinforcement learning with double q-learning. In Proceedings of the AAAI conference on artificial intelligence, Vol. 30, No. 1.
  12. Mahoney C. 2021 Reinforcement Learning: A Review of Historic, Modern, and Historic. Developments Towards Data Science Available from: https://towardsdatascience.com/reinforcement-learning-fda8ff535bb6
  13. Jiang, F., Ma, R., Gao, Y., & Gu, Z. 2021 A reinforcement learning-based computing. offloading and resource allocation scheme in F-RAN. EURASIP Advances in Signal Processing, 91 (2021). https://doi.org/10.1186/s13634-021-00802-x
  14. Cai Q, Cui C, Xiong Y, et al. 2017 A Survey on Deep Reinforcement Learning for Data. Processing and Analytics. arXiv preprint arXiv:2108.04526, 2021.
  15. Tensorflow.org 2020 Quantization Aware Training with TensorFlow Model. Optimization Toolkit - Performance with Accuracy. Available from: https://blog.tensorflow.org/2020/04/quantization-aware-training-with-tensorflow-modeloptimization-toolkit.html
  16. Lunar Lander - Gym Documentation 2022 Gymlibrary.dev. Available at: https://www.gymlibrary.dev/environments/box2d/lunar_lander/
  17. Mountain Car - Gym Documentation 2022 Gymlibrary.dev. Available at: https://www.gymlibrary.dev/environments/ classic_control/mountain_car/