TL;DR
This paper introduces a novel framework for studying interpretability, generalizability, and memory in Deep Reinforcement Learning (DRL) agents using the "Sushi Go Party" card game. By developing new metrics and analyzing agent behavior against human preferences, the authors provide a more transparent understanding of how DRL models learn and adapt in complex, partially observable environments.
What Problem Does This Paper Address?
Deep Reinforcement Learning (DRL) has achieved remarkable success in various domains, but its widespread adoption is hindered by several key challenges: a lack of interpretability (understanding why an agent makes a decision), poor generalizability (performance degradation in unseen environments), and limited insight into how agents handle memory in partially observable settings. These issues make DRL systems difficult to debug, regulate, and trust. The authors propose closed drafting games, specifically "Sushi Go Party," as an ideal testbed to address these challenges due to their structured decision-making, customizable environments, and inherent need for memory.
Methods
The paper introduces several key methodological contributions:
- Environment Setup: A multi-agent DRL environment for "Sushi Go Party" is created, allowing for explicit control over memory inputs.
- Interpretability: Decision rules are fitted to trained DRL agents' behavior, mapping observed inputs to actions. These rules are then compared to human player priority rankings to understand agent strategies.
- Generalizability: A metric called "EnvDiff" is defined to quantify the similarity between different game configurations (sets of cards in play). This allows for benchmarking agent performance as a function of environmental unfamiliarity.
- Memory Measurement: A novel "MemInfluence" metric is introduced. It measures how perturbing an agent's memory input (e.g., changing a card in a previously seen hand) affects the probability distribution of its chosen actions. This directly assesses the agent's reliance on and utilization of memory.
Datasets
- Human Player Data: Priority lists for human players were constructed using data from 172,357 games of "Sushi Go Party" played on the Board Game Arena website. This data was used to derive "Average Human Player Priority" and "Elite Human Player Priority" lists.
- Trained DRL Agents: 10 DQN models were trained for each of 5 game configurations. These trained models were then tested against human-like agents across all 5 configurations.
Key Insights and Ideas
- Closed Drafting as a DRL Testbed: The paper highlights "Sushi Go Party" as a surprisingly effective environment for studying DRL interpretability, generalizability, and memory due to its structured decision-making, customizable card sets, and partial observability.
- Human-like Strategies Emerge: Trained DQN agents, when compared to human priority lists, show a discernible shift in their card preferences, with some agents exhibiting more sophisticated strategies than others.
- Memory's Performance Impact vs. Influence: While agents trained with explicit memory inputs perform significantly better, the "MemInfluence" metric suggests that the influence of memory on immediate action selection might be less pronounced than its overall performance benefit. This implies memory might be crucial for long-term planning rather than moment-to-moment decisions.
- Generalization Decreases with Environmental Change: As expected, agent performance (win rate) degrades predictably as the difference in card sets between training and testing environments increases (EnvDiff).
Key Results
- Performance Improvement with Memory: DRL agents trained with explicit memory inputs showed a statistically significant performance improvement (mean reward difference of 14.08) compared to those without.
- MemInfluence Metric: The MemInfluence metric was found to be small (1.96 × 10⁻⁴), indicating that changes to memory inputs did not drastically alter action distributions, though it did identify specific states (late game) where memory becomes more critical.
- Generalization Trend: Win rate decreased as the "EnvDiff" (difference in card sets between training and testing environments) increased, demonstrating a quantifiable measure of out-of-distribution performance degradation. Figure 2 shows a clear downward trend in win rate as EnvDiff grows from 0 to 4.
- Interpretable Priorities: Figure 4 visually demonstrates how DQN agent priorities shift compared to human priorities, with a notable increase in preference for "Squid" as performance improves, suggesting a learned strategy related to this card.
Limitations and Future Work
- MemInfluence Metric Limitations: The authors acknowledge that the MemInfluence metric might be a limitation, as it may not fully capture the nuanced ways memory influences decision-making.
- Formalizing Generalization: Future work includes formalizing a general method for constructing priority lists and expanding the analysis to more closed drafting games to identify universal trends.
- Mechanistic Interpretability: The authors suggest that simpler closed drafting games could be solved with game theory, providing a strong foundation for mechanistic interpretability probes to further investigate memory manifestation.
- Broader Applicability: Extending the framework to other partially observable environments beyond card games is a promising avenue.
Summary updated