Explanation of Reinforcement Learning Model in Dynamic Multi-Agent System

Xinzhi Wang, Huao Li, Rui Liu, Hui Zhang, Michael Lewis, Katia P. SycaraarXiv 2020 · arXiv

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.

The hybrid framework integrates a rule-based model for data generation with a learning-based model for flexible explanation prediction.
  1. 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").
  2. 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.

Comparison of user satisfaction scores between verbal explanations and object saliency maps across both model types.

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

Abstract

Recently, there has been increasing interest in transparency and interpretability in Deep Reinforcement Learning (DRL) systems. Verbal explanations, as the most natural way of communication in our daily life, deserve more attention, since they allow users to gain a better understanding of the system which ultimately could lead to a high level of trust and smooth collaboration. This paper reports a novel work in generating verbal explanations for DRL behaviors agent. A rule-based model is designed to construct explanations using a series of rules which are predefined with prior knowledge. A learning model is then proposed to expand the implicit logic of generating verbal explanation to general situations by employing rule-based explanations as training data. The learning model is shown to have better flexibility and generalizability than the static rule-based model. The performance of both models is evaluated quantitatively through objective metrics. The results show that verbal explanation generated by both models improve subjective satisfaction of users towards the interpretability of DRL systems. Additionally, seven variants of the learning model are designed to illustrate the contribution of input channels, attention mechanism, and proposed encoder in improving the quality of verbal explanation.
BibTeX
@misc{wang2020explanation,
  author = {Xinzhi Wang and Huao Li and Rui Liu and Hui Zhang and Michael Lewis and Katia P. Sycara},
  title = {{Explanation of Reinforcement Learning Model in Dynamic Multi-Agent System}},
  year = {2020},
  eprint = {2008.01508},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2008.01508},
}
Figure