Proceedings

LTL and Beyond: Formal Languages for Reward Function Specification in Reinforcement Learning

Download BibTeX Cite

Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence. Understanding Intelligence and Human-level AI in the New Machine Learning era. Pages 6065-6073.

https://doi.org/10.24963/ijcai.2019/840

Abstract

In Reinforcement Learning (RL), an agent is guided by the rewards it receives from the reward function. Unfortunately, it may take many interactions with the environment to learn from sparse rewards, and it can be challenging to specify reward functions that reflect complex reward-worthy behavior. We propose using reward machines (RMs), which are automata-based representations that expose reward function structure, as a normal form representation for reward functions. We show how specifications of reward in various formal languages, including LTL and other regular languages, can be automatically translated into RMs, easing the burden of complex reward function specification. We then show how the exposed structure of the reward function can be exploited by tailored q-learning algorithms and automated reward shaping techniques in order to improve the sample efficiency of reinforcement learning methods. Experiments show that these RM-tailored techniques significantly outperform state-of-the-art (deep) RL algorithms, solving problems that otherwise cannot reasonably be solved by existing approaches.

  1. [Andreas et al., 2017] Jacob Andreas, Dan Klein, and Sergey Levine. Modular multitask reinforcement learning with pol- icy sketches. In ICML, pages 166-175, 2017.
  2. [Bacchus et al., 1996] Fahiem Bacchus, Craig Boutilier, and Adam J. Grove. Rewarding behaviors. In AAAI, pages 1160- 1167, 1996.
  3. [Bacchus et al., 1997] Fahiem Bacchus, Craig Boutilier, and Adam J. Grove. Structured solution methods for non- Markovian decision processes. In AAAI, pages 112-117, 1997.
  4. [Baier and McIlraith, 2006] Jorge A. Baier and Sheila A. McIl- raith. Planning with temporally extended goals using heuristic search. In ICAPS, pages 342-345, 2006.
  5. [Baier et al., 2007] Jorge A. Baier, Christian Fritz, and Sheila A. McIlraith. Exploiting procedural domain control knowledge in state-of-the-art planners. In ICAPS, pages 26- 33, 2007.
  6. [Baier et al., 2008] Jorge A. Baier, Christian Fritz, Meghyn Bi- envenu, and Sheila McIlraith. Beyond classical planning: Procedural control knowledge and preferences in state-of-the- art planners. In AAAI, Nectar Track, pages 1509-1512, 2008.
  7. [Brafman et al., 2018] Ronen I. Brafman, Giuseppe De Gia- como, and Fabio Patrizi. LTLf/LDLf non-Markovian rewards. In AAAI, pages 1771-1778, 2018.
  8. [Camacho et al., 2017] Alberto Camacho, Oscar Chen, Scott Sanner, and Sheila A. McIlraith. Non-Markovian rewards ex- pressed in LTL: guiding search via reward shaping. In SOCS, pages 159-160, 2017.
  9. [Camacho et al., 2018] Alberto Camacho, Oscar Chen, Scott Sanner, and Sheila A. McIlraith. Non-markovian rewards expressed in LTL: Guiding search via reward shaping (ex- tended version). In GoalsRL, a workshop collocated with ICML/IJCAI/AAMAS, 2018.
  10. [De Giacomo and Vardi, 2013] Giuseppe De Giacomo and Moshe Y. Vardi. Linear temporal logic and linear dynamic logic on finite traces. In IJCAI, pages 854-860, 2013.
  11. [Duret-Lutz et al., 2016] Alexandre Duret-Lutz, Alexandre Lewkowicz, Amaury Fauchille, Thibaud Michaud, Etienne Renault, and Laurent Xu. Spot 2.0 -a framework for LTL and ω-automata manipulation. In ATVA, volume 9938 of LNCS, pages 122-129. Springer, October 2016.
  12. [Emerson, 1990] E. Allen Emerson. Temporal and modal logic. In Handbook of Theoretical Computer Science, volume B, pages 995-1072. Elsevier, 1990.
  13. [Hopcroft and Ullman, 1979] John E. Hopcroft and Jeffrey D. Ullman. Introduction to Automata Theory, Languages and Computation. Addison-Wesley, 1979.
  14. [Karpathy, 2015] Andrej Karpathy. REINFORCEjs: Water- World demo. Retrieved from http://cs.stanford.edu/people/ karpathy/reinforcejs/waterworld.html, 2015. Link
  15. [Kupferman and Vardi, 2001] Orna Kupferman and Moshe Y. Vardi. Model checking of safety properties. Formal Meth- ods in System Design, 19(3):291-314, 2001.
  16. [Lamport, 2002] Leslie Lamport. Specifying Systems, The TLA+ Language and Tools for Hardware and Software En- gineers. Addison-Wesley, 2002.
  17. [Lu et al., 2018] Tyler Lu, Dale Schuurmans, and Craig Boutilier. Non-delusional Q-learning and value-iteration. In NeurIPS, pages 9971-9981, 2018.
  18. [Mealy, 1955] George H Mealy. A method for synthesiz- ing sequential circuits. The Bell System Technical Journal, 34(5):1045-1079, Sep. 1955.
  19. [Mnih et al., 2015] Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A. Rusu, Joel Veness, Marc G Belle- mare, Alex Graves, Martin Riedmiller, Andreas K. Fidjeland, Georg Ostrovski, et al. Human-level control through deep re- inforcement learning. Nature, 518(7540):529-533, 2015.
  20. [Ng et al., 1999] Andrew Y. Ng, Daishi Harada, and Stuart Rus- sell. Policy invariance under reward transformations: Theory and application to reward shaping. In ICML, volume 3, pages 278-287, 1999.
  21. [Schaul et al., 2015] Tom Schaul, John Quan, Ioannis Antonoglou, and David Silver. Prioritized experience replay. arXiv preprint arXiv:1511.05952, 2015.
  22. [Sohrabi et al., 2011] Shirin Sohrabi, Jorge A. Baier, and Sheila A. McIlraith. Preferred explanations: Theory and gen- eration via planning. In AAAI-11, pages 261-267, 2011.
  23. [Sutton and Barto, 2018] Richard S. Sutton and Andrew G. Barto. Reinforcement learning: An introduction. MIT Press, second edition, 2018.
  24. [Thiébaux et al., 2006] Sylvie Thiébaux, Charles Gretton, John K. Slaney, David Price, and Froduald Kabanza. Decision-theoretic planning with non-Markovian rewards. Journal of Artificial Intelligence Research, 25:17-74, 2006.
  25. [Thompson, 1968] Ken Thompson. Regular expression search algorithm. Communications of the ACM, 11(6):419-422, 1968.
  26. [Toro Icarte et al., 2018a] Rodrigo Toro Icarte, Toryn Q. Klassen, Richard Anthony Valenzano, and Sheila A. McIl- raith. Teaching multiple tasks to an RL agent using LTL. In AAMAS, pages 452-461, 2018.
  27. [Toro Icarte et al., 2018b] Rodrigo Toro Icarte, Toryn Q. Klassen, Richard Anthony Valenzano, and Sheila A. McIl- raith. Using reward machines for high-level task specification and decomposition in reinforcement learning. In ICML, pages 2112-2121, 2018.
  28. [Triantafillou et al., 2015] Eleni Triantafillou, Jorge A. Baier, and Sheila A. McIlraith. A unifying framework for planning with LTL and regular expressions. In MOCHAP, a workshop collocated with ICAPS, pages 23-31, 2015.
  29. [Van Hasselt et al., 2016] Hado Van Hasselt, Arthur Guez, and David Silver. Deep reinforcement learning with double Q- learning. In AAAI, pages 2094-2100, 2016.
  30. [Watkins and Dayan, 1992] Christopher J. C. H. Watkins and Peter Dayan. Q-learning. Machine learning, 8(3-4):279-292, 1992.
  31. [Zhu et al., 2017] Shufang Zhu, Lucas M. Tabajara, Jianwen Li, Geguang Pu, and Moshe Y. Vardi. Symbolic LTLf synthesis. In IJCAI, pages 1362-1369, 2017.

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

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