mlsanityData to 7 Oct 2026

GANterfactual-RL: Understanding Reinforcement Learning Agents' Strategies through Visual Counterfactual Explanations

arXiv 2302.12689 ↗First posted 24 Feb 2023cs.LG cs.AIcited by 17

Not on the map. Why?

Abstract (arXiv)

Counterfactual explanations are a common tool to explain artificial intelligence models. For Reinforcement Learning (RL) agents, they answer "Why not?" or "What if?" questions by illustrating what minimal change to a state is needed such that an agent chooses a different action. Generating counterfactual explanations for RL agents with visual input is especially challenging because of their large state spaces and because their decisions are part of an overarching policy, which includes long-term decision-making. However, research focusing on counterfactual explanations, specifically for RL agents with visual input, is scarce and does not go beyond identifying defective agents. It is unclear whether counterfactual explanations are still helpful for more complex tasks like analyzing the learned strategies of different agents or choosing a fitting agent for a specific task. We propose a novel but simple method to generate counterfactual explanations for RL agents by formulating the problem as a domain transfer problem which allows the use of adversarial learning techniques like StarGAN. Our method is fully model-agnostic and we demonstrate that it outperforms the only previous method in several computational metrics. Furthermore, we show in a user study that our method performs best when analyzing which strategies different agents pursue.

Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). Builds on 31 of its 50 references that are in the map. First posted on arXiv 24 Feb 2023.

Builds on

31 of 50 references.

References · 31

  1. 2017Explanation in Artificial Intelligence: Insights from the Social Sciencescited by 1,201
  2. 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
  3. 2017StarGAN: Unified Generative Adversarial Networks for Multi-Domain Image-to-Image Translationcited by 1,036
  4. 2020Deep Reinforcement Learning for Autonomous Driving: A Surveycited by 698
  5. 2019Explaining Machine Learning Classifiers through Diverse Counterfactual Explanationscited by 612
  6. 2019Counterfactual Visual Explanationscited by 312
  7. 2019Reinforcement Learning in Healthcare: A Surveycited by 308
  8. 2018Metrics for Explainable AI: Challenges and Prospectscited by 257
  9. 2019Interpretable Counterfactual Explanations Guided by Prototypescited by 223
  10. 2016Sample Efficient Actor-Critic with Experience Replaycited by 185
  11. 2021Explaining in Style: Training a GAN to explain a classifier in StyleSpacecited by 122
  12. 2021Goal Misgeneralization in Deep Reinforcement Learningcited by 122
19 more
  1. 2020Explainability in Deep Reinforcement Learningcited by 96
  2. 2021CARLA: A Python Library to Benchmark Algorithmic Recourse and Counterfactual Explanation Algorithmscited by 85
  3. 2021If Only We Had Better Counterfactual Explanations: Five Key Deficits to Rectify in the Evaluation of Counterfactual XAI Techniquescited by 82
  4. 2016Graying the black box: Understanding DQNscited by 68
  5. 2019Exploratory Not Explanatory: Counterfactual Analysis of Saliency Maps for Deep Reinforcement Learningcited by 60
  6. 2019Explain Your Move: Understanding Agent Actions Using Specific and Relevant Feature Attributioncited by 50
  7. 2020GANterfactual - Counterfactual Explanations for Medical Non-Experts using Generative Adversarial Learningcited by 50
  8. 2018Establishing Appropriate Trust via Critical Statescited by 47
  9. 2021Counterfactual State Explanations for Reinforcement Learning Agents via Generative Deep Learningcited by 38
  10. 2021Using StyleGAN for Visual Interpretability of Deep Learning Models on Medical Imagescited by 35
  11. 2020Local and Global Explanations of Agent Behavior: Integrating Strategy Summaries with Saliency Mapscited by 30
  12. 2020Re-understanding Finite-State Representations of Recurrent Policy Networkscited by 15
  13. 2022Are we measuring trust correctly in explainability, interpretability, and transparency research?cited by 11
  14. 2022Integrating Policy Summaries with Reward Decomposition for Explaining Reinforcement Learning Agentscited by 10
  15. 2020Fast Real-time Counterfactual Explanationscited by 8
  16. 2021Contrastive Counterfactual Visual Explanations With Overdeterminationcited by 7
  17. 2022Alterfactual Explanations -- The Relevance of Irrelevance for Explaining AI Systemscited by 7
  18. 2021Counterfactual Explanation of Brain Activity Classifiers using Image-to-Image Transfer by Generative Adversarial Networkcited by 5
  19. 2021Benchmarking Perturbation-based Saliency Maps for Explaining Atari Agentscited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 3; 2024: 6; 2025: 5; 2026: 3.

17 papers.

Sort:

By area:

  1. 2024SAFE-RL: Saliency-Aware Counterfactual Explainer for Deep Reinforcement Learning Policiescited by 8
  2. 2025Reinforcement Learning Fine-Tuning Enhances Activation Intensity and Diversity in the Internal Circuitry of LLMscited by 8
  3. 2023RACCER: Towards Reachable and Certain Counterfactual Explanations for Reinforcement Learningcited by 6
  4. 2023SAFE: Saliency-Aware Counterfactual Explanations for DNN-based Automated Driving Systemscited by 5
  5. 2024ACTER: Diverse and Actionable Counterfactual Sequences for Explaining and Diagnosing RL Policiescited by 4
  6. 2023Counterfactual Explainer Framework for Deep Reinforcement Learning Models Using Policy Distillationcited by 3
  7. 2024Relevant Irrelevance: Generating Alterfactual Explanations for Image Classifierscited by 3
  8. 2024Explainable Interface for Human-Autonomy Teaming: A Surveycited by 2
  9. 2025Formal Models of Active Learning from Contrastive Examplescited by 2
  10. 2024Semifactual Explanations for Reinforcement Learningcited by 1
  11. 2025Explainable Reinforcement Learning Agents Using World Modelscited by 1
  12. 2025A Comparative User Evaluation of XRL Explanations using Goal Identificationcited by 1
5 more
  1. 2024Criticality and Safety Margins for Reinforcement Learningcited by 0
  2. 2025Strategically Linked Decisions in Long-Term Planning and Reinforcement Learningcited by 0
  3. 2026Learning Half-Spaces from Perturbed Contrastive Examplescited by 0
  4. 2026Explaining Reinforcement Learning Decisions in Self-adaptive Systemscited by 0
  5. 2026Command-Space Counterfactual Explanations for Pareto-Conditioned Reinforcement Learningcited by 0