TL;DR
This paper introduces a novel transfer learning framework for multi-agent reinforcement learning that combines goal-conditioned policies with unsupervised temporal contrastive learning. By mapping agent trajectories into a latent space where geometric distance represents temporal distance, the framework automatically builds a planning graph of sub-goals to guide agents in new environments. The approach achieves state-of-the-art performance while requiring only 21.7% of the training samples compared to traditional baselines.
What Problem Does This Paper Address?
Deep Reinforcement Learning (RL) has achieved massive success in games and robotics, but it is notoriously sample-inefficient. This problem compounds exponentially in multi-agent systems, where the state and action spaces grow combinatorially with every added agent.
Transfer Learning (TL) aims to mitigate this by leveraging knowledge from a source task to accelerate learning in a target task. However, standard TL methods (like fine-tuning or policy distillation) often fail when the target task involves slight variations in rules or long-horizon coordination. For instance, an agent trained to cook a standard soup might get stuck if a new recipe requires an extra ingredient, because its prior policy biases it toward old, now-incorrect behaviors. The authors tackle this challenge by finding a way to extract reusable, high-level structural knowledge that can flexibly adapt to new layouts and tasks.
Methods
The proposed framework operates in three distinct stages:
- Pre-training: A Goal-Conditioned Reinforcement Learning (GCRL) agent is trained in a source environment using Proximal Policy Optimization (PPO). Instead of learning a single fixed task, it learns to reach diverse, short-horizon goals, building up a robust library of fundamental skills.
- Transfer and Graph Construction: The agent is introduced to the target environment. Using a single successful expert demonstration to narrow the search space, the agent collects rollout trajectories. The framework then applies temporal contrastive learning (via an InfoNCE loss) to map these high-dimensional states into a compact embedding space. In this space, the $L_2$ distance between two points directly mirrors the minimal temporal steps required to transition between them. This latent space is clustered, and transitions observed in the expert trajectory are used to construct a high-level planning graph.
- Task Execution: During deployment, the framework uses the planning graph to perform high-level planning, generating sequential sub-goals. The low-level GCRL policy is then responsible for executing the actions needed to reach each sub-goal sequentially.
Datasets
The method was evaluated using the popular Overcooked benchmarking environment, a simplified cooperative game where two player-controlled chefs must coordinate to prepare and deliver soups. The authors designed four distinct transfer learning scenarios to test different types of generalization:
- Cilantro and Cilantro Left: Introduced a new recipe requirement (fetching and adding cilantro to the soup) and layout changes.
- Small Corridor and Corridor: Featured narrow, long layouts that heavily penalize poor multi-agent coordination (e.g., agents blocking each other).
Key Insights and Ideas
- Unsupervised Sub-goal Discovery via Bottlenecks: The temporal contrastive learning mechanism naturally identifies "bottleneck" structures in the environment without human labeling. Bottleneck transitions (like picking up an onion when empty-handed) represent critical gateways to previously inaccessible states, making them perfect candidates for high-level sub-goals.
- Decoupling Planning from Execution: By separating high-level task planning (the graph) from low-level skill execution (the GCRL policy), the agent avoids the "negative transfer" trap. If a recipe changes, the agent doesn't need to relearn how to walk or pick up items; it simply updates the sequence of sub-goals on its planning graph.
Key Results
The framework was compared against five baselines, including Vanilla RL, standard Fine-tuning, Policy Distillation, and JumpStart RL (JSRL).
- Sample Efficiency: The proposed method reached convergence 4.6 times faster on average than the fastest baselines, requiring only 21.7% of the training samples to achieve equal or superior performance.
- Overcoming Coordination Deadlocks: In the challenging Small Corridor and Corridor environments, almost all baseline methods completely failed (delivering 0 soups) because they could not navigate the tight spaces without blocking one another. The graph-guided GCRL agent successfully coordinated to deliver an average of 4.92 and 3.84 soups per episode, respectively.
- Interpretability: The sub-goals generated by the planning graph were qualitatively shown to be highly semantic and interpretable, clearly mapping to human concepts like "fetching plates," "putting onions into the oven," and "serving soup."
Limitations and Future Work
The primary limitation of this work is its reliance on a single successful expert demonstration in the target environment to guide the initial finetuning and graph construction phases. While a single demo is a relatively low bar, in entirely unmapped or highly complex environments, obtaining even one perfect demonstration can be difficult.
For future work, the authors suggest exploring the integration of natural language guidance to replace or augment the expert demonstration, as well as validating the framework on real-world physical robotic coordination tasks.
Summary updated