A Framework for Understanding and Visualizing Strategies of RL Agents
Not on the map. Why?
Abstract (arXiv)
Recent years have seen significant advances in explainable AI as the need to understand deep learning models has gained importance with the increased emphasis on trust and ethics in AI. Comprehensible models for sequential decision tasks are a particular challenge as they require understanding not only individual predictions but a series of predictions that interact with environmental dynamics. We present a framework for learning comprehensible models of sequential decision tasks in which agent strategies are characterized using temporal logic formulas. Given a set of agent traces, we first cluster the traces using a novel embedding method that captures frequent action patterns. We then search for logical formulas that explain the agent strategies in the different clusters. We evaluate our framework on combat scenarios in StarCraft II (SC2), using traces from a handcrafted expert policy and a trained reinforcement learning agent. We implemented a feature extractor for SC2 environments that extracts traces as sequences of high-level features describing both the state of the environment and the agent's local behavior from agent replays. We further designed a visualization tool depicting the movement of units in the environment that helps understand how different task conditions lead to distinct agent behavior patterns in each trace cluster. Experimental results show that our framework is capable of separating agent traces into distinct groups of behaviors for which our approach to strategy inference produces consistent, meaningful, and easily understood strategy descriptions.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 16 of its 35 references that are in the map. First posted on arXiv 17 Aug 2022.
Builds on
16 of 35 references.
References · 16
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019Explainable Artificial Intelligence (XAI): Concepts, Taxonomies, Opportunities and Challenges toward Responsible AIcited by 1,543
- 2019Dota 2 with Large Scale Deep Reinforcement Learningcited by 1,084
- 2018IMPALA: Scalable Distributed Deep-RL with Importance Weighted Actor-Learner Architecturescited by 866
- 2017StarCraft II: A New Challenge for Reinforcement Learningcited by 268
- 2019Explainable Reinforcement Learning Through a Causal Lenscited by 177
- 2016Deep Reinforcement Learning from Self-Play in Imperfect-Information Gamescited by 153
- 2020Explainable Reinforcement Learning: A Surveycited by 139
- 2020Explainability in Deep Reinforcement Learningcited by 96
- 2019Interestingness Elements for Explainable Reinforcement Learning: Understanding Agents' Capabilities and Limitationscited by 50
- 2018Learning Linear Temporal Propertiescited by 41
- 2018Learning Finite State Representations of Recurrent Policy Networkscited by 37
4 more
- 2017Enabling Robots to Communicate their Objectivescited by 34
- 2019Exploring Computational User Models for Agent Policy Summarizationcited by 29
- 2016Sequence Graph Transform (SGT): A Feature Embedding Function for Sequence Data Miningcited by 5
- 2019Online Monitoring of Metric Temporal Logic using Sequential Networkscited by 1
Built on by
Citing papers per year: 2022: 1; 2023: 1.
2 papers.