RACCER: Towards Reachable and Certain Counterfactual Explanations for Reinforcement Learning
Not on the map. Why?
Abstract (arXiv)
While reinforcement learning (RL) algorithms have been successfully applied to numerous tasks, their reliance on neural networks makes their behavior difficult to understand and trust. Counterfactual explanations are human-friendly explanations that offer users actionable advice on how to alter the model inputs to achieve the desired output from a black-box system. However, current approaches to generating counterfactuals in RL ignore the stochastic and sequential nature of RL tasks and can produce counterfactuals that are difficult to obtain or do not deliver the desired outcome. In this work, we propose RACCER, the first RL-specific approach to generating counterfactual explanations for the behavior of RL agents. We first propose and implement a set of RL-specific counterfactual properties that ensure easily reachable counterfactuals with highly probable desired outcomes. We use a heuristic tree search of the agent's execution trajectories to find the most suitable counterfactuals based on the defined properties. We evaluate RACCER in two tasks as well as conduct a user study to show that RL-specific counterfactuals help users better understand agents' behavior compared to the current state-of-the-art approaches.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 26 of its 38 references that are in the map. First posted on arXiv 8 Mar 2023.
Builds on
26 of 38 references.
References · 26
- 2013Playing Atari with Deep Reinforcement Learningcited by 3,211
- 2017Explanation in Artificial Intelligence: Insights from the Social Sciencescited by 1,201
- 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
- 2017StarGAN: Unified Generative Adversarial Networks for Multi-Domain Image-to-Image Translationcited by 1,036
- 2018A Survey Of Methods For Explaining Black Box Modelscited by 970
- 2015Dueling Network Architectures for Deep Reinforcement Learningcited by 769
- 2019Explaining Machine Learning Classifiers through Diverse Counterfactual Explanationscited by 612
- 2017A Brief Survey of Deep Reinforcement Learningcited by 466
- 2018Actionable Recourse in Linear Classificationcited by 327
- 2018Explanations based on the Missing: Towards Contrastive Explanations with Pertinent Negativescited by 261
- 2018Metrics for Explainable AI: Challenges and Prospectscited by 257
- 2019FACE: Feasible and Actionable Counterfactual Explanationscited by 232
14 more
- 2019Interpretable Counterfactual Explanations Guided by Prototypescited by 223
- 2020pymoo: Multi-objective Optimization in Pythoncited by 196
- 2020Multi-Objective Counterfactual Explanationscited by 157
- 2020Explainable Reinforcement Learning: A Surveycited by 139
- 2020Algorithmic recourse under imperfect causal knowledge: a probabilistic approachcited by 139
- 2020A survey of algorithmic recourse: definitions, formulations, solutions, and prospectscited by 118
- 2017Inverse Classification for Comparison-based Interpretability in Machine Learningcited by 49
- 2020Local and Global Explanations of Agent Behavior: Integrating Strategy Summaries with Saliency Mapscited by 30
- 2021Counterfactual Explanations for Machine Learning: Challenges Revisitedcited by 19
- 2023GANterfactual-RL: Understanding Reinforcement Learning Agents' Strategies through Visual Counterfactual Explanationscited by 17
- 2021Uncertainty Estimation and Out-of-Distribution Detection for Counterfactual Explanations: Pitfalls and Solutionscited by 16
- 2021Model-agnostic and Scalable Counterfactual Explanations via Reinforcement Learningcited by 15
- 2019Counterfactual States for Atari Agents via Generative Deep Learningcited by 14
- 2020Are Gradient-based Saliency Maps Useful in Deep Reinforcement Learning?cited by 9
Built on by
Citing papers per year: 2023: 1; 2024: 2; 2025: 1; 2026: 2.
6 papers.
- 2024ACTER: Diverse and Actionable Counterfactual Sequences for Explaining and Diagnosing RL Policiescited by 4
- 2024Semifactual Explanations for Reinforcement Learningcited by 1
- 2025Explainable Reinforcement Learning Agents Using World Modelscited by 1
- 2023Personalized Path Recourse for Reinforcement Learning Agentscited by 0
- 2026Explaining Reinforcement Learning Decisions in Self-adaptive Systemscited by 0
- 2026Command-Space Counterfactual Explanations for Pareto-Conditioned Reinforcement Learningcited by 0
- 2026Command-Space Counterfactual Explanations for Pareto-Conditioned Reinforcement Learning15 Aug 2026
- 2026Explaining Reinforcement Learning Decisions in Self-adaptive Systems13 Jul 2026
- 2025Explainable Reinforcement Learning Agents Using World Models12 May 2025
- 2024Semifactual Explanations for Reinforcement Learning9 Sep 2024
- 2024ACTER: Diverse and Actionable Counterfactual Sequences for Explaining and Diagnosing RL Policies9 Feb 2024
- 2023Personalized Path Recourse for Reinforcement Learning Agents14 Dec 2023