Abstract
Recent superhuman results in games have largely been achieved in a variety of zero-sum settings, such as Go and Poker, in which agents need to compete against others. However, just like humans, real-world AI systems have to coordinate and communicate with other agents in cooperative partially observable environments as well. These settings commonly require participants to both interpret the actions of others and to act in a way that is informative when being interpreted. Those abilities are typically summarized as theory of mind and are seen as crucial for social interactions. In this paper we propose two different search techniques that can be applied to improve an arbitrary agreed-upon policy in a cooperative partially observable game. The first one, single-agent search, effectively converts the problem into a single agent setting by making all but one of the agents play according to the agreed-upon policy. In contrast, in multi-agent search all agents carry out the same common-knowledge search procedure whenever doing so is computationally feasible, and fall back to playing according to the agreed-upon policy otherwise. We prove that these search procedures are theoretically guaranteed to at least maintain the original performance of the agreed-upon policy (up to a bounded approximation error). In the benchmark challenge problem of Hanabi, our search technique greatly improves the performance of every agent we tested and when applied to a policy trained using RL achieves a new state-of-the-art score of 24.61 / 25 in the game, compared to a previous-best of 24.08 / 25.
Introduction
While AI has mastered zero-sum games like Go and Poker using search, cooperative games with partial observability (modeled as Dec-POMDPs) remain a significant hurdle. In these settings, agents must not only act but also communicate and interpret the actions of others—a capability often called "Theory of Mind."
The core challenge is that in cooperative games, an agent's action changes their partner's beliefs. If an agent deviates from a known convention to take a "better" action found via search, they might confuse their partner, leading to a coordination failure. Most existing reinforcement learning (RL) methods try to bake coordination into a static policy, but they lack the flexibility and performance boost that real-time search provides in competitive games.
The SPARTA Framework
This paper introduces SPARTA (Search for Partially Observing Teams of Agents), a framework that brings the power of lookahead search to cooperative games with hidden information. The authors propose two search variants that build upon a pre-agreed blueprint policy (a "convention" that all agents are expected to follow):
- Single-Agent Search: One agent performs a 1-ply Monte Carlo search, assuming all other agents will strictly follow the blueprint policy for the rest of the game. This effectively turns the problem into a single-agent POMDP where the partners are treated as part of the environment.
- Multi-Agent Search: All agents agree to use the same search procedure. To stay coordinated, every agent must simulate the search process of their teammates for every possible private state the teammate might have. This ensures that the resulting "searched" policy remains common knowledge.
To make multi-agent search computationally feasible, the authors introduced Retrospective Belief Updates. In games like Hanabi, the number of possible private states can be in the millions. Instead of searching every turn, agents "delay" the search until new public information (like a hint) reduces the number of possible states to a manageable "max range."
Experimental Evaluation
The primary benchmark is Hanabi, a cooperative card game where players see everyone's cards except their own. It is considered a "frontier" problem for AI because it requires sophisticated communication and reasoning about others' beliefs. The authors tested their methods on 2, 3, 4, and 5-player versions of the game.
Key Results
The results across various blueprint policies show that search consistently and significantly boosts performance. Empirical results show that the expected score of the team increases monotonically as search is applied at each move of the game.
- New State-of-the-Art: Applying multi-agent search to a policy trained with the Simplified Action Decoder (SAD) achieved 24.61 / 25 in 2-player Hanabi, surpassing the previous best of 24.08.
- Perfect Scores: Their strongest agent achieved a perfect score in 75.5% of 2-player games.
- Scalability: The benefits of single-agent search extended to 3, 4, and 5-player variants, setting new benchmarks across the board.
Discussion and Conclusion
SPARTA demonstrates that search can be a powerful policy improver in cooperative settings. The authors prove that applying SPARTA to a blueprint policy is theoretically guaranteed to maintain or improve performance (up to a small sampling error).
However, limitations remain. SPARTA currently assumes all agents have perfect knowledge of each other's blueprint policies. In "ad-hoc" settings with unknown partners, this assumption breaks down. Additionally, multi-agent search is computationally demanding; a 2-player game requires about 90 core-hours compared to just 2 core-hours for single-agent search. Future work could involve learning models of partners' policies during play to make search more robust to teammates who might not follow the agreed-upon blueprint.
Summary updated