Introduction
In the realm of artificial intelligence, cooperative games present a unique challenge compared to zero-sum games like Chess or Go. While competitive AI seeks a Nash Equilibrium to remain unexploitable, cooperative agents must navigate hidden information and shared conventions. This is particularly evident in Hanabi, a card game where players see everyone's hand but their own. The "Ad-Hoc" challenge occurs when an agent must cooperate with a previously unknown partner. Most current Hanabi agents are brittle, performing well only with identical copies. This research introduces a Bayesian Meta-Agent designed to identify and adapt to diverse partner strategies in real-time.
Methodology: Diversity and Adaptation
The proposed framework operates in three distinct phases:
1. Pre-Training with MAP-Elites
To prepare for a diverse range of partners, the researchers used the MAP-Elites (Multi-dimensional Archive of Phenotypic Elites) algorithm. Instead of optimizing for a single "best" strategy, MAP-Elites "illuminates" a behavior space. Agents were evolved into 25 niches based on two behavioral metrics: Communicativeness (frequency of hints) and Information per Play (IPP) (the degree of card knowledge required before playing). This process creates a library of "hypotheses" ($H$) representing potential partner behaviors.
2. Offline Training and Match-up Tables
Before live play, the system simulates thousands of games between all agents in the generated pool. This results in a comprehensive "match-up table" that records performance scores and behavioral signatures for every possible pairing. This data allows the agent to understand which strategies complement each other best.
3. Online Bayesian Adaptation
During an active session with a stranger, the Meta-Agent maintains a Bayesian belief distribution over its library of hypotheses. By observing the partner's Communicativeness and IPP, the agent updates its belief about which known strategy the partner most closely resembles. It then selects a response policy ($R$) that maximizes the expected team score based on that belief. Crucially, the agent accounts for how its own actions might influence the partner's behavior.
Results and Evaluation
The Meta-Agent was tested against both "In-Distribution" partners (from the training pool) and "Out-of-Distribution" partners (from separate evolution runs).
Key findings include:
- Superior In-Distribution Performance: The Adaptive agent significantly outperformed a "Generalist" baseline (a fixed strategy optimized for average performance). In specific populations, the Adaptive agent achieved scores (e.g., 13.16) much closer to an "Oracle" ceiling (13.42) than the Generalist (12.94).
- Rapid Convergence: The agent typically identified the partner's strategy and converged its belief within the first 5-6 games of a 10-game session, demonstrating adaptation on a human-compatible timescale.
- Robustness Challenges: Performance with out-of-distribution partners was mixed. If a stranger was misidentified as a known hypothesis, the resulting strategy switch could occasionally lead to sub-optimal performance compared to a robust Generalist.
Conclusion and Future Work
This research highlights that behavioral diversity is a prerequisite for effective adaptation. By modeling high-level behavioral "signatures" rather than raw actions, the Bayesian Meta-Agent achieves rapid coordination. Future work aims to move beyond rule-based foundations toward Deep Reinforcement Learning and to address the "co-adaptation problem," where both players simultaneously attempt to adapt to one another.
Summary updated