Proceedings

Transfer of Temporal Logic Formulas in Reinforcement Learning

Download BibTeX Cite

Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence. Main track. Pages 4010-4018.

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

Abstract

Transferring high-level knowledge from a source task to a target task is an effective way to expedite reinforcement learning (RL). For example, propositional logic and first-order logic have been used as representations of such knowledge. We study the transfer of knowledge between tasks in which the timing of the events matters. We call such tasks temporal tasks. We concretize similarity between temporal tasks through a notion of logical transferability, and develop a transfer learning approach between different yet similar temporal tasks. We first propose an inference technique to extract metric interval temporal logic (MITL) formulas in sequential disjunctive normal form from labeled trajectories collected in RL of the two tasks. If logical transferability is identified through this inference, we construct a timed automaton for each sequential conjunctive subformula of the inferred MITL formulas from both tasks. We perform RL on the extended state which includes the locations and clock valuations of the timed automata for the source task. We then establish mappings between the corresponding components (clocks, locations, etc.) of the timed automata from the two tasks, and transfer the extended Q-functions based on the established mappings. Finally, we perform RL on the extended state for the target task, starting with the transferred extended Q-functions. Our implementation results show, depending on how similar the source task and the target task are, that the sampling efficiency for the target task can be improved by up to one order of magnitude by performing RL in the extended state space, and further improved by up to another order of magnitude using the transferred extended Q-functions.

  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 specifications. In IEEE CDC'16, pages 6565-6570, Dec 2016.
  2. [Alshiekh et al., 2018] Mohammed Alshiekh, Roderick Bloem, Rüdiger Ehlers, Bettina Könighofer, Scott Niekum, and Ufuk Topcu. Safe reinforcement learning via shielding. In AAAI'18, 2018.
  3. [Alur and Dill, 1994] Rajeev Alur and David L. Dill. A the- ory of timed automata. Theoretical Computer Science, 126:183-235, 1994.
  4. [Alur et al., 1996] Rajeev Alur, Tomás Feder, and Thomas A. Henzinger. The benefits of relaxing punctual- ity. J. ACM, 43(1):116-146, January 1996.
  5. [Bombara et al., 2016] Giuseppe Bombara, Cristian-Ioan Vasile, Francisco Penedo, Hirotoshi Yasuoka, and Calin Belta. A decision tree approach to data classification us- ing signal temporal logic. In Proc. HSCC'16, pages 1-10, 2016.
  6. [Eberhart and Shi, 2001] Eberhart and Yuhui Shi. Particle swarm optimization: developments, applications and re- sources. In Proceedings of the 2001 Congress on Evo- lutionary Computation (IEEE Cat. No.01TH8546), vol- ume 1, pages 81-86 vol. 1, May 2001.
  7. [Fu and Topcu, 2014] Jie Fu and Ufuk Topcu. Probably ap- proximately correct MDP learning and control with tem- poral logic constraints. Robotics: Science and Systems, abs/1404.7073, 2014.
  8. [Glushkov, 1961] Victor M. Glushkov. The abstract theory of automata. Russian Mathematical Surveys, 16(5):1, 1961.
  9. [Gruber et al., 2005] Hermann Gruber, Markus Holzer, Astrid Kiehn, and Barbara König. On timed automata with discrete time -structural and language theoretical characterization. In Developments in Language Theory, pages 272-283. Springer Berlin Heidelberg, 2005.
  10. [Hoxha et al., 2017] Bardh Hoxha, Adel Dokhanchi, and Georgios Fainekos. Mining parametric temporal logic properties in model-based design for cyber-physical sys- tems. International Journal on Software Tools for Tech- nology Transfer, pages 79-93, Feb 2017.
  11. [Kong et al., 2017] Zhaodan Kong, Austin Jones, and Calin Belta. Temporal logics for learning and detection of anomalous behavior. IEEE TAC, 62(3):1210-1222, Mar. 2017.
  12. [Kress-Gazit et al., 2011] Hadas Kress-Gazit, Tichakorn Wongpiromsarn, and Ufuk Topcu. Correct, reactive, high-level robot control. IEEE Robotics Automation Magazine, 18(3):65-74, Sept 2011.
  13. [Li et al., 2017] Xiao Li, Cristian-Ioan Vasile, and Calin Belta. Reinforcement learning with temporal logic re- wards. In Proc. IROS'17, pages 3834-3839, Sept 2017.
  14. [Mihalkova et al., 2007] Lilyana Mihalkova, Tuyen N. Huynh, and Raymond J. Mooney. Mapping and revising markov logic networks for transfer learning. In Proc. AAAI'07, pages 608-614, Vancouver, BC, July 2007.
  15. [Neider and Gavran, 2018] Daniel Neider and Ivan Gavran. Learning linear temporal properties. In Formal Methods in Computer Aided Design (FMCAD), pages 1-10, 2018.
  16. [Ouaknine and Worrell, 2005] Joël Ouaknine and James Worrell. On the decidability of metric temporal logic. In Proc. Annual IEEE Symposium on Logic in Computer Sci- ence, LICS'05, pages 188-197, Washington, DC, USA, 2005. IEEE Computer Society.
  17. [Pnueli, 1977] Amir Pnueli. The temporal logic of programs. In Proc. 18th Annu. Symp. Found. Computer Sci., pages 46-57, Washington, D.C., USA, 1977.
  18. [Shah et al., 2018] Ankit Shah, Pritish Kamath, Julie A Shah, and Shen Li. Bayesian inference of temporal task specifications from demonstrations. In S. Bengio, H. Wal- lach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett, editors, NeurIPS, pages 3808-3817.
  19. Curran Associates, Inc., 2018.
  20. [Taylor and Stone, 2007] Matthew E. Taylor and Peter Stone. Cross-domain transfer for reinforcement learning. In Proc. ICML'07, pages 879-886, New York, NY, USA, 2007. ACM.
  21. [To et al., 2016] Son Thanh To, Mark Roberts, homas Apker, Benjamin Johnson, and David W. Aha. Mixed proposi- tional metric temporal logic: A new formalism for tempo- ral planning. In D. Magazzeni, S. Sanner, & S. Thiebaux (Eds.) Planning for Hybrid Systems: Papers from the AAAI Workshop (Technical Report WS-16-13), Phoenix, AZ, 2016. AAAI Press.
  22. [Toro Icarte et al., 2018a] Rodrigo Toro Icarte, Toryn Q. Klassen, Richard Valenzano, and Sheila A. McIlraith. Advice-based exploration in model-based reinforcement learning. In Proc. CCAI'18, pages 72-83, 2018.
  23. [Toro Icarte et al., 2018b] Rodrigo Toro Icarte, Toryn Q. Klassen, Richard Valenzano, and Sheila A. McIlraith. Teaching multiple tasks to an RL agent using LTL. In AA- MAS'18, pages 452-461, Richland, SC, 2018.
  24. [Torrey and Shavlik, 2010] Lisa Torrey and Jude Shavlik. Policy transfer via markov logic networks. In Luc De Raedt, editor, Inductive Logic Programming, pages 234-248, Berlin, Heidelberg, 2010. Springer Berlin Hei- delberg.
  25. [Torrey et al., 2008] Lisa Torrey, Jude W. Shavlik, Trevor Walker, and Richard Maclin. Rule extraction for trans- fer learning. In Rule Extraction from Support Vector Ma- chines, pages 67-82, 2008.
  26. [Vazquez-Chanlatte et al., 2018] Marcell Vazquez- Chanlatte, Susmit Jha, Ashish Tiwari, Mark K. Ho, and Sanjit A. Seshia. Learning task specifications from demonstrations. In NeurIPS, pages 5372-5382, 2018.
  27. [Wang and Taylor, 2017] Zhaodong Wang and Matthew E. Taylor. Improving reinforcement learning with confidence-based demonstrations. In Proc. IJCAI'17, pages 3027-3033. AAAI Press, 2017. IJCAI
  28. [Watkins and Dayan, 1992] Christopher J. C. H. Watkins and Peter Dayan. Q-learning. Machine Learning, 8(3):279- 292, May 1992.
  29. [Wen et al., 2017] Min Wen, Ivan Papusha, and Ufuk Topcu. Learning from demonstrations with high-level side infor- mation. In Proc. IJCAI'17, pages 3055-3061, 2017. IJCAI
  30. [Xu and Julius, 2018] Zhe Xu and Agung Julius. Census sig- nal temporal logic inference for multiagent group behavior analysis. IEEE Trans. Autom. Sci. Eng., 15(1):264-277, Jan. 2018.
  31. [Xu et al., 2018] Zhe Xu, Sayan Saha, Botao Hu, Sandipan Mishra, and Agung Julius. Advisory temporal logic in- ference and controller design for semiautonomous robots. IEEE Trans. Autom. Sci. Eng., pages 1-19, 2018.
  32. [Xu et al., 2019] Zhe Xu, Melkior Ornik, Agung Julius, and Ufuk Topcu. Information-guided temporal logic inference with prior knowledge. In Proc. IEEE Amer. Control Conf., 2019.
  33. [Zhuo and Yang, 2014] Hankz Hankui Zhuo and Qiang Yang. Action-model acquisition for planning via transfer learning. Artificial Intelligence, 212:80 -103, 2014.

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

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