Proceedings

Sample Efficient Model-free Reinforcement Learning from LTL Specifications with Optimality Guarantees

Download BibTeX Cite

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

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

Abstract

Linear Temporal Logic (LTL) is widely used to specify high-level objectives for system policies, and it is highly desirable for autonomous systems to learn the optimal policy with respect to such specifications. However, learning the optimal policy from LTL specifications is not trivial. We present a model-free Reinforcement Learning (RL) approach that efficiently learns an optimal policy for an unknown stochastic system, modelled using Markov Decision Processes (MDPs). We propose a novel and more general product MDP, reward structure and discounting mechanism that, when applied in conjunction with off-the-shelf model-free RL algorithms, efficiently learn the optimal policy that maximizes the probability of satisfying a given LTL specification with optimality guarantees. We also provide improved theoretical results on choosing the key parameters in RL to ensure optimality. To directly evaluate the learned policy, we adopt probabilistic model checker PRISM to compute the probability of the policy satisfying such specifications. Several experiments on various tabular MDP environments across different LTL tasks demonstrate the improved sample efficiency and optimal policy convergence.

  1. [Aksaray et al., 2016] Derya Aksaray, Austin Jones, Zhao- dan Kong, Mac Schwager, and Calin Belta. Q-learning for robust satisfaction of signal temporal logic specifica- tions. 2016 IEEE 55th Conference on Decision and Con- trol, CDC 2016, pages 6565-6570, 9 2016.
  2. [Alur et al., 2021] Rajeev Alur, Suguman Bansal, Osbert Bastani, and Kishor Jothimurugan. A framework for transforming specifications in reinforcement learning. arXiv:2111.00272, 2021.
  3. [Andreas et al., 2016] Jacob Andreas, Dan Klein, and Sergey Levine. Modular multitask reinforcement learn- ing with policy sketches. 34th International Conference on Machine Learning, ICML 2017, 1:229-239, 11 2016.
  4. [Baier and Katoen, 2008] Christel Baier and Joost-Pieter Katoen. Principles Of Model Checking, volume 950. MIT Press, 2008.
  5. [Bozkurt et al., 2019] Alper Kamil Bozkurt, Yu Wang, Michael M. Zavlanos, and Miroslav Pajic. Control synthe- sis from linear temporal logic specifications using model- free reinforcement learning. Proceedings -IEEE Inter- national Conference on Robotics and Automation, pages 10349-10355, 2019.
  6. [Brockman et al., 2016] Greg Brockman, Vicki Cheung, Ludwig Pettersson, Jonas Schneider, John Schulman, Jie Tang, and Wojciech Zaremba Openai. OpenAI Gym. arXiv:1606.01540, 6 2016.
  7. [Cai et al., 2021] Mingyu Cai, Mohammadhosein Hasan- beig, Shaoping Xiao, Alessandro Abate, and Zhen Kan. Modular deep reinforcement learning for continuous mo- tion planning with temporal logic. IEEE Robotics and Au- tomation Letters, 6(4):7973-7980, 2021.
  8. [Camacho et al., 2019] Alberto Camacho, Rodrigo Toro Icarte, Toryn Q. Klassen, Richard Valenzano, and Sheila A. McIlraith. LTL and beyond: Formal languages for reward function specification in reinforce- ment learning. IJCAI International Joint Conference on Artificial Intelligence, 2019-August:6065-6073, 2019. IJCAI
  9. [De Giacomo and Vardi, 2013] Giuseppe De Giacomo and Moshe Y Vardi. Linear temporal logic and linear dynamic logic on finite traces. Proceedings of the AAAI Conference on Artificial Intelligence, 2013. IJCAI
  10. [Devlin and Kudenko, 2012] Sam Devlin and Daniel Ku- denko. Dynamic potential-based reward shaping. Proceed- ings of the 11th International Conference on Autonomous Agents and Multiagent Systems, 2012.
  11. [Giuseppe De Giacomo et al., 2019] Giuseppe De Giacomo, Luca Iocchi, Marco Favorito, and Fabio Patrizi. Foun- dations for restraining bolts: reinforcement learning with LTLf/LDLf restraining specifications. In Proceedings of the Twenty-Ninth International Conference on Automated Planning and Scheduling, 2019.
  12. [Hahn et al., 2019] Ernst Moritz Hahn, Mateo Perez, Sven Schewe, Fabio Somenzi, Ashutosh Trivedi, and Dominik Wojtczak. Omega-regular objectives in model-free rein- forcement learning. Proceedings of the International Con- ference on Tools and Algorithms for the Construction and Analysis of Systems, 11427 LNCS:395-412, 2019.
  13. [Hahn et al., 2020] Ernst Moritz Hahn, Mateo Perez, Sven Schewe, Fabio Somenzi, Ashutosh Trivedi, and Dominik Wojtczak. Faithful and effective reward schemes for model-free reinforcement learning of omega-regular ob- jectives. Automated Technology for Verification and Anal- ysis, 12302 LNCS:108-124, 2020.
  14. [Hasanbeig et al., 2019] M. Hasanbeig, Y. Kantaros, A. Abate, D. Kroening, G. J. Pappas, and I. Lee. Rein- forcement learning for temporal logic control synthesis with probabilistic satisfaction guarantees. Proceed- ings of the IEEE Conference on Decision and Control, 2019-December:5338-5343, 9 2019.
  15. [Hasanbeig et al., 2020] Mohammadhosein Hasanbeig, Daniel Kroening, and Alessandro Abate. Deep rein- forcement learning with temporal logics. Proceedings of the International Conference on Formal Modeling and Analysis of Timed Systems, 12288 LNCS:1-22, 2020.
  16. [Jiang et al., 2021] Yuqian Jiang, Suda Bharadwaj, Bo Wu, Rishi Shah, Ufuk Topcu, and Peter Stone. Temporal-logic- based reward shaping for continuing reinforcement learn- ing tasks. Proceedings of the AAAI Conference on Artifi- cial Intelligence, 35(9):7995-8003, 5 2021.
  17. [Jothimurugan et al., 2020] Kishor Jothimurugan, Rajeev Alur, and Osbert Bastani. A composable specification lan- guage for reinforcement learning tasks. Advances in Neu- ral Information Processing Systems, 32, 8 2020.
  18. [Jothimurugan et al., 2021] Kishor Jothimurugan, Suguman Bansal, Osbert Bastani, and Rajeev Alur. Compo- sitional reinforcement learning from logical specifica- tions. Advances in Neural Information Processing Sys- tems, 12:10026-10039, 6 2021.
  19. [Křetínský et al., 2018] Jan Křetínský, Tobias Meggendor- fer, Salomon Sickert, and Christopher Ziegler. Rabinizer 4: From LTL to your favourite deterministic automaton. Proceedings of the International Conference on Computer Aided Verification, 10981 LNCS:567-577, 2018.
  20. [Kwiatkowska et al., 2011] Marta Kwiatkowska, Gethin Norman, and David Parker. PRISM 4.0: Verification of probabilistic real-time systems. Computer Aided Verification, 6806 LNCS:585-591, 2011.
  21. [Li et al., 2016] Xiao Li, Cristian Ioan Vasile, and Calin Belta. Reinforcement learning with temporal logic re- wards. IEEE International Conference on Intelligent Robots and Systems, 2017-September:3834-3839, 12 2016.
  22. [Littman et al., 2017] Michael L. Littman, Ufuk Topcu, Jie Fu, Charles Isbell, Min Wen, and James MacGlashan. Environment-independent task specifications via GLTL. arXiv:1704.04341, 4 2017.
  23. [Littman, 2001] M.L. Littman. Markov decision processes. International Encyclopedia of the Social & Behavioral Sciences, pages 9240-9242, 2001.
  24. [Ng et al., 1999] Andrew Y. Ng, Andrew Y. Ng, Daishi Harada, and Stuart Russell. Policy invariance under re- ward transformations: Theory and application to reward shaping. Proceedings of the Sixteenth International Con- ference on Machine Learning, pages 278-287, 1999.
  25. [Sadigh et al., 2014] Dorsa Sadigh, Eric S. Kim, Samuel Coogan, S. Shankar Sastry, and Sanjit A. Seshia. A learn- ing based approach to control synthesis of Markov de- cision processes for linear temporal logic specifications. Proceedings of the IEEE Conference on Decision and Control, 2015-February(February):1091-1096, 2014.
  26. [Shao and Kwiatkowska, 2023] Daqian Shao and Marta Kwiatkowska. Sample efficient model-free reinforcement learning from ltl specifications with optimality guarantees. arXiv:2305.01381, 5 2023.
  27. [Sickert et al., 2016] Salomon Sickert, Javier Esparza, Ste- fan Jaax, and Jan Křetínský. Limit-deterministic Büchi automata for linear temporal logic. Computer Aided Veri- fication, 9780:312-332, 2016.
  28. [Sutton and Barto, 2018] Richard S Sutton and Andrew G Barto. Reinforcement learning: An Introduction, vol- ume 3. MIT Press, 2018.
  29. [Toro Icarte et al., 2018] Rodrigo Toro Icarte, Toryn Q Klassen, Richard Valenzano, and Sheila A Mcllraith. Us- ing reward machines for high-level task specification and decomposition in reinforcement learning. Proceedings of the 35th International Conference on Machine Learning, 2018.
  30. [Toro Icarte et al., 2022] Rodrigo Toro Icarte, Toryn Q. Klassen, Richard Valenzano, and Sheila A. McIlraith. Re- ward machines: Exploiting reward function structure in reinforcement learning. Journal of Artificial Intelligence Research, 73:173-208, 2022.
  31. [Watkins and Dayan, 1992] Christopher J. C. H. Watkins and Peter Dayan. Q-learning. Machine Learning 1992 8:3, 8(3):279-292, 5 1992.
  32. [Xu and Topcu, 2019] Zhe Xu and Ufuk Topcu. Transfer of temporal logic formulas in reinforcement learning. Pro- ceedings of the Twenty-Eighth International Joint Confer- ence on Artificial Intelligence, 2019. IJCAI

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

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