RL Generalization in a Theory of Mind Game Through a Sleep Metaphor (Student Abstract)

Tailia Malloy, Tim Klinger, Miao Liu, Gerald Tesauro, Matthew Riemer, Chris R. SimsAAAI 2021

Abstract

Training agents to learn efficiently in multi-agent environments can benefit from the explicit modelling of other agent's beliefs, especially in complex limited-information games such as the Hanabi card game. However, generalization is also highly relevant to performance in these games, though model comparisons at large training timescales can be difficult. In this work, we address this by introducing a novel model trained using a sleep metaphor on a reduced complexity version of the Hanabi game. This sleep metaphor consists an altered training regiment, as well as an information-theoretic constraint on the agent's policy. Results from experimentation demonstrate improved performance through this sleep-metaphor method, and provide a promising motivation for using similar techniques in more complex methods that incorporate explicit models of other agent's beliefs.

Introduction

The challenge of generalization in multi-agent games is particularly acute in environments requiring "Theory of Mind"—the ability to reason about the hidden knowledge or beliefs of other players. In the cooperative card game Hanabi, players must coordinate actions without seeing their own cards, relying on signals from teammates. Standard Reinforcement Learning (RL) agents often overfit to specific training scenarios, failing to generalize to the diverse and unpredictable states encountered in real gameplay. This research investigates whether improving an agent's internal robustness and generalizability can enhance performance without necessarily relying on explicit belief modeling.

Methodology

The proposed approach introduces two primary components to the training pipeline:

Capacity-Limited RL (CLA2C)

Building upon the Advantage Actor-Critic (A2C) framework, CLA2C incorporates an information-theoretic penalty into the reward function. By minimizing the mutual information between the state and the action (controlled by a parameter $\beta$), the agent is incentivized to develop a "useful marginal policy." This constraint acts as a regularizer, discouraging overly complex, state-specific strategies and encouraging the reuse of behaviors across different states.

The Sleep Metaphor

Inspired by the "Overfitted Brain Hypothesis" (Hoel, 2020), which suggests dreaming prevents neural overfitting in humans, the authors implemented two distinct training states:

  • Sleep: The capacity-limited constraint is applied during specific intervals between standard training sessions.
  • Dreaming: The agent is trained on games initialized from randomly distributed board positions. This non-sequential training mimics the fragmented nature of dreams, forcing the agent to learn robust recovery and play strategies from any mid-game state.

Experimental Setup

To facilitate a granular investigation of learning curves and stability, the study utilized a reduced version of Hanabi. While standard Hanabi involves 5 colors and 5 values, this reduced version features 2 players, 2 colors, and 2 values. This simplification allows for the observation of "optimal" performance stability within computationally feasible timescales.

Results

The performance of CLA2C (with sleep/dreaming variants) was compared against standard A2C and ACER (Actor-Critic with Experience Replay) baselines over 50 million time steps.

Training performance comparison across different RL models and sleep-metaphor variants.

As shown in the figure above, all capacity-limited models (CLA2C) demonstrated significantly faster and higher reward improvement compared to the A2C and ACER baselines. Notably, the "dreaming" variant showed the fastest improvement in reward, suggesting that random starting positions provide a superior training signal for generalization.

Furthermore, the sleep-metaphor variants exhibited superior stability in the number of cards played. While the standard CLA2C model (normal) experienced a slight decline in cards played—likely due to an "information-giving" bias where the agent prioritizes signaling over action—the "sleep" and "dream" regimens successfully mitigated this pitfall, balancing information-sharing with effective game-winning actions.

Discussion and Conclusion

The results suggest that simplicity, enforced through capacity limits, serves as an effective prior for RL agents. The "dreaming" regularization prevents overfitting to the sequential nature of starting every game from scratch, making agents more robust to unusual game states.

While these findings are promising, the primary limitation remains the reduced complexity of the environment. Future research will focus on scaling these sleep-metaphor techniques to the full version of Hanabi and integrating them with explicit models of other agents' beliefs. Combining internal robustness with social intelligence may be the key to achieving human-level performance in complex cooperative tasks.

Summary updated

BibTeX
@inproceedings{malloy2021rl,
  author = {Tailia Malloy and Tim Klinger and Miao Liu and Gerald Tesauro and Matthew Riemer and Chris R. Sims},
  title = {{RL Generalization in a Theory of Mind Game Through a Sleep Metaphor (Student Abstract)}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  url = {https://openreview.net/forum?id=l77X-xt1ihH},
}
Figure