Lune

NeurIPS2022Top-tier venue

ProtoX: Explaining a Reinforcement Learning Agent via Prototyping

Ronilo J. Ragodos, Tong Wang, Qihang Lin, Xun Zhou

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • EDGE: Explaining Deep Reinforcement Learning Policies cites Explainable Reinforcement Learning through a Causal Lens
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Temporal Prototype-Aware Learning for Active Voltage Control on Power Distribution NetworksFeiyang Xu, Shunyu Liu, Yunpeng Qing, Yihe Zhou et al.KDD 2024 · 2 citations
  2. ProtoPairNet: Interpretable Regression through Prototypical Pair ReasoningRose Gurung, Ronilo J. Ragodos, Chiyu Ma, Tong Wang et al.NeurIPS 2025 · 1 citation
  3. Reward Design for Justifiable Sequential Decision-MakingAleksa Sukovic, Goran RadanovicICLR 2024
  4. PRISM: Prototype-based Reasoning with Inter-modal Semantic Mining for Interpretable Image RecognitionAnni Yu, Yu-Bin YangCVPR 2026

Builds on6

  1. Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
  2. Explainable Reinforcement Learning through a Causal LensPrashan Madumal, Tim Miller, Liz Sonenberg, Frank VetereAAAI 2020 · 408 citations
  3. EDGE: Explaining Deep Reinforcement Learning PoliciesWenbo Guo, Xian Wu, Usmann Khan, Xinyu XingNeurIPS 2021 · 79 citations
  4. Intrinsic Reward Driven Imitation Learning via Generative ModelXingrui Yu, Yueming Lyu, Ivor W. TsangICML 2020 · 63 citations
  5. xGAIL: Explainable Generative Adversarial Imitation Learning for Explainable Human Decision AnalysisMenghai Pan, Weixiao Huang, Yanhua Li, Xun Zhou et al.KDD 2020 · 28 citations

Related papers

  1. This State Looks Like That: Self-Interpretable Reinforcement Learning Agents using Prototype Soft Actor-CriticAndrea Marzo, Alessio Ragno, Roberto CapobiancoICML 2026
  2. Towards Interpretable Deep Reinforcement Learning with Human-Friendly PrototypesEoin M. Kenny, Mycal Tucker, Julie ShahICLR 2023
  3. Reinforcement Learning with Prototypical RepresentationsDenis Yarats, Rob Fergus, Alessandro Lazaric, Lerrel PintoICML 2021 · 262 citations
  4. TripleTree: A Versatile Interpretable Representation of Black Box Agents and their EnvironmentsTom Bewley, Jonathan LawryAAAI 2021 · 33 citations
  5. Consistent Zero-Shot Imitation with Contrastive Goal InferenceKathryn Wantlin, Chongyi Zheng, Benjamin EysenbachICML 2026 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines