Introduction
Deep Reinforcement Learning (DRL) agents have demonstrated remarkable proficiency in complex environments, yet their decision-making processes remain largely opaque. While visual saliency maps—heatmaps indicating focal pixels—are the current standard for interpretability, they often fail to convey specific intent. For instance, a heatmap over a power pellet and a ghost in Ms. Pacman does not clarify whether the agent is pursuing the reward or evading the threat. This research, conducted by a multi-institutional team, proposes a shift from visual cues to natural language explanations to enhance human trust and collaboration.
Methodology: A Hybrid Approach
The researchers developed a hybrid system that bridges the gap between raw game data and human-understandable language. This framework consists of two primary components: a rule-based engine and a learning-based neural model.
- Rule-Based Model: In the absence of existing datasets, the authors created a rule-based engine that utilizes game state variables—such as object priority and distance—to generate "ground truth" verbal templates (e.g., "The Pacman moves right to eat the dot").
- Learning-Based Model: To ensure scalability and robustness against noise, a deep learning architecture was implemented. This model features a CNN encoder processing raw frames and saliency maps, an attention mechanism to prioritize relevant inputs, and a Gated Recurrent Unit (GRU) decoder to synthesize natural language sentences.
Dataset Construction
The study utilized a custom benchmark derived from 33 episodes of Ms. Pacman. The resulting dataset comprises 19,419 training pairs and 2,006 testing pairs. Each entry includes raw game imagery, position maps, saliency maps, and the corresponding rule-generated verbal explanation.
Results and User Evaluation
The study's primary finding is that verbal explanations significantly outperform visual saliency maps in terms of human utility. In subjective tests conducted via Amazon Mechanical Turk, participants rated the clarity and appropriateness of verbal explanations higher than traditional heatmaps.
Quantitatively, the "CNN+ATTEN+GRU" model variant achieved a BLEU-1 score of 0.714, indicating a high degree of linguistic alignment with the rule-based logic. Furthermore, the model predicted the agent's next action with 67.3% accuracy on test data, exceeding the 60% baseline typically achieved by humans using saliency maps alone.
Discussion and Future Directions
While the hybrid model effectively translates agent logic into language, several challenges remain. The current rule-based engine is highly domain-specific to Ms. Pacman, requiring significant manual engineering to adapt to new environments. Additionally, the performance drop between training and testing suggests a need for better generalization to novel game states. Future research will explore training on human-generated explanations and scaling the framework to more complex multi-agent scenarios involving dozens of interacting entities.
Summary updated