Abstract
While Reinforcement Learning (RL) has achieved significant success in complex tasks, the decision-making processes of RL agents often remain opaque to human users. This paper proposes a framework to enhance agent transparency by mimicking human-like reasoning. By integrating causal action influence models with structured dialogue protocols, the research enables agents to engage in meaningful exchanges, answering "why" and "why not" questions. Evaluation across standard benchmarks and human studies indicates that this approach provides explanations that are more intuitive and satisfying for human users compared to traditional methods.
Introduction
A major gap in current Explainable AI (XAI) research is the tendency to focus on supervised learning tasks, such as image classification, while ignoring the social and cognitive aspects of human explanation. Humans do not typically interpret decisions through feature weights; instead, we reason using cause-and-effect and counterfactuals (e.g., "I chose X because if I had chosen Y, Z would have happened"). Furthermore, explanation is naturally a back-and-forth dialogue rather than a static data dump. This research aims to bridge this gap by bringing human-centric elements into the RL domain.
Methods
The proposed framework is built upon two primary pillars: dialogue modeling and causal reasoning.
Dialogue Models for Explanation
To understand how humans structure interactions, the author analyzed 398 real-world explanation dialogues using grounded theory. This analysis led to a formal dialogue model based on the Agent Dialog Framework (ADF), represented as a finite state machine. This allows an RL agent to engage in a structured "conversation" about its actions, moving beyond one-way communication.
Causal Action Influence Models
To generate the actual content of explanations, the research introduces Action Influence Models. These are structural causal models that map how an agent’s actions (such as "build a supply depot") influence state variables and ultimately lead to rewards.
These models support two critical types of queries:
- Why? The model traces the causal chain forward from an action to the intended goal.
- Why not? The model employs counterfactual reasoning to demonstrate that an alternative action would have resulted in a less desirable outcome.
Evaluation and Results
The framework was evaluated using a multi-faceted approach:
- Dialogue Validation: 101 human-agent explanation dialogues were used to validate the interaction protocol.
- Computational Robustness: The causal models were tested across six standard RL benchmark domains using six different algorithms. The models were accurate enough to perform task prediction with negligible impact on agent performance.
- Human Study: A large-scale study involving 120 participants in a customized StarCraft II environment measured explanation satisfaction.
Key findings include that causality is the "language of explanation"; for an agent's reasoning to feel natural, it must be causal. The Action Influence Model successfully handled contrastive queries, which participants found essential. In the StarCraft II study, the proposed model significantly outperformed baselines in terms of explanation satisfaction and helping users predict future agent behavior. Interestingly, while understanding improved, the impact on trust was not statistically significant, suggesting that understanding and trust are distinct psychological hurdles.
Limitations and Future Work
Currently, the causal structure of the environment must be predefined. Future research will focus on enabling agents to learn these causal models directly from their environment. Additionally, the author is exploring "Causal Abstraction" to manage complexity in large causal graphs, ensuring explanations remain at an appropriate granularity for the user. Moving toward fully autonomous discovery of both policies and explanation models remains a significant long-term challenge.
Summary updated