Proceedings

Certified Policy Verification and Synthesis for MDPs under Distributional Reach-Avoidance Properties

Download BibTeX Cite

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

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

Abstract

Markov Decision Processes (MDPs) are a classical model for decision making in the presence of uncertainty. Often they are viewed as state transformers with planning objectives defined with respect to paths over MDP states. An increasingly popular alternative is to view them as distribution transformers, giving rise to a sequence of probability distributions over MDP states. For instance, reachability and safety properties in modeling robot swarms or chemical reaction networks are naturally defined in terms of probability distributions over states. Verifying such distributional properties is known to be hard and often beyond the reach of classical state-based verification techniques.

In this work, we consider the problems of certified policy (i.e. controller) verification and synthesis in MDPs under distributional reach-avoidance specifications. By certified we mean that, along with a policy, we also aim to synthesize a (checkable) certificate ensuring that the MDP indeed satisfies the property. Thus, given the target set of distributions and an unsafe set of distributions over MDP states, our goal is to either synthesize a certificate for a given policy or synthesize a policy along with a certificate, proving that the target distribution can be reached while avoiding unsafe distributions. To solve this problem, we introduce the novel notion of distributional reach-avoid certificates and present automated procedures for (1) synthesizing a certificate for a given policy, and (2) synthesizing a policy together with the certificate, both providing formal guarantees on certificate correctness. Our experimental evaluation demonstrates the ability of our method to solve several non-trivial examples, including a multi-agent robot-swarm model, to synthesize certified policies and to certify existing policies.

  1. [Agrawal et al., 2015] Manindra Agrawal, S. Akshay, Blaise Genest, and P. S. Thiagarajan. Approximate verification of the symbolic dynamics of markov chains. J. ACM, 62(1):2:1-2:34, 2015.
  2. [Ahmadi and Majumdar, 2016] Amir Ali Ahmadi and Anirudha Majumdar. Some applications of polynomial optimization in operations research and real-time decision making. Optim. Lett., 10(4):709-729, 2016.
  3. [Akshay et al., 2015] S. Akshay, Timos Antonopoulos, Joël Ouaknine, and James Worrell. Reachability problems for markov chains. Inf. Process. Lett., 115(2):155-158, 2015.
  4. [Akshay et al., 2018] S. Akshay, Blaise Genest, and Nikhil Vyas. Distribution-based objectives for markov decision processes. In LICS, pages 36-45. ACM, 2018.
  5. [Akshay et al., 2023] S. Akshay, Krishnendu Chatterjee, To- bias Meggendorfer, and Dorde Zikelic. Mdps as distri- bution transformers: Affine invariant synthesis for safety objectives. In CAV (3), volume 13966 of Lecture Notes in Computer Science, pages 86-112. Springer, 2023.
  6. [Akshay et al., 2024] S. Akshay, Krishnendu Chatterjee, To- bias Meggendorfer, and Ðor de Žikelić. Certified policy verification and synthesis for mdps under distributional reach-avoidance properties, 2024.
  7. [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.
  8. [Asadi et al., 2021] Ali Asadi, Krishnendu Chatterjee, Hongfei Fu, Amir Kafshdar Goharshady, and Moham- mad Mahdavi. Polynomial reachability witnesses via stellensätze. In PLDI, pages 772-787. ACM, 2021.
  9. [Badings et al., 2022] Thom S. Badings, Alessandro Abate, Nils Jansen, David Parker, Hasan A. Poonawala, and Mar- iëlle Stoelinga. Sampling-based robust control of au- tonomous systems with non-gaussian noise. In Thirty-Sixth AAAI Conference on Artificial Intelligence, AAAI 2022, Thirty-Fourth Conference on Innovative Applications of Artificial Intelligence, IAAI 2022, The Twelveth Symposium on Educational Advances in Artificial Intelligence, EAAI 2022 Virtual Event, February 22 -March 1, 2022, pages 9669-9678. AAAI Press, 2022.
  10. [Badings et al., 2023] Thom S. Badings, Licio Romao, Alessandro Abate, and Nils Jansen. Probabilities are not enough: Formal controller synthesis for stochastic dynam- ical models with epistemic uncertainty. In AAAI, pages 14701-14710. AAAI Press, 2023.
  11. [Baier and Katoen, 2008] Christel Baier and Joost-Pieter Ka- toen. Principles of model checking. MIT Press, 2008.
  12. [Baldoni et al., 2008] Roberto Baldoni, François Bonnet, Alessia Milani, and Michel Raynal. On the solvability of anonymous partial grids exploration by mobile robots. In OPODIS, volume 5401 of Lecture Notes in Computer Science, pages 428-445. Springer, 2008.
  13. [Beauquier et al., 2006] Danièle Beauquier, Alexan- der Moshe Rabinovich, and Anatol Slissenko. A logic of probability with decidable model checking. J. Log. Comput., 16(4):461-487, 2006.
  14. [Cauchi and Abate, 2019] Nathalie Cauchi and Alessandro Abate. Stochy-automated verification and synthesis of stochastic processes. In Proceedings of the 22nd ACM International Conference on Hybrid Systems: Computation and Control, pages 258-259, 2019.
  15. [Chadha et al., 2011] Rohit Chadha, Vijay Anand Kor- thikanti, Mahesh Viswanathan, Gul Agha, and YoungMin Kwon. Model checking mdps with a unique compact in- variant set of distributions. In Eighth International Confer- ence on Quantitative Evaluation of Systems, QEST 2011, Aachen, Germany, 5-8 September, 2011, pages 121-130. IEEE Computer Society, 2011.
  16. [Cimatti et al., 2013] Alessandro Cimatti, Alberto Griggio, Bastiaan Schaafsma, and Roberto Sebastiani. The Math- SAT5 SMT Solver. In Nir Piterman and Scott Smolka, editors, Proceedings of TACAS, volume 7795 of LNCS. Springer, 2013.
  17. [Colón and Sipma, 2001] Michael Colón and Henny Sipma. Synthesis of linear ranking functions. In TACAS, volume 2031 of Lecture Notes in Computer Science, pages 67-81. Springer, 2001.
  18. [Colón et al., 2003] Michael Colón, Sriram Sankara- narayanan, and Henny Sipma. Linear invariant generation using non-linear constraint solving. In CAV, volume 2725 of Lecture Notes in Computer Science, pages 420-432. Springer, 2003.
  19. [de Moura and Bjørner, 2008] Leonardo Mendonça de Moura and Nikolaj S. Bjørner. Z3: an efficient SMT solver. In TACAS, volume 4963 of Lecture Notes in Computer Science, pages 337-340. Springer, 2008.
  20. [Doyen et al., 2014] Laurent Doyen, Thierry Massart, and Mahsa Shirmohammadi. Limit synchronization in markov decision processes. In FoSSaCS, volume 8412 of Lecture Notes in Computer Science, pages 58-72. Springer, 2014.
  21. [Dutertre, 2014] Bruno Dutertre. Yices 2.2. In CAV, volume 8559 of Lecture Notes in Computer Science, pages 737-744. Springer, 2014.
  22. [Farkas, 1902] Julius Farkas. Theorie der einfachen ungle- ichungen. Journal für die reine und angewandte Mathe- matik (Crelles Journal), 1902(124):1-27, 1902.
  23. [Gario and Micheli, 2015] Marco Gario and Andrea Micheli. Pysmt: a solver-agnostic library for fast prototyping of smt-based algorithms. In SMT workshop, volume 2015, 2015.
  24. [Grover et al., 2022] Kush Grover, Jan Kretínský, Tobias Meggendorfer, and Maximilian Weininger. Anytime guar- antees for reachability in uncountable markov decision pro- cesses. In CONCUR, volume 243 of LIPIcs, pages 11:1- 11:20. Schloss Dagstuhl -Leibniz-Zentrum für Informatik, 2022.
  25. [Gulwani et al., 2008] Sumit Gulwani, Saurabh Srivastava, and Ramarathnam Venkatesan. Program analysis as con- straint solving. In PLDI, pages 281-292. ACM, 2008.
  26. [Henzinger et al., 2009] Thomas A. Henzinger, Maria Ma- teescu, and Verena Wolf. Sliding window abstraction for infinite markov chains. In CAV, volume 5643 of Lecture Notes in Computer Science, pages 337-352. Springer, 2009.
  27. [Jansen et al., 2020] Nils Jansen, Bettina Könighofer, Sebas- tian Junges, Alex Serban, and Roderick Bloem. Safe re- inforcement learning using probabilistic shields (invited paper). In CONCUR, volume 171 of LIPIcs, pages 3:1- 3:16. Schloss Dagstuhl -Leibniz-Zentrum für Informatik, 2020.
  28. [Jarvis-Wloszek et al., 2003] Zachary Jarvis-Wloszek, Ryan Feeley, Weehong Tan, Kunpeng Sun, and Andrew Packard. Some controls applications of sum of squares program- ming. In 42nd IEEE international conference on decision and control (IEEE Cat. No. 03CH37475), volume 5, pages 4676-4681. IEEE, 2003.
  29. [Korthikanti et al., 2010] Vijay Anand Korthikanti, Mahesh Viswanathan, Gul Agha, and YoungMin Kwon. Reasoning about mdps as transformers of probability distributions. In QEST, pages 199-208. IEEE Computer Society, 2010.
  30. [Kwiatkowska et al., 2007] Marta Z. Kwiatkowska, Gethin Norman, and David Parker. Stochastic model checking. In SFM, volume 4486 of Lecture Notes in Computer Science, pages 220-270. Springer, 2007.
  31. [Kwon and Agha, 2011] YoungMin Kwon and Gul A. Agha. Verifying the evolution of probability distributions gov- erned by a DTMC. IEEE Trans. Software Eng., 37(1):126- 141, 2011.
  32. [Lavaei et al., 2020] Abolfazl Lavaei, Mahmoud Khaled, Sadegh Soudjani, and Majid Zamani. AMYTISS: par- allelized automated controller synthesis for large-scale stochastic systems. In CAV (2), volume 12225 of Lec- ture Notes in Computer Science, pages 461-474. Springer, 2020.
  33. [Lechner et al., 2022] Mathias Lechner, Dorde Zikelic, Kr- ishnendu Chatterjee, and Thomas A. Henzinger. Stability verification in stochastic control systems via neural network supermartingales. In Thirty-Sixth AAAI Conference on Ar- tificial Intelligence, AAAI 2022, Thirty-Fourth Conference on Innovative Applications of Artificial Intelligence, IAAI 2022, The Twelveth Symposium on Educational Advances in Artificial Intelligence, EAAI 2022 Virtual Event, Febru- ary 22 -March 1, 2022, pages 7326-7336. AAAI Press, 2022.
  34. [Lipton et al., 2022] Richard Lipton, Florian Luca, Joris Nieuwveld, Joël Ouaknine, David Purser, and James Wor- rell. On the skolem problem and the skolem conjecture. In LICS, pages 5:1-5:9. ACM, 2022.
  35. [Meurer et al., 2017] Aaron Meurer, Christopher P. Smith, Mateusz Paprocki, Ondrej Certík, Sergey B. Kirpichev, Matthew Rocklin, Amit Kumar, Sergiu Ivanov, Jason Keith Moore, Sartaj Singh, Thilina Rathnayake, Sean Vig, Brian E. Granger, Richard P. Muller, Francesco Bonazzi, Harsh Gupta, Shivam Vats, Fredrik Johansson, Fabian Pe- dregosa, Matthew J. Curry, Andy R. Terrel, Stepán Roucka, Ashutosh Saboo, Isuru Fernando, Sumith Kulal, Robert Cimrman, and Anthony M. Scopatz. Sympy: symbolic computing in python. PeerJ Comput. Sci., 3:e103, 2017.
  36. [Ouaknine and Worrell, 2012] Joël Ouaknine and James Wor- rell. Decision problems for linear recurrence sequences. In RP, volume 7550 of Lecture Notes in Computer Science, pages 21-28. Springer, 2012.
  37. [Prajna et al., 2007] Stephen Prajna, Ali Jadbabaie, and George J. Pappas. A framework for worst-case and stochas- tic safety verification using barrier certificates. IEEE Trans. Autom. Control., 52(8):1415-1428, 2007.
  38. [Puterman, 1994] Martin L. Puterman. Markov Decision Pro- cesses: Discrete Stochastic Dynamic Programming. Wiley Series in Probability and Statistics. Wiley, 1994.
  39. [Soudjani et al., 2015] Sadegh Esmaeil Zadeh Soudjani, Cas- par Gevaerts, and Alessandro Abate. FAUST 2 : Formal abstractions of uncountable-state stochastic processes. In TACAS, volume 9035 of Lecture Notes in Computer Sci- ence, pages 272-286. Springer, 2015.
  40. [Xue et al., 2021] Bai Xue, Renjue Li, Naijun Zhan, and Mar- tin Fränzle. Reach-avoid analysis for stochastic discrete- time systems. In ACC, pages 4879-4885. IEEE, 2021.
  41. [Zikelic et al., 2023a] Dorde Zikelic, Mathias Lechner, Thomas A. Henzinger, and Krishnendu Chatterjee. Learn- ing control policies for stochastic systems with reach-avoid guarantees. In AAAI, pages 11926-11935. AAAI Press, 2023.
  42. [Zikelic et al., 2023b] Dorde Zikelic, Mathias Lechner, Abhi- nav Verma, Krishnendu Chatterjee, and Thomas A. Hen- zinger. Compositional policy learning in stochastic control systems with formal guarantees. In Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 -16, 2023, 2023.

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

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