Few-Shot Teamwork

Elliot Fosong, Arrasy Rahman, Ignacio Carlucho, Stefano V. AlbrechtarXiv 2022 · DOI

Abstract

Multi-Agent Reinforcement Learning (MARL) faces significant scalability challenges when training large teams for complex tasks from scratch. This paper introduces Few-Shot Teamwork (FST), a novel problem setting that bridges the gap between curriculum learning and ad hoc teamwork. FST proposes a two-stage process where specialized subteams, trained independently on source tasks, are merged and adapted to a complex target task with minimal additional experience. By formalizing this framework, the authors provide a roadmap for developing agents capable of rapid coordination and long-term autonomy in dynamic environments.

Introduction

In the domain of Multi-Agent Reinforcement Learning (MARL), the traditional approach of training a full team from a state of zero knowledge is often computationally prohibitive. This "tabula rasa" training faces three primary obstacles: the exponential explosion of the joint policy space, the difficulty of multi-agent credit assignment, and the non-stationarity introduced by multiple agents learning simultaneously.

To overcome these barriers, researchers at the University of Edinburgh propose Few-Shot Teamwork (FST). Inspired by human sports—where specialists like defenders and attackers practice separately before integrating into a full team—FST focuses on how pre-trained subteams can be combined to solve a novel, complex task with only a few "practice sessions" or adjustment steps.

The FST Framework

The authors formalize FST using the mathematical structure of Decentralized Partially Observable Markov Decision Processes (Dec-POMDPs). The process is divided into two distinct phases:

  1. The Source Stage: Multiple subteams are trained independently on specific "source tasks." For example, in a 5-a-side football environment, one subteam might master defensive drills while another focuses on offensive plays. During this stage, subteams are isolated; they have no knowledge of each other or the eventual target task.
  2. The Adjustment Stage: The specialized subteams are merged into a single "target team." This team is then deployed in the complex "target task" (e.g., a full football match). The goal is to achieve high performance within a strictly limited number of training steps ($N_A$), requiring the agents to rapidly adapt their existing skills to a new collaborative context.

Bridging Existing Paradigms

FST occupies a unique position at the intersection of two established fields in reinforcement learning:

  • Curriculum Learning: FST can be viewed as a curriculum where the focus is on total training efficiency. The objective is to ensure that the combined cost of source training and adjustment training is significantly lower than training the entire team from scratch.
  • Ad Hoc Teamwork (AHT): From an AHT perspective, the focus is on rapid adaptation. Here, the challenge is to minimize the adjustment steps ($N_A$) to near zero, even if the initial source training was extensive. This assumes the agents must be prepared to collaborate with unfamiliar partners on the fly.

Theoretical Foundations and Coordination

The paper argues that for FST to be viable, there must be an underlying relationship between the source and target tasks. Specifically, the optimal policies learned in simpler source tasks should ideally align with the requirements of the complex task in certain states. This "No Free Lunch" necessity implies that task decomposition must be meaningful.

Furthermore, the authors identify two critical mechanisms for successful adjustment:

  • Legibility: Agents must act in a way that their intentions are clear to their new teammates, reducing the uncertainty inherent in novel collaborations.
  • Dispute Resolution: When subteams bring conflicting strategies to the target task, the system needs a method to resolve these clashes and converge on a unified team strategy.

Conclusion and Future Directions

As a position paper, this work establishes FST as a critical bottleneck for future MARL research. While the framework currently relies on human-designed task decompositions, future work should explore automated methods for identifying optimal source tasks. Additionally, introducing communication protocols and stronger inductive biases for cooperation will be essential for reducing the adjustment period. Ultimately, progress in FST will enable autonomous agents to join forces and tackle real-world challenges with the same flexibility and speed as human teams.

Summary updated

BibTeX
@misc{fosong2022few,
  author = {Elliot Fosong and Arrasy Rahman and Ignacio Carlucho and Stefano V. Albrecht},
  title = {{Few-Shot Teamwork}},
  year = {2022},
  eprint = {2207.09300},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.09300},
}
Figure