Proceedings

On the Reuse Bias in Off-Policy Reinforcement Learning

Download BibTeX Cite

Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence. Main Track. Pages 4513-4521.

https://doi.org/10.24963/ijcai.2023/502

Abstract

Importance sampling (IS) is a popular technique in off-policy evaluation, which re-weights the return of trajectories in the replay buffer to boost sample efficiency. However, training with IS can be unstable and previous attempts to address this issue mainly focus on analyzing the variance of IS. In this paper, we reveal that the instability is also related to a new notion of Reuse Bias of IS --- the bias in off-policy evaluation caused by the reuse of the replay buffer for evaluation and optimization. We theoretically show that the off-policy evaluation and optimization of the current policy with the data from the replay buffer result in an overestimation of the objective, which may cause an erroneous gradient update and degenerate the performance. We further provide a high-probability upper bound of the Reuse Bias and show that controlling one term of the upper bound can control the Reuse Bias by introducing the concept of stability for off-policy algorithms. Based on these analyses, we present a novel yet simple Bias-Regularized Importance Sampling (BIRIS) framework along with practical algorithms, which can alleviate the negative impact of the Reuse Bias, and show that our BIRIS can significantly reduce the Reuse Bias empirically. Moreover, extensive experimental results show that our BIRIS-based methods can significantly improve the sample efficiency on a series of continuous control tasks in MuJoCo.

  1. [Chandak et al., 2021a] Yash Chandak, Scott Niekum, Bruno da Silva, Erik Learned-Miller, Emma Brunskill, and Philip S Thomas. Universal off-policy evaluation. Advances in Neural Information Processing Systems, 34:27475- 27490, 2021.
  2. [Chandak et al., 2021b] Yash Chandak, Shiv Shankar, and Philip S Thomas. High-confidence off-policy (or counter- factual) variance estimation. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pages 6939-6947, 2021.
  3. [Fujimoto and Gu, 2021] Scott Fujimoto and Shixiang Shane Gu. A minimalist approach to offline reinforcement learn- ing. Advances in neural information processing systems, 34:20132-20145, 2021.
  4. [Fujimoto et al., 2018] Scott Fujimoto, Herke Hoof, and David Meger. Addressing function approximation error in actor-critic methods. In International Conference on Machine Learning, pages 1587-1596. PMLR, 2018.
  5. [Fujimoto et al., 2019] Scott Fujimoto, David Meger, and Doina Precup. Off-policy deep reinforcement learning with- out exploration. In International Conference on Machine Learning, pages 2052-2062. PMLR, 2019.
  6. [Fujimoto et al., 2021] Scott Fujimoto, David Meger, and Doina Precup. A deep reinforcement learning approach to marginalized importance sampling with the successor representation. In International Conference on Machine Learning, pages 3518-3529. PMLR, 2021.
  7. [Garcıa and Fernández, 2015] Javier Garcıa and Fernando Fernández. A comprehensive survey on safe reinforce- ment learning. Journal of Machine Learning Research, 16(1):1437-1480, 2015.
  8. [Haarnoja et al., 2018] Tuomas Haarnoja, Aurick Zhou, Pieter Abbeel, and Sergey Levine. Soft actor-critic: Off- policy maximum entropy deep reinforcement learning with a stochastic actor. In International conference on machine learning, pages 1861-1870. PMLR, 2018.
  9. [Hanna et al., 2017] Josiah P Hanna, Peter Stone, and Scott Niekum. Bootstrapping with models: Confidence intervals for off-policy evaluation. In Thirty-First AAAI Conference on Artificial Intelligence, 2017.
  10. [Hanna et al., 2019] Josiah Hanna, Scott Niekum, and Peter Stone. Importance sampling policy evaluation with an estimated behavior policy. In International Conference on Machine Learning, pages 2605-2613. PMLR, 2019.
  11. [Hardt et al., 2016] Moritz Hardt, Ben Recht, and Yoram Singer. Train faster, generalize better: Stability of stochastic gradient descent. In International conference on machine learning, pages 1225-1234. PMLR, 2016.
  12. [Jiang and Li, 2016] Nan Jiang and Lihong Li. Doubly robust off-policy value evaluation for reinforcement learning. In International Conference on Machine Learning, pages 652- 661. PMLR, 2016.
  13. [Kahn and Marshall, 1953] Herman Kahn and Andy W Mar- shall. Methods of reducing sample size in monte carlo computations. Journal of the Operations Research Society of America, 1(5):263-278, 1953.
  14. [Kumar et al., 2020a] Aviral Kumar, Abhishek Gupta, and Sergey Levine. Discor: Corrective feedback in reinforce- ment learning via distribution correction. Advances in Neural Information Processing Systems, 33:18560-18572, 2020.
  15. [Kumar et al., 2020b] Aviral Kumar, Aurick Zhou, George Tucker, and Sergey Levine. Conservative q-learning for offline reinforcement learning. Advances in Neural Infor- mation Processing Systems, 33:1179-1191, 2020.
  16. [Kuzborskij et al., 2021] Ilja Kuzborskij, Claire Vernade, An- dras Gyorgy, and Csaba Szepesvári. Confident off-policy evaluation and selection through self-normalized impor- tance weighting. In International Conference on Artificial Intelligence and Statistics, pages 640-648. PMLR, 2021.
  17. [Li et al., 2015] Lihong Li, Rémi Munos, and Csaba Szepesvári. Toward minimax off-policy value estimation. In Artificial Intelligence and Statistics, pages 608-616. PMLR, 2015.
  18. [Lillicrap et al., 2016] Timothy P. Lillicrap, Jonathan J. Hunt, Alexander Pritzel, Nicolas Heess, Tom Erez, Yuval Tassa, David Silver, and Daan Wierstra. Continuous control with deep reinforcement learning. In International Conference on Learning Representations (ICLR), 2016.
  19. [Liu et al., 2018] Qiang Liu, Lihong Li, Ziyang Tang, and Dengyong Zhou. Breaking the curse of horizon: infinite- horizon off-policy estimation. In Proceedings of the 32nd International Conference on Neural Information Process- ing Systems, pages 5361-5371, 2018.
  20. [Liu et al., 2020] Yao Liu, Adith Swaminathan, Alekh Agar- wal, and Emma Brunskill. Provably good batch off-policy reinforcement learning without great exploration. Advances in neural information processing systems, 33:1264-1274, 2020.
  21. [Liu et al., 2021] Xu-Hui Liu, Zhenghai Xue, Jingcheng Pang, Shengyi Jiang, Feng Xu, and Yang Yu. Regret min- imization experience replay in off-policy reinforcement learning. Advances in Neural Information Processing Sys- tems, 34:17604-17615, 2021.
  22. [Mahmood et al., 2014] A Rupam Mahmood, Hado P van Hasselt, and Richard S Sutton. Weighted importance sam- pling for off-policy learning with linear function approxima- tion. Advances in Neural Information Processing Systems, 27:3014-3022, 2014.
  23. [McAllester, 1998] David A. McAllester. Some pac-bayesian theorems. In Peter L. Bartlett and Yishay Mansour, edi- tors, Proceedings of the Eleventh Annual Conference on Computational Learning Theory, COLT 1998, Madison, Wisconsin, USA, July 24-26, 1998, pages 230-234. ACM, 1998.
  24. [McAllester, 2003] David A. McAllester. Simplified pac- bayesian margin bounds. In Bernhard Schölkopf and Manfred K. Warmuth, editors, Computational Learning Theory and Kernel Machines, 16th Annual Conference on Computational Learning Theory and 7th Kernel Workshop, COLT/Kernel 2003, Washington, DC, USA, August 24-27, 2003, Proceedings, volume 2777 of Lecture Notes in Com- puter Science, pages 203-215. Springer, 2003.
  25. [Metelli et al., 2018] Alberto Maria Metelli, Matteo Papini, Francesco Faccio, and Marcello Restelli. Policy optimiza- tion via importance sampling. Advances in Neural Infor- mation Processing Systems, 31, 2018.
  26. [Metelli et al., 2021] Alberto Maria Metelli, Alessio Russo, and Marcello Restelli. Subgaussian and differentiable importance sampling for off-policy evaluation and learn- ing. Advances in Neural Information Processing Systems, 34:8119-8132, 2021.
  27. [Mnih et al., 2015] Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A. Rusu, Joel Veness, Marc G. Belle- mare, Alex Graves, Martin A. Riedmiller, Andreas Fid- jeland, Georg Ostrovski, Stig Petersen, Charles Beattie, Amir Sadik, Ioannis Antonoglou, Helen King, Dharshan Kumaran, Daan Wierstra, Shane Legg, and Demis Hassabis. Human-level control through deep reinforcement learning. Nature, 518(7540):529-533, 2015.
  28. [Novati and Koumoutsakos, 2019] Guido Novati and Petros Koumoutsakos. Remember and forget for experience replay. In International Conference on Machine Learning, pages 4851-4860. PMLR, 2019.
  29. [Pavse et al., 2020] Brahma Pavse, Ishan Durugkar, Josiah Hanna, and Peter Stone. Reducing sampling error in batch temporal difference learning. In International Conference on Machine Learning, pages 7543-7552. PMLR, 2020.
  30. [Precup et al., 2000] Doina Precup, Richard S Sutton, and Satinder P Singh. Eligibility traces for off-policy policy evaluation. In ICML, 2000.
  31. [Precup et al., 2001] Doina Precup, Richard S Sutton, and Sanjoy Dasgupta. Off-policy temporal-difference learning with function approximation. In ICML, pages 417-424, 2001.
  32. [Schaul et al., 2016] Tom Schaul, John Quan, Ioannis Antonoglou, and David Silver. Prioritized experience re- play. In ICLR (Poster), 2016.
  33. [Shalev-Shwartz and Ben-David, 2014] Shai Shalev-Shwartz and Shai Ben-David. Understanding Machine Learning: From Theory to Algorithms. Cambridge University Press, USA, 2014.
  34. [Shi et al., 2021] Chengchun Shi, Runzhe Wan, Victor Cher- nozhukov, and Rui Song. Deeply-debiased off-policy in- terval estimation. In International Conference on Machine Learning, pages 9580-9591. PMLR, 2021.
  35. [Su et al., 2020] Yi Su, Maria Dimakopoulou, Akshay Krish- namurthy, and Miroslav Dudík. Doubly robust off-policy evaluation with shrinkage. In International Conference on Machine Learning, pages 9167-9176. PMLR, 2020.
  36. [Sutton et al., 2000] Richard S Sutton, David A McAllester, Satinder P Singh, and Yishay Mansour. Policy gradient methods for reinforcement learning with function approx- imation. In Advances in neural information processing systems (NeurIPS), pages 1057-1063, 2000.
  37. [Thomas and Brunskill, 2016] Philip Thomas and Emma Brunskill. Data-efficient off-policy policy evaluation for reinforcement learning. In International Conference on Machine Learning, pages 2139-2148. PMLR, 2016.
  38. [Thomas et al., 2015] Philip Thomas, Georgios Theocharous, and Mohammad Ghavamzadeh. High-confidence off-policy evaluation. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 29, 2015.
  39. [Van Hasselt et al., 2016] Hado Van Hasselt, Arthur Guez, and David Silver. Deep reinforcement learning with dou- ble q-learning. In Proceedings of the AAAI conference on artificial intelligence, volume 30, 2016.
  40. [Weng et al., 2022] Jiayi Weng, Huayu Chen, Dong Yan, Kaichao You, Alexis Duburcq, Minghao Zhang, Yi Su, Hang Su, and Jun Zhu. Tianshou: A highly modularized deep reinforcement learning library. Journal of Machine Learning Research, 23(267):1-6, 2022.
  41. [Xie et al., 2019] T Xie, Y Ma, and YX Wang. Towards opti- mal off-policy evaluation for reinforcement learning with marginalized importance sampling. Advances in neural information processing systems, 2019.
  42. [Ying et al., 2022] ChengYang Ying, Xinning Zhou, Hang Su, Dong Yan, Ning Chen, and Jun Zhu. Towards safe reinforce- ment learning via constraining conditional value-at-risk. In Lud De Raedt, editor, Proceedings of the Thirty-First Inter- national Joint Conference on Artificial Intelligence, IJCAI- 22, pages 3673-3680. International Joint Conferences on Artificial Intelligence Organization, 7 2022. Main Track. IJCAI
  43. [Zhang et al., 2021] Junyu Zhang, Chengzhuo Ni, Csaba Szepesvari, Mengdi Wang, et al. On the convergence and sample efficiency of variance-reduced policy gradi- ent method. Advances in Neural Information Processing Systems, 34:2228-2240, 2021.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards