Proceedings

ASP-Based Probabilistic Policy Fixing for Norm Compliant RL

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 3765-3773.

https://doi.org/10.24963/ijcai.2026/419

Abstract

Reinforcement learning (RL) is commonly used to learn reward-optimizing policies. However, RL policies are not always trained with ethical behavior in mind, which can lead an agent to violate social or legal norms in pursuit of its goal. Retraining agents with additional norms is not always feasible, especially in complex stochastic environments. To mitigate this issue, we present a probabilistic policy fixing framework that adapts norm-agnostic policies online. Using Answer Set Programming (ASP), we generate policy fixes that minimize deviations from the RL policy while optimizing for norm adherence against a set of sampled worlds. Based on the Rule of Three and Hoeffding's inequality, we provide guarantees that fixed policies are near optimal, given a specified level of confidence.

  1. [Adam and Eiter, 2025] Sebastian Adam and Thomas Eiter. Asp-driven emergency planning for norm violations in rein- forcement learning. In AAAI, pages 14772-14780. AAAI Press, 2025.
  2. [Alviano et al., 2017] Mario Alviano, Francesco Calimeri, Carmine Dodaro, Davide Fuscà, Nicola Leone, Simona Perri, Francesco Ricca, Pierfrancesco Veltri, and Jessica Zangari. The ASP system DLV2. In LPNMR, volume 10377 of Lecture Notes in Computer Science, pages 215- 221. Springer, 2017.
  3. [Baral et al., 2000] Chitta Baral, Vladik Kreinovich, and Raul Trejo. Computational complexity of planning and approximate planning in the presence of incompleteness. Artif. Intell., 122(1-2):241-267, 2000.
  4. [Baral et al., 2009] Chitta Baral, Michael Gelfond, and J. Nel- son Rushton. Probabilistic reasoning with answer sets. Theory Pract. Log. Program., 9(1):57-144, 2009.
  5. [Berner et al., 2019] Christopher Berner, Greg Brockman, Brooke Chan, Vicki Cheung, Przemyslaw Debiak, Christy Dennison, David Farhi, Quirin Fischer, Shariq Hashme, Christopher Hesse, Rafal Józefowicz, Scott Gray, Catherine Olsson, Jakub Pachocki, Michael Petrov, Henrique Pondé de Oliveira Pinto, Jonathan Raiman, Tim Salimans, Jeremy Schlatter, Jonas Schneider, Szymon Sidor, Ilya Sutskever, Jie Tang, Filip Wolski, and Susan Zhang. Dota 2 with large scale deep reinforcement learning. CoRR, abs/1912.06680, 2019.
  6. [Brewka et al., 2011] Gerhard Brewka, Thomas Eiter, and Miroslaw Truszczynski. Answer set programming at a glance. Commun. ACM, 54(12):92-103, 2011.
  7. [Cabalar and Manteiga, 2025] Pedro Cabalar and Ovidio Manteiga. deolingo: Extending answer set programming with deontic reasoning. In DEON, pages 61-77. College Publications, 2025.
  8. [Cabalar et al., 2023] Pedro Cabalar, Agata Ciabattoni, and Leendert van der Torre. Deontic equilibrium logic with explicit negation. In JELIA, volume 14281 of Lecture Notes in Computer Science, pages 498-514. Springer, 2023.
  9. [Cozman and Mauá, 2020] Fábio Gagliardi Cozman and De- nis Deratani Mauá. The joy of probabilistic answer set programming: Semantics, complexity, expressivity, infer- ence. Int. J. Approx. Reason., 125:218-239, 2020.
  10. [Dai et al., 2025] Jin Dai, Yunfei Gao, Chao Cai, Wei Xiong, and Manjia Liu. Uav-enabled inspection system with no-fly zones: Drl-based joint mobile nest scheduling and UAV trajectory design. IEEE Access, 13:10844-10856, 2025.
  11. [De Giacomo and Vardi, 2013] Giuseppe De Giacomo and Moshe Y. Vardi. Linear temporal logic and linear dy- namic logic on finite traces. In IJCAI, pages 854-860. IJCAI/AAAI, 2013.
  12. [De Giacomo et al., 2019] Giuseppe De Giacomo, Luca Ioc- chi, Marco Favorito, and Fabio Patrizi. Foundations for restraining bolts: Reinforcement learning with ltlf/ldlf re- straining specifications. In ICAPS, pages 128-136. AAAI Press, 2019.
  13. [Fichte et al., 2017] Johannes Klaus Fichte, Markus Hecher, Michael Morak, and Stefan Woltran. Answer set solv- ing with bounded treewidth revisited. In LPNMR, volume 10377 of Lecture Notes in Computer Science, pages 132- 145. Springer, 2017.
  14. [Gabbay et al., 2013] Dov M. Gabbay, John Horty, and Xavier Parent. Handbook of Deontic Logic and Normative Systems. College Publications, 2013.
  15. [Gebser et al., 2014] Martin Gebser, Roland Kaminski, Ben- jamin Kaufmann, and Torsten Schaub. Clingo = ASP + control: Preliminary report. CoRR, abs/1405.3694, 2014.
  16. [Gebser et al., 2019] Martin Gebser, Roland Kaminski, Ben- jamin Kaufmann, and Torsten Schaub. Multi-shot ASP solv- ing with clingo. Theory Pract. Log. Program., 19(1):27-82, 2019.
  17. [Governatori et al., 2007] Guido Governatori, Joris Hulstijn, Régis Riveret, and Antonino Rotolo. Characterising dead- lines in temporal modal defeasible logic. In Australian Conference on Artificial Intelligence, volume 4830 of Lec- ture Notes in Computer Science, pages 486-496. Springer, 2007.
  18. [Governatori, 2024] Guido Governatori. An ASP implemen- tation of defeasible deontic logic. Künstliche Intell., 38(1- 2):79-88, 2024.
  19. [Gu et al., 2017] Shixiang Gu, Ethan Holly, Timothy P. Lilli- crap, and Sergey Levine. Deep reinforcement learning for robotic manipulation with asynchronous off-policy updates. In ICRA, pages 3389-3396. IEEE, 2017.
  20. [Hahn et al., 2025] Susana Hahn, Tomi Janhunen, Roland Kaminski, Javier Romero, Nicolas Rühling, and Torsten Schaub. Plingo: A system for probabilistic reasoning in answer set programming. Theory Pract. Log. Program., 25(2):134-167, 2025.
  21. [Hatschka et al., 2023] Christian Hatschka, Agata Ciabattoni, and Thomas Eiter. Deontic paradoxes in ASP with weak constraints. In ICLP, volume 385 of EPTCS, pages 367- 380, 2023.
  22. [Hoeffding, 1963] Wassily Hoeffding. Probability Inequali- ties for Sums of Bounded Random Variables. Journal of the American Statistical Association, 58:13-30, 1963.
  23. [Jovanovic and Levy, 1997] B. D. Jovanovic and P. S. Levy. A Look at the Rule of Three. The American Statistician, 51:137-139, 1997.
  24. [Kabir et al., 2022] Mohimenul Kabir, Flavio O. Everardo, Ankit K. Shukla, Markus Hecher, Johannes Klaus Fichte, and Kuldeep S. Meel. Approxasp -a scalable approximate answer set counter. In AAAI, pages 5755-5764. AAAI Press, 2022.
  25. [Könighofer et al., 2025] Bettina Könighofer, Roderick Bloem, Nils Jansen, Sebastian Junges, and Stefan Pranger. Shields for safe reinforcement learning. Commun. ACM, 68(11):80-90, 2025.
  26. [le Court et al., 2025] Edwin Hamel-De le Court, Francesco Belardinelli, and Alexander W. Goodall. Probabilistic shielding for safe reinforcement learning. In AAAI, pages 16091-16099. AAAI Press, 2025.
  27. [Lee and Wang, 2016] Joohyung Lee and Yi Wang. Weighted rules under the stable model semantics. In KR, pages 145- 154. AAAI Press, 2016.
  28. [Leone et al., 2006] Nicola Leone, Gerald Pfeifer, Wolfgang Faber, Thomas Eiter, Georg Gottlob, Simona Perri, and Francesco Scarcello. The DLV system for knowledge representation and reasoning. ACM Trans. Comput. Log., 7(3):499-562, 2006.
  29. [Leonetti et al., 2016] Matteo Leonetti, Luca Iocchi, and Pe- ter Stone. A synthesis of automated planning and reinforce- ment learning for efficient, robust decision-making. Artif. Intell., 241:103-130, 2016.
  30. [Littman et al., 1998] Michael L. Littman, Judy Goldsmith, and Martin Mundhenk. The computational complexity of probabilistic planning. J. Artif. Intell. Res., 9:1-36, 1998.
  31. [Meyer et al., 1994] J.-J. Ch Meyer, F. P. M. Dignum, and Roelf J. Wieringa. The paradoxes of deontic logic revisited: a computer science perspective. 1994.
  32. [Mnih et al., 2015] Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A. Rusu, Joel Veness, Marc G. Belle- mare, Alex Graves, Martin A. Riedmiller, Andreas Fid- jeland, Georg Ostrovski, Stig Petersen, Charles Beattie, Amir Sadik, Ioannis Antonoglou, Helen King, Dharshan Kumaran, Daan Wierstra, Shane Legg, and Demis Hassabis. Human-level control through deep reinforcement learning. Nat., 518(7540):529-533, 2015.
  33. [Mohri et al., 2012] Mehryar Mohri, Afshin Rostamizadeh, and Ameet Talwalkar. Foundations of Machine Learning. Adaptive computation and machine learning. MIT Press, 2012.
  34. [Neufeld et al., 2021] Emery A. Neufeld, Ezio Bartocci, Agata Ciabattoni, and Guido Governatori. A normative supervisor for reinforcement learning agents. In CADE, volume 12699 of Lecture Notes in Computer Science, pages 565-576. Springer, 2021.
  35. [Neufeld et al., 2024] Emery A. Neufeld, Agata Ciabattoni, and Radu Florin Tulcan. Norm compliance in reinforce- ment learning agents via restraining bolts. In JURIX, vol- ume 395 of Frontiers in Artificial Intelligence and Applica- tions, pages 119-130. IOS Press, 2024.
  36. [Nickles, 2018] Matthias Nickles. Differentiable SAT/ASP. In PLP@ILP, volume 2219 of CEUR Workshop Proceed- ings, pages 62-74. CEUR-WS.org, 2018.
  37. [Prakken and Sergot, 1996] Henry Prakken and Marek J. Ser- got. Contrary-to-duty obligations. Stud Logica, 57(1):91- 115, 1996.
  38. [Rintanen, 2004] Jussi Rintanen. Complexity of planning with partial observability. In ICAPS, pages 345-354. AAAI, 2004.
  39. [Silver et al., 2016] David Silver, Aja Huang, Chris J. Maddi- son, Arthur Guez, Laurent Sifre, George van den Driessche, Julian Schrittwieser, Ioannis Antonoglou, Vedavyas Pan- neershelvam, Marc Lanctot, Sander Dieleman, Dominik Grewe, John Nham, Nal Kalchbrenner, Ilya Sutskever, Tim- othy P. Lillicrap, Madeleine Leach, Koray Kavukcuoglu, Thore Graepel, and Demis Hassabis. Mastering the game of go with deep neural networks and tree search. Nat., 529(7587):484-489, 2016.
  40. [Soldà et al., 2025] Davide Soldà, Pedro Cabalar, Agata Cia- battoni, and Emery A. Neufeld. Tackling temporal deontic challenges with equilibrium logic. In AAMAS, pages 1950- 1958. International Foundation for Autonomous Agents and Multiagent Systems / ACM, 2025.
  41. [Sutton and Barto, 2018] Richard S. Sutton and Andrew G. Barto. Reinforcement learning -an introduction, 2nd Edi- tion. MIT Press, 2018.
  42. [Watkins and Dayan, 1992] Christopher J. C. H. Watkins and Peter Dayan. Technical note q-learning. Mach. Learn., 8:279-292, 1992.

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

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