Proceedings

Verifying Reinforcement Learning up to Infinity

Download BibTeX Cite

Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence. Main Track. Pages 2154-2160.

https://doi.org/10.24963/ijcai.2021/297

Abstract

Formally verifying that reinforcement learning systems act

safely is increasingly important, but existing methods

only verify over finite time.

This is of limited use for dynamical systems that run indefinitely.

We introduce the first method for verifying the time-unbounded

safety of neural networks controlling dynamical systems.

We develop a novel abstract interpretation method which,

by constructing adaptable template-based polyhedra using MILP and interval

arithmetic, yields sound---safe and invariant---overapproximations

of the reach set.

This provides stronger safety guarantees

than previous time-bounded methods and shows whether

the agent has generalised beyond the length of its training episodes.

Our method supports ReLU activation functions

and systems with linear, piecewise linear and non-linear dynamics

defined with polynomial and transcendental functions.

We demonstrate its efficacy on a range of benchmark control problems.

  1. [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, pages 2669-2678. AAAI Press, 2018.
  2. [Bacci and Parker, 2020] Edoardo Bacci and David Parker. Probabilistic guarantees for safe deep reinforcement learn- ing. In FORMATS, pages 231-248. Springer, 2020.
  3. [Bogomolov et al., 2017] Sergiy Bogomolov, Goran Frehse, Mirco Giacobbe, and Thomas A. Henzinger. Counterex- ample-guided refinement of template polyhedra. In TACAS (1), pages 589-606, 2017.
  4. [Brockman et al., 2016] Greg Brockman, Vicki Cheung, Lud- wig Pettersson, Jonas Schneider, John Schulman, Jie Tang, and Wojciech Zaremba. OpenAI gym. arXiv:1606.01540, 2016.
  5. [Bunel et al., 2018] Rudy Bunel, Ilker Turkaslan, Philip H. S. Torr, Pushmeet Kohli, and Pawan Kumar Mudigonda. A unified view of piecewise linear neural network verification. In NeurIPS, pages 4795-4804, 2018.
  6. [Cheng et al., 2019] Richard Cheng, Gábor Orosz, Richard M. Murray, and Joel W. Burdick. End-to- end safe reinforcement learning through barrier functions for safety-critical continuous control tasks. In AAAI, pages 3387-3395. AAAI Press, 2019.
  7. [Desjardins and Chaib-draa, 2011] Charles Desjardins and Brahim Chaib-draa. Cooperative adaptive cruise control: A reinforcement learning approach. IEEE Trans. Intell. Transp. Syst., 12(4):1248-1260, 2011.
  8. [Dutta et al., 2018] Souradeep Dutta, Susmit Jha, Sriram Sankaranarayanan, and Ashish Tiwari. Output range analy- sis for deep feedforward neural networks. In NFM, pages 121-138. Springer, 2018.
  9. [Ehlers, 2017] Rüdiger Ehlers. Formal verification of piece- wise linear feed-forward neural networks. In ATVA, pages 269-286. Springer, 2017.
  10. [Frehse et al., 2018] Goran Frehse, Mirco Giacobbe, and Thomas A. Henzinger. Space-time interpolants. In CAV (1), pages 468-486. Springer, 2018.
  11. [Fulton and Platzer, 2018] Nathan Fulton and André Platzer. Safe reinforcement learning via formal methods: Toward safe control through proof and learning. In AAAI, pages 6485-6492. AAAI Press, 2018.
  12. [Gehr et al., 2018] Timon Gehr, Matthew Mirman, Dana Drachsler-Cohen, Petar Tsankov, Swarat Chaudhuri, and Martin T. Vechev. AI2: safety and robustness certification of neural networks with abstract interpretation. In IEEE SP, pages 3-18. IEEE Computer Society, 2018.
  13. [Hasanbeig et al., 2019] Mohammadhosein Hasanbeig, Alessandro Abate, and Daniel Kroening. Logically- constrained neural fitted q-iteration. In AAMAS, pages 2012-2014.
  14. IFAAMAS, 2019.
  15. [Huang et al., 2017] Xiaowei Huang, Marta Kwiatkowska, Sen Wang, and Min Wu. Safety verification of deep neural networks. In CAV (1), pages 3-29. Springer, 2017.
  16. [Jaeger et al., 2019] Manfred Jaeger, Peter Gjøl Jensen, Kim Guldstrand Larsen, Axel Legay, Sean Sedwards, and Jakob Haahr Taankvist. Teaching stratego to play ball: Op- timal synthesis for continuous space mdps. In ATVA, pages 81-97. Springer, 2019.
  17. [Katz et al., 2019] Guy Katz, Derek A. Huang, Duligur Ibel- ing, Kyle Julian, Christopher Lazarus, Rachel Lim, Parth Shah, Shantanu Thakoor, Haoze Wu, Aleksandar Zeljic, David L. Dill, Mykel J. Kochenderfer, and Clark W. Barrett. The marabou framework for verification and analysis of deep neural networks. In CAV (1), pages 443-452. Springer, 2019.
  18. [Kendall et al., 2019] Alex Kendall, Jeffrey Hawke, David Janz, Przemyslaw Mazur, Daniele Reda, John-Mark Allen, Vinh-Dieu Lam, Alex Bewley, and Amar Shah. Learning to drive in a day. In ICRA, pages 8248-8254. IEEE, 2019.
  19. [Li and Bastani, 2020] Shuo Li and Osbert Bastani. Robust model predictive shielding for safe reinforcement learn- ing with stochastic dynamics. In ICRA, pages 7166-7172. IEEE, 2020.
  20. [Luckcuck et al., 2019] Matt Luckcuck, Marie Farrell, Louise A. Dennis, Clare Dixon, and Michael Fisher. Formal specification and verification of autonomous robotic systems: A survey. ACM Comput. Surv., 52(5):100:1-100:41, 2019.
  21. [Moosavi-Dezfooli et al., 2016] Seyed-Mohsen Moosavi- Dezfooli, Alhussein Fawzi, and Pascal Frossard. Deepfool: A simple and accurate method to fool deep neural networks. In CVPR, pages 2574-2582. IEEE Computer Society, 2016.
  22. [Sankaranarayanan et al., 2005] Sriram Sankaranarayanan, Henny B. Sipma, and Zohar Manna. Scalable analysis of linear systems using mathematical programming. In VMCAI, pages 25-41. Springer, 2005.
  23. [Schulman et al., 2017] John Schulman, Filip Wolski, Pra- fulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv:1707.06347, 2017.
  24. [Singh et al., 2019] Gagandeep Singh, Timon Gehr, Markus Püschel, and Martin T. Vechev. An abstract domain for certifying neural networks. Proc. ACM Program. Lang., 3(POPL):41:1-41:30, 2019.
  25. [Tjeng et al., 2019] Vincent Tjeng, Kai Y. Xiao, and Russ Tedrake. Evaluating robustness of neural networks with mixed integer programming. In ICLR (Poster). OpenRe- view.net, 2019.
  26. [Tran et al., 2020] Hoang-Dung Tran, Xiaodong Yang, Die- go Manzanas Lopez, Patrick Musau, Luan Viet Nguyen, Weiming Xiang, Stanley Bak, and Taylor T. Johnson. NNV: the neural network verification tool for deep neural net- works and learning-enabled cyber-physical systems. In CAV (1), pages 3-17. Springer, 2020.
  27. [Xiang et al., 2018] Weiming Xiang, Hoang-Dung Tran, and Taylor T. Johnson. Output reachable set estimation and verification for multilayer neural networks. IEEE Trans. Neural Networks Learn. Syst., 29(11):5777-5783, 2018.

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

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