Scenario-Guided Temporal Prototypes in Reinforcement Learning
Abstract
Deep reinforcement learning policies are hard to deploy in safety-critical settings, because they fail to explain why a sequence of actions is taken. We introduce an intrinsically interpretable framework that learns compact summaries of recurring behavior and uses them for case-based decision making. Our method (i) discovers global regimes by grouping trajectories into a small set of recurrent patterns and (ii) learns a prototype-conditioned local policy that maps the current short-horizon pattern to an action (“this matches prototype X → take action Y”). Each action is accompanied by a similarity score to relevant prototypes, which provide the explanations. We evaluate our approach on two domains: (1) CarRacing (pixel-based continuous control) and (2) a real voltage-control problem in low-voltage distribution networks. Our results indicate that the method provides clear pre hoc explanations while keeping task performance close to the reference policy.
Fields of Study & Subjects
Explainable Artificial Intelligence (XAI)
Reinforcement Learning in Robotics
Adversarial Robustness in Machine Learning
Publication details
- Journal / source
- Machine Learning and Knowledge Extraction
- Publisher
- MDPI AG
- Volume
- 8
- Issue
- 1
- Pages
- 21–21
- Publication date
- 16 January 2026
- Language
- EN