Inherently Explainable Reinforcement Learning in Natural Language
Xiangyu Peng, Mark O. Riedl, Prithviraj Ammanabrolu
Abstract
We focus on the task of creating a reinforcement learning agent that is inherently explainable-with the ability to produce immediate local explanations by thinking out loud while performing a task and analyzing entire trajectories post-hoc to produce temporally extended explanations. This Hierarchically Explainable Reinforcement Learning agent (HEX-RL), operates in Interactive Fictions, textbased game environments in which an agent perceives and acts upon the world using textual natural language. These games are usually structured as puzzles or quests with long-term dependencies in which an agent must complete a sequence of actions to succeed-providing ideal environments in which to test an agent's ability to explain its actions. Our agent is designed to treat explainability as a first-class citizen, using an extracted symbolic knowledge graph-based (KG) state representation coupled with a Hierarchical Graph Attention mechanism that points to the facts in the internal graph representation that most influenced the choice of actions. Experiments show that this agent provides significantly improved explanations over strong baselines, as rated by human participants generally unfamiliar with the environment, while also matching state-of-the-art task performance.
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.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- ScienceWorld: Is your Agent Smarter than a 5th Grader? cites Interactive Fiction Games: A Colossal Adventure
- ScienceWorld: Is your Agent Smarter than a 5th Grader? cites Graph Constrained Reinforcement Learning for Natural Language Action Spaces
- Graph Constrained Reinforcement Learning for Natural Language Action Spaces cites Interactive Fiction Games: A Colossal Adventure
- Learning Dynamic Belief Graphs to Generalize on Text-Based Games cites Interactive Fiction Games: A Colossal Adventure
- Learning Dynamic Belief Graphs to Generalize on Text-Based Games cites Graph Constrained Reinforcement Learning for Natural Language Action Spaces
Cited by top-tier papers2
Builds on8
- ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel et al.ICLR 2020 · 7,418 citations
- Explainable Reinforcement Learning through a Causal LensPrashan Madumal, Tim Miller, Liz Sonenberg, Frank VetereAAAI 2020 · 408 citations
- Interactive Fiction Games: A Colossal AdventureMatthew J. Hausknecht, Prithviraj Ammanabrolu, Marc-Alexandre Côté, Xingdi YuanAAAI 2020 · 242 citations
- Graph Constrained Reinforcement Learning for Natural Language Action SpacesPrithviraj Ammanabrolu, Matthew J. HausknechtICLR 2020 · 138 citations
- Learning Dynamic Belief Graphs to Generalize on Text-Based GamesAshutosh Adhikari, Xingdi Yuan, Marc-Alexandre Côté, Mikulas Zelinka et al.NeurIPS 2020 · 91 citations
Related papers
- Deep Reinforcement Learning with Stacked Hierarchical Attention for Text-based GamesYunqiu Xu, Meng Fang, Ling Chen, Yali Du et al.NeurIPS 2020 · 48 citations
- Learning Knowledge Graph-based World Models of Textual EnvironmentsPrithviraj Ammanabrolu, Mark O. RiedlNeurIPS 2021 · 43 citations
- Generalization in Text-based Games via Hierarchical Reinforcement LearningYunqiu Xu, Meng Fang, Ling Chen, Yali Du et al.EMNLP Findings 2021 · 13 citations
- CausalXRL: Explainable Reinforcement Learning through Causal Graph ReasoningYanming Zhang, Eric Papenhausen, Klaus MuellerICML 2026
- DiffG-RL: Leveraging Difference between Environment State and Common SenseTsunehiko Tanaka, Daiki Kimura, Michiaki TatsuboriEMNLP Findings 2022
