Introduction
In cooperative multi-agent reinforcement learning (MARL), agents must learn to work together to achieve common goals. While transfer learning is well-established in single-agent settings, it remains a significant challenge in multi-agent environments. Most existing methods focus on transferring individual agent policies—how a single agent acts—but often neglect coordination knowledge, or the logic of how agents interact.
When the number of agents changes or the task scale increases, individual policies often fail because the underlying coordination structure shifts. For example, a strategy learned by a small squad in StarCraft II doesn't automatically translate to a larger group because "credit assignment"—determining which agent contributed most to a victory—becomes exponentially more complex. This paper introduces a novel framework that focuses on transferring reusable coordination patterns using a "Level-Adaptive Transformer" (LA-Transformer).
Methods: LA-QTransformer and PIT
The proposed framework consists of two primary components designed to capture and transfer coordination logic across varying task scales.
1. LA-QTransformer (The Mixing Network)
In Centralized Training with Decentralized Execution (CTDE), a mixing network combines individual agent values into a total team value. The authors replace standard mixing networks with the LA-QTransformer.
- LA-Transformer: Unlike traditional Transformers that capture pairwise relationships, the LA-Transformer uses a recursive structure to capture higher-level coordination (e.g., groups of three or more agents) efficiently without the computational cost of stacking many layers.
- Hard vs. Hybrid Variants: The "Hard" version selects the most appropriate coordination level using Gumbel-Softmax, while the "Hybrid" version fuses features from multiple levels to handle more complex, heterogeneous scenarios.
2. PIT (Population Invariant agent with Transformer)
To handle tasks where the number of agents or enemies changes, the PIT agent uses a Property Group Module to categorize entities (allies vs. enemies) and a Transformer-based architecture. This ensures the agent's policy remains functional regardless of the number of entities present on the screen.
Key Insights: Coordination Decomposition
The core innovation is the idea that complex team coordination can be decomposed into simpler, reusable patterns. These patterns, such as "focus fire" or "kiting," remain valid even as the team size grows.
- Level-Adaptivity: By allowing the network to adaptively choose the "level" of interaction (pairwise vs. group-based), the model avoids both under-fitting and over-fitting to specific team sizes.
- Stability via Fixed Points: Drawing on the Brouwer Fixpoint Theorem, the authors use a recursive Transformer structure to reach higher coordination levels efficiently, arguing that coordination mappings become stationary as levels increase.
- Transferring the "Boss": By making the centralized mixing network (the "critic") transferable, the model retains the logic of team play, which is often more robust than the specific actions of a single agent.
Experimental Results
The researchers evaluated their approach using the StarCraft II Multi-Agent Challenge (SMAC) benchmark across various homogeneous and heterogeneous scenarios.
- Superior Transfer: In "jumpstart" tests (zero-shot transfer), the LA-QTransformer significantly outperformed baselines. After training on 3 Marines, it achieved a 97.2% win rate on a 5-Marine task, whereas standard QMIX was unstable.
- Zero-Shot Scaling: In curricular learning experiments, a model trained on a 5v6 scenario and transferred through an 8v9 scenario achieved excellent performance on a 10v11 task without any additional training.
- Heterogeneous Success: The Hybrid LA-Transformer proved particularly effective for diverse unit types (e.g., Stalkers and Zealots), as it could merge diverse coordination patterns more effectively than the "Hard" selection method.
Limitations and Future Work
While the current work demonstrates strong results in value-based MARL (like Q-learning), extending this framework to policy-based methods (e.g., MAPPO or MADDPG) is a necessary next step. Additionally, while the model handles transfer well, the specific design of the curriculum (the order of tasks) still impacts efficiency, suggesting a need for automated curriculum design. Finally, the "Hard" selection method occasionally missed valuable information, indicating that hybrid fusion is generally more robust for complex scenarios.
Summary updated