Proceedings

A Conservative Approach for Few-Shot Transfer in Off-Dynamics Reinforcement Learning

Download BibTeX Cite

Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence. Main Track. Pages 3890-3898.

https://doi.org/10.24963/ijcai.2024/430

Abstract

Off-dynamics Reinforcement Learning (ODRL) seeks to transfer a policy from a source environment to a target environment characterized by distinct yet similar dynamics. In this context, traditional RL agents depend excessively on the dynamics of the source environment, resulting in the discovery of policies that excel in this environment but fail to provide reasonable performance in the target one. In the few-shot framework, a limited number of transitions from the target environment are introduced to facilitate a more effective transfer. Addressing this challenge, we propose an innovative approach inspired by recent advancements in Imitation Learning and Conservative RL algorithms. This method introduces a penalty to regulate the trajectories generated by the source-trained policy. We evaluate our method across various environments representing diverse off-dynamics conditions, where access to the target environment is extremely limited. These experiments include high-dimensional systems relevant to real-world applications. Across most tested scenarios, our proposed method demonstrates performance improvements compared to existing baselines.

  1. [Abbeel et al., 2006] Pieter Abbeel, Morgan Quigley, and Andrew Y Ng. Using inaccurate models in reinforcement learning. In Proceedings of ICML, pages 1-8, 2006.
  2. [Abdullah et al., 2019] Mohammed Amin Abdullah, Hang Ren, Haitham Bou Ammar, Vladimir Milenkovic, Rui Luo, Mingtian Zhang, and Jun Wang. Wasserstein robust reinforcement learning. arXiv preprint arXiv:1907.13196, 2019.
  3. [Achiam et al., 2017] Joshua Achiam, David Held, Aviv Tamar, and Pieter Abbeel. Constrained policy optimiza- tion. In Proceedings of ICML, pages 22-31. PMLR, 2017.
  4. [Arndt et al., 2020] Karol Arndt, Murtaza Hazara, Ali Ghadirzadeh, and Ville Kyrki. Meta reinforcement learn- ing for sim-to-real domain adaptation. In Proceedings of ICRA, pages 2725-2731. IEEE, 2020.
  5. [Babaeizadeh et al., 2016] Mohammad Babaeizadeh, Iuri Frosio, Stephen Tyree, Jason Clemons, and Jan Kautz. Reinforcement learning through asynchronous advantage actor-critic on a gpu. In Proceedings of ICLR, 2016.
  6. [Barreto et al., 2017] André Barreto, Will Dabney, Rémi Munos, Jonathan J Hunt, Tom Schaul, Hado P van Hasselt, and David Silver. Successor features for transfer in rein- forcement learning. Proceedings of NeurIPS, 30, 2017.
  7. [Barth-Maron et al., 2018] Gabriel Barth-Maron, Matthew W Hoffman, David Budden, Will Dabney, Dan Horgan, TB Dhruva, Alistair Muldal, Nicolas Heess, and Timothy Lillicrap. Distributed distributional deterministic policy gradients. In Proceedings of ICLR, 2018.
  8. [Brockman et al., 2016] Greg Brockman, Vicki Cheung, Ludwig Pettersson, Jonas Schneider, John Schulman, Jie Tang, and Wojciech Zaremba. Openai gym. arXiv preprint arXiv:1606.01540, 2016.
  9. [Corander et al., 2021] Jukka Corander, Ulpu Remes, and Timo Koski. On the jensen-shannon divergence and the variation distance for categorical probability distributions. Kybernetika, 2021.
  10. Coumans and Bai, 2016 2021]
  11. Erwin Coumans and Yunfei Bai. Pybullet, a python module for physics simulation for games, robotics and machine learning. http://pybullet.org, 2016-2021. Link
  12. [Csiszar and Körner, 1981] Imre Csiszar and J Körner. Cod- ing theorems for discrete memoryless systems. In Infor- mation Theory. Akadémiai Kiadó (Publishing House of the Hungarian Academy of Sciences), 1981.
  13. [Dadashi et al., 2021] Robert Dadashi, Léonard Hussenot, Matthieu Geist, and Olivier Pietquin. Primal wasserstein imitation learning. Proceedings of ICLR, 2021.
  14. [Desai et al., 2020] Siddharth Desai, Ishan Durugkar, Haresh Karnan, Garrett Warnell, Josiah Hanna, and Peter Stone. An imitation from observation approach to transfer learning with dynamics mismatch. Proceedings of NeurIPS, 33:3917-3929, 2020.
  15. [Dulac-Arnold et al., 2021] Gabriel Dulac-Arnold, Nir Levine, Daniel J Mankowitz, Jerry Li, Cosmin Paduraru, Sven Gowal, and Todd Hester. Challenges of real-world reinforcement learning: definitions, benchmarks and analysis. Machine Learning, 110(9):2419-2468, 2021.
  16. [Eysenbach et al., 2021] Benjamin Eysenbach, Swapnil Asawa, Shreyas Chaudhari, Sergey Levine, and Ruslan Salakhutdinov. Off-dynamics reinforcement learning: Training for transfer with domain classifiers. Proceedings of ICLR, 2021.
  17. [Fu et al., 2017] Justin Fu, Katie Luo, and Sergey Levine. Learning robust rewards with adversarial inverse rein- forcement learning. Proceedings of ICLR, 2017.
  18. [Fu et al., 2020] Justin Fu, Mohammad Norouzi, Ofir Nachum, George Tucker, Alexander Novikov, Mengjiao Yang, Michael R Zhang, Yutian Chen, Aviral Kumar, Cos- min Paduraru, et al. Benchmarks for deep off-policy eval- uation. In Proceedings of ICLR, 2020.
  19. [Gamrian and Goldberg, 2019] Shani Gamrian and Yoav Goldberg. Transfer learning for related reinforcement learning tasks via image-to-image translation. In Proceed- ings of ICML, pages 2063-2072. PMLR, 2019.
  20. [Gangwani, 2021] Tanmay Gangwani. Airl code. https:// github.com/tgangwani/RL-Indirect-imitation/tree/master, 2021. Link
  21. [Garcıa and Fernández, 2015] Javier Garcıa and Fernando Fernández. A comprehensive survey on safe reinforcement learning. JMLR, 16(1):1437-1480, 2015.
  22. [Geng, 2021] Xinyang (Young) Geng. Code for conserva- tive q learning for offline reinforcement learning. https: //github.com/young-geng/CQL, 2021. Link
  23. [Ghasemipour et al., 2020] Seyed Kamyar Seyed Ghasemipour, Richard Zemel, and Shixiang Gu. A divergence minimization perspective on imitation learning methods. In Proceedings of CoRL, pages 1259-1277.
  24. PMLR, 2020.
  25. [Hanna et al., 2021] Josiah P Hanna, Siddharth Desai, Haresh Karnan, Garrett Warnell, and Peter Stone. Grounded action transformation for sim-to-real reinforce- ment learning. Machine Learning, 110(9):2469-2499, 2021.
  26. [Ho and Ermon, 2016] Jonathan Ho and Stefano Ermon. Generative adversarial imitation learning. Proceedings of NeurIPS, 29, 2016.
  27. [Höfer et al., 2021] Sebastian Höfer, Kostas Bekris, Ankur Handa, Juan Camilo Gamboa, Melissa Mozifian, Florian Golemo, Chris Atkeson, Dieter Fox, Ken Goldberg, John Leonard, et al. Sim2real in robotics and automation: Ap- plications and challenges. IEEE transactions on automa- tion science and engineering, 18(2):398-400, 2021.
  28. [Hussein et al., 2017] Ahmed Hussein, Mohamed Medhat Gaber, Eyad Elyan, and Chrisina Jayne. Imitation learn- ing: A survey of learning methods. ACM Computing Sur- veys (CSUR), 50(2):1-35, 2017.
  29. [Jakobi et al., 1995] Nick Jakobi, Phil Husbands, and Inman Harvey. Noise and the reality gap: The use of simulation in evolutionary robotics. In Advances in Artificial Life: Third European Conference on Artificial Life, pages 704- 720. Springer, 1995.
  30. [Ju et al., 2022] Hao Ju, Rongshun Juan, Randy Gomez, Keisuke Nakamura, and Guangliang Li. Transferring pol- icy of deep reinforcement learning from simulation to real- ity for robotics. Nature Machine Intelligence, pages 1-11, 2022.
  31. [Kakade and Langford, 2002] Sham Kakade and John Lang- ford. Approximately optimal approximate reinforcement learning. In Proceedings of ICML, pages 267-274, 2002.
  32. [Kang et al., 2022] Katie Kang, Paula Gradu, Jason J Choi, Michael Janner, Claire Tomlin, and Sergey Levine. Lya- punov density models: Constraining distribution shift in learning-based control. In Proceedings of ICML, pages 10708-10733. PMLR, 2022.
  33. [Koos et al., 2012] Sylvain Koos, Jean-Baptiste Mouret, and Stéphane Doncieux. The transferability approach: Cross- ing the reality gap in evolutionary robotics. IEEE Transac- tions on Evolutionary Computation, 17(1):122-145, 2012.
  34. [Kostrikov, 2018] Ilya Kostrikov. Pytorch rl agents. https:// github.com/ikostrikov/pytorch-a2c-ppo-acktr-gail, 2018. Link
  35. [Kumar et al., 2020] Aviral Kumar, Aurick Zhou, George Tucker, and Sergey Levine. Conservative q-learning for offline reinforcement learning. Proceedings of NeurIPS, 33:1179-1191, 2020.
  36. [Kumar et al., 2021] Ashish Kumar, Zipeng Fu, Deepak Pathak, and Jitendra Malik. RMA: rapid motor adapta- tion for legged robots. In Robotics: Science and Systems, 2021.
  37. [Mordatch et al., 2015] Igor Mordatch, Kendall Lowrey, and Emanuel Todorov. Ensemble-cio: Full-body dynamic mo- tion planning that transfers to physical humanoids. In Pro- ceedings of IROS, pages 5307-5314. IEEE, 2015.
  38. [Moskovitz et al., 2021] Ted Moskovitz, Michael Arbel, Fer- enc Huszar, and Arthur Gretton. Efficient wasserstein nat- ural gradients for reinforcement learning. Proceedings of ICLR, 2021.
  39. [Muratore et al., 2019] Fabio Muratore, Michael Gienger, and Jan Peters. Assessing transferability from simulation to reality for reinforcement learning. IEEE transactions on pattern analysis and machine intelligence, 43(4):1172- 1183, 2019.
  40. [Nachum et al., 2019] Ofir Nachum, Yinlam Chow, Bo Dai, and Lihong Li. Dualdice: Behavior-agnostic estimation of discounted stationary distribution corrections. Proceed- ings of NeurIPS, 32, 2019.
  41. [Niu et al., 2022a] Haoyi Niu, Shubham Sharma, Yiwen Qiu, Ming Li, Guyue Zhou, Jianming HU, and Xianyuan Zhan. H2o code. https://github.com/t6-thu/H2O, 2022. Link
  42. [Niu et al., 2022b] Haoyi Niu, Shubham Sharma, Yiwen Qiu, Ming Li, Guyue Zhou, Jianming Hu, and Xianyuan Zhan. When to trust your simulator: Dynamics-aware hy- brid offline-and-online reinforcement learning. Proceed- ings of NeurIPS, 2022.
  43. [Pacchiano et al., 2020] Aldo Pacchiano, Jack Parker- Holder, Yunhao Tang, Krzysztof Choromanski, Anna Choromanska, and Michael Jordan. Learning to score behaviors for guided policy optimization. In Proceedings of ICML, pages 7445-7454. PMLR, 2020.
  44. [Raffin, 2020] Antonin Raffin. Rl baselines3 zoo. https:// github.com/DLR-RM/rl-baselines3-zoo, 2020. Link
  45. [Schulman et al., 2015] John Schulman, Sergey Levine, Pieter Abbeel, Michael Jordan, and Philipp Moritz. Trust region policy optimization. In Proceedings of ICML, pages 1889-1897. PMLR, 2015.
  46. [Schulman et al., 2017] John Schulman, Filip Wolski, Pra- fulla Dhariwal, Alec Radford, and Oleg Klimov. Prox- imal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017.
  47. [Tan et al., 2018] Jie Tan, Tingnan Zhang, Erwin Coumans, Atil Iscen, Yunfei Bai, Danijar Hafner, Steven Bohez, and Vincent Vanhoucke. Sim-to-real: Learning agile locomo- tion for quadruped robots. Robotics: Science and Systems XIV, 2018.
  48. [Terpin et al., 2022] Antonio Terpin, Nicolas Lanzetti, Batuhan Yardim, Florian Dorfler, and Giorgia Ramponi. Trust region policy optimization with optimal transport discrepancies: Duality and algorithm for continuous actions. Proceedings of NeurIPS, 35:19786-19797, 2022.
  49. [Tessler et al., 2019] Chen Tessler, Yonathan Efroni, and Shie Mannor. Action robust reinforcement learning and applications in continuous control. In Proceedings of ICML, pages 6215-6224. PMLR, 2019.
  50. [Torabi et al., 2019] Faraz Torabi, Garrett Warnell, and Pe- ter Stone. Recent advances in imitation learning from ob- servation. In Proceedings of IJCAI, pages 6325-6331. ij- cai.org, 2019. IJCAI
  51. [Touati et al., 2020] Ahmed Touati, Amy Zhang, Joelle Pineau, and Pascal Vincent. Stable policy optimization via off-policy divergence regularization. In Proceedings of UAI, pages 1328-1337. PMLR, 2020.
  52. [Weiss et al., 2016] Karl Weiss, Taghi M Khoshgoftaar, and DingDing Wang. A survey of transfer learning. Journal of Big data, 3(1):1-40, 2016.
  53. [Yu et al., 2018] Wenhao Yu, C Karen Liu, and Greg Turk. Policy transfer with strategy optimization. In Proceedings of ICLR, 2018.
  54. [Yu et al., 2020] Wenhao Yu, Jie Tan, Yunfei Bai, Erwin Coumans, and Sehoon Ha. Learning fast adaptation with meta strategy optimization. IEEE Robotics and Automa- tion Letters, 5(2):2950-2957, 2020.
  55. [Zhu et al., 2018] Shaojun Zhu, Andrew Kimmel, Kostas E. Bekris, and Abdeslam Boularias. Fast model identifica- tion via physics engines for data-efficient policy search. In Proceedings of IJCAI, pages 3249-3256. ijcai.org, 2018. IJCAI

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

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