Introduction
In the traditional landscape of Multi-Agent Reinforcement Learning (MARL), agents are typically trained together, allowing them to develop shared protocols, joint policies, and specialized communication channels. However, real-world scenarios—such as a robot assisting a human in a kitchen or a disaster response team composed of drones from different manufacturers—rarely afford the luxury of pre-coordination. This challenge is the focus of Ad Hoc Teamwork (AHT): the design of autonomous agents that can collaborate effectively with unfamiliar teammates on the fly.
This paper provides a comprehensive survey of the AHT field, unifying fifteen years of research into a structured taxonomy. By defining the boundaries of the problem and categorizing existing solution methods, the authors provide a roadmap for moving from simple simulations to robust, real-world collaborative AI.
Defining the Ad Hoc Teamwork Problem
Ad Hoc Teamwork is distinguished from broader multi-agent systems by three strict operational assumptions:
- No Prior Coordination: The agent (the "learner") must interact with teammates without any pre-agreed rules, shared training phases, or established communication protocols.
- No Control Over Teammates: The learner cannot modify the behavior or code of its partners; it must adapt to them as they are.
- Collaborative Intent: While individual agents may have slightly different internal reward structures, they share a common overarching goal, ensuring the interaction is fundamentally cooperative rather than competitive.
A Taxonomy of Solution Methods
The survey categorizes AHT research into four essential subtasks that an agent must navigate to succeed in a team of strangers:
1. Knowledge Representation
Agents must store and organize prior knowledge about potential teammate behaviors. A dominant paradigm is type-based reasoning, where the learner maintains a library of hypothesized "types" (e.g., aggressive, cautious, or follower behaviors). These types can be derived from historical data, human expert demonstrations, or self-play agents.
2. Identifying Teammates
Once in an environment, the agent must determine which "type" its current teammates most closely resemble. This is often achieved through Bayesian inference—updating a probability distribution over the library of types based on observed actions—or through neural attention mechanisms that map current trajectories to past experiences.
3. Action Selection
After identifying a teammate's likely strategy, the agent must decide on an optimal response. Common approaches include:
- Planning: Using Monte Carlo Tree Search (MCTS) to simulate future interactions.
- Policy Selection: Choosing from a set of pre-trained expert policies designed to complement specific types.
- Metalearning: Developing meta-policies that can "probe" teammates with specific actions to quickly reveal their underlying strategies.
4. Adapting to Changes
Teammates are rarely static. AHT agents must handle non-stationarity, such as a teammate switching strategies mid-task. Techniques like change-point detection allow agents to reset their beliefs when observed behavior deviates significantly from the current hypothesis.
Evaluation Environments and Benchmarks
The paper catalogs the diverse environments used to test AHT agents, ranging from foundational logic tests to complex simulations:
- Foundational Games: Simple matrix games and gridworlds like Predator-Prey or Level-Based Foraging (LBF).
- Coordination Challenges: Hanabi, a partially observable card game, has become a benchmark for "Zero-Shot Coordination" (ZSC), a subset of AHT where agents share identical rewards.
- Dynamic and Open Systems: Environments like Wildfires or Robot Soccer (RoboCup) test an agent's ability to handle agents entering or leaving the task and operating under high-dimensional state spaces.
Key Insights: AHT vs. MARL
A critical takeaway from the survey is that standard MARL often produces brittle agents. Because MARL agents overfit to the specific quirks of their training partners, they frequently fail when paired with even slightly different teammates. AHT requires a fundamental shift toward robustness and generalization.
Furthermore, the authors clarify the relationship between AHT and Zero-Shot Coordination (ZSC). While ZSC focuses on agents with identical reward functions, AHT is broader, encompassing "mixed objectives" where teammates might have individual incentives that are not perfectly aligned, more closely mimicking human social dynamics.
Future Directions and Open Problems
Despite significant progress, the authors identify several roadblocks:
- Standardization: The field lacks unified benchmarks. Researchers often use custom variations of environments, making it difficult to compare the performance of different algorithms.
- Scaling to Reality: Most research remains confined to gridworlds. There is an urgent need to move toward complex robotics simulators and social navigation tasks, such as robots navigating through human crowds.
- Out-of-Distribution Generalization: Agents still struggle when teammates fall entirely outside their pre-defined training distributions. Future work in continual learning and the generation of highly diverse training populations will be essential to bridge this gap.
Conclusion
Ad Hoc Teamwork represents a vital step toward creating AI that can truly integrate into human society. By moving away from the assumption of joint training, AHT research paves the way for flexible, adaptive agents capable of collaborating with anyone, anywhere, at any time.
Summary updated