mlsanityData to 13 Oct 2026

ProtoX: Explaining a Reinforcement Learning Agent via Prototyping

arXiv 2211.03162 ↗First posted 6 Nov 2022cs.LG cs.CVcited by 4

Not on the map. Why?

Abstract (arXiv)

While deep reinforcement learning has proven to be successful in solving control tasks, the "black-box" nature of an agent has received increasing concerns. We propose a prototype-based post-hoc policy explainer, ProtoX, that explains a blackbox agent by prototyping the agent's behaviors into scenarios, each represented by a prototypical state. When learning prototypes, ProtoX considers both visual similarity and scenario similarity. The latter is unique to the reinforcement learning context, since it explains why the same action is taken in visually different states. To teach ProtoX about visual similarity, we pre-train an encoder using contrastive learning via self-supervised learning to recognize states as similar if they occur close together in time and receive the same action from the black-box agent. We then add an isometry layer to allow ProtoX to adapt scenario similarity to the downstream task. ProtoX is trained via imitation learning using behavior cloning, and thus requires no access to the environment or agent. In addition to explanation fidelity, we design different prototype shaping terms in the objective function to encourage better interpretability. We conduct various experiments to test ProtoX. Results show that ProtoX achieved high fidelity to the original black-box agent while providing meaningful and understandable explanations.

Key facts. Cited by 4 papers in the map (data through 13 Oct 2026). Builds on 34 of its 50 references that are in the map. First posted on arXiv 6 Nov 2022.

Builds on

34 of 50 references.

References · 34

  1. 2017Proximal Policy Optimization Algorithmscited by 14,592
  2. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,730
  3. 2016OpenAI Gymcited by 1,694
  4. 2016Generative Adversarial Imitation Learningcited by 1,577
  5. 2015Dueling Network Architectures for Deep Reinforcement Learningcited by 772
  6. 2018This Looks Like That: Deep Learning for Interpretable Image Recognitioncited by 735
  7. 2020Deep Reinforcement Learning for Autonomous Driving: A Surveycited by 699
  8. 2017Time-Contrastive Networks: Self-Supervised Learning from Videocited by 455
  9. 2020Neural Prototype Trees for Interpretable Fine-grained Image Recognitioncited by 214
  10. 2018Programmatically Interpretable Reinforcement Learningcited by 192
  11. 2018Generative Adversarial Imitation from Observationcited by 183
  12. 2018Verifiable Reinforcement Learning via Policy Extractioncited by 177
22 more
  1. 2019Explainable Reinforcement Learning Through a Causal Lenscited by 177
  2. 2021The Surprising Effectiveness of Representation Learning for Visual Imitationcited by 150
  3. 2017Visualizing and Understanding Atari Agentscited by 141
  4. 2022Understanding Contrastive Learning Requires Incorporating Inductive Biasescited by 96
  5. 2019Towards Interpretable Reinforcement Learning Using Attention Augmented Agentscited by 82
  6. 2017Hierarchical and Interpretable Skill Acquisition in Multi-task Reinforcement Learningcited by 77
  7. 2019Interpretable and Steerable Sequence Learning via Prototypescited by 72
  8. 2016Graying the black box: Understanding DQNscited by 68
  9. 2018Toward Interpretable Deep Reinforcement Learning with Linear Model U-Treescited by 65
  10. 2019Interestingness Elements for Explainable Reinforcement Learning: Understanding Agents' Capabilities and Limitationscited by 50
  11. 2014Unsupervised Learning of Spatiotemporally Coherent Metricscited by 46
  12. 2018Contrastive Explanations for Reinforcement Learning in terms of Expected Consequencescited by 44
  13. 2018Transparency and Explanation in Deep Reinforcement Learning Neural Networkscited by 40
  14. 2020Intrinsic Reward Driven Imitation Learning via Generative Modelcited by 35
  15. 2019Dot-to-Dot: Explainable Hierarchical Reinforcement Learning for Robotic Manipulationcited by 33
  16. 2019Efficient Saliency Maps for Explainable AIcited by 30
  17. 2021Self-Supervised Disentangled Representation Learning for Third-Person Imitation Learningcited by 23
  18. 2018Towards Better Interpretability in Deep Q-Networkscited by 22
  19. 2016Particle Swarm Optimization for Generating Interpretable Fuzzy Reinforcement Learning Policiescited by 19
  20. 2019HIGhER : Improving instruction following with Hindsight Generation for Experience Replaycited by 13
  21. 2020Designing Interpretable Approximations to Deep Reinforcement Learningcited by 6
  22. 2019Complementary reinforcement learning towards explainable agentscited by 5

Built on by

Cited by year

Citing papers per year: 2022: 1; 2023: 0; 2024: 1; 2025: 2.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Principal Prototype Analysis on Manifold for Interpretable Reinforcement Learning
  2. 2024Zero-shot Imitation Policy via Search in Demonstration Dataset
  3. 2020Imitating Unknown Policies via Exploration
  4. 2026Open-ended Multi-agent Autocurricula via Visual Inspection of Policies with Multi-modal LLMs
  5. 2025An Introduction to Deep Reinforcement and Imitation Learning
  6. 2018Imitation Learning with Concurrent Actions in 3D Games
  7. 2020Self-supervised Visual Reinforcement Learning with Object-centric Representations
  8. 2023Behavioral Cloning via Search in Embedded Demonstration Dataset