Proceedings

Counterfactual Explanations for Continuous Action Reinforcement Learning

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 5039-5046.

https://doi.org/10.24963/ijcai.2025/561

Abstract

Reinforcement Learning (RL) has shown great promise in domains like healthcare and robotics but often struggles with adoption due to its lack of interpretability. Counterfactual explanations, which address ``what if” scenarios, provide a promising avenue for understanding RL decisions but remain underexplored for continuous action spaces. We propose a novel approach for generating counterfactual explanations in continuous action RL by computing alternative action sequences that improve outcomes while minimizing deviations from the original sequence. Our approach leverages a distance metric for continuous actions and accounts for constraints such as adhering to predefined policies in specific states. Evaluations in two RL domains, Diabetes Control and Lunar Lander, demonstrate the effectiveness, efficiency, and generalization of our approach, enabling more interpretable and trustworthy RL applications.

  1. [Amitai et al., 2024] Yotam Amitai, Yael Septon, and Ofra Amir. Explaining reinforcement learning agents through counterfactual action outcomes. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 38, pages 10003-10011, 2024.
  2. [Bica et al., 2021] Ioana Bica, Daniel Jarrett, Alihan Huyuk, and Mihaela van der Schaar. Learning "what-if" expla- nations for sequential decision-making. In International Conference on Learning Representations, 2021.
  3. [Brockman, 2016] G Brockman. Openai gym. arXiv preprint arXiv:1606.01540, 2016.
  4. [Chen et al., 2024] Ziheng Chen, Fabrizio Silvestri, Gabriele Tolomei, Jia Wang, He Zhu, and Hongshik Ahn. Explain the explainer: Interpreting model-agnostic counterfactual explanations of a deep reinforcement learning agent. IEEE Transactions on Artificial Intelligence, 5(04):1443-1457, 2024.
  5. [Frost et al., 2021] Julius Frost, Olivia Watkins, Eric Weiner, Pieter Abbeel, Trevor Darrell, Bryan Plummer, and Kate Saenko. Explaining reinforcement learning policies through counterfactual trajectories. ICML 2021 Workshop on Human in the Loop Learning, 2021.
  6. [Fujimoto et al., 2018] Scott Fujimoto, Herke Hoof, and David Meger. Addressing function approximation error in actor-critic methods. In International Conference on Machine Learning, pages 1587-1596. PMLR, 2018.
  7. [Gajcin and Dusparic, 2024] Jasmina Gajcin and Ivana Dus- paric. Redefining counterfactual explanations for rein- forcement learning: Overview, challenges and opportuni- ties. ACM Computing Surveys, 56(9):1-33, 2024.
  8. [Guidotti, 2022] Riccardo Guidotti. Counterfactual explana- tions and how to find them: literature review and bench- marking. Data Mining and Knowledge Discovery, pages 1-55, 2022.
  9. [Man et al., 2014] Chiara Dalla Man, Francesco Micheletto, Dayu Lv, Marc Breton, Boris Kovatchev, and Claudio Co- belli. The uva/padova type 1 diabetes simulator: new features. Journal of Diabetes Science and Technology, 8(1):26-34, 2014.
  10. [Milani et al., 2023] Stephanie Milani, Nicholay Topin, Manuela Veloso, and Fei Fang. Explainable reinforcement learning: A survey and comparative review. ACM Com- puting Surveys, 2023.
  11. [Olson et al., 2021] Matthew L Olson, Roli Khanna, Lawrence Neal, Fuxin Li, and Weng-Keen Wong. Coun- terfactual state explanations for reinforcement learning agents via generative deep learning. Artificial Intelligence, 295:103455, 2021.
  12. [Raffin et al., 2021] Antonin Raffin, Ashley Hill, Adam Gleave, Anssi Kanervisto, Maximilian Ernestus, and Noah Dormann. Stable-baselines3: Reliable reinforcement learning implementations. Journal of Machine Learning Research, 22(268):1-8, 2021.
  13. [Schulman et al., 2017] John Schulman, Filip Wolski, Pra- fulla Dhariwal, Alec Radford, and Oleg Klimov. Prox- imal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017.
  14. [Tang et al., 2024] Chen Tang, Ben Abbatematteo, Jiaheng Hu, Rohan Chandra, Roberto Martín-Martín, and Peter Stone. Deep reinforcement learning for robotics: A sur- vey of real-world successes. Annual Review of Control, Robotics, and Autonomous Systems, 8, 2024.
  15. [Tejedor et al., 2020] Miguel Tejedor, Ashenafi Zebene Woldaregay, and Fred Godtliebsen. Reinforcement learn- ing application in diabetes blood glucose control: A systematic review. Artificial intelligence in medicine, 104:101836, 2020.
  16. [Tsirtsis et al., 2021] Stratis Tsirtsis, Abir De, and Manuel Rodriguez. Counterfactual explanations in sequential de- cision making under uncertainty. Advances in Neural In- formation Processing Systems, 34:30127-30139, 2021.
  17. [Verma et al., 2024] Sahil Verma, Varich Boonsanong, Minh Hoang, Keegan Hines, John Dickerson, and Chirag Shah. Counterfactual explanations and algorithmic recourses for machine learning: A review. ACM Computing Surveys, 56(12):1-42, 2024.
  18. [Wachter et al., 2018] S Wachter, B Mittelstadt, and C Rus- sell. Counterfactual explanations without opening the black box: automated decisions and the gdpr. Harvard Journal of Law and Technology, 31(2), 2018.
  19. [Yu et al., 2021] Chao Yu, Jiming Liu, Shamim Nemati, and Guosheng Yin. Reinforcement learning in healthcare: A survey. ACM Computing Surveys (CSUR), 55(1):1-36, 2021.
  20. [Zhu et al., 2020] Taiyu Zhu, Kezhi Li, Pau Herrero, and Pantelis Georgiou. Basal glucose control in type 1 dia- betes using deep reinforcement learning: An in silico vali- dation. IEEE Journal of Biomedical and Health Informat- ics, 25(4):1223-1232, 2020.

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

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