TL;DR
BiKT (Bi-Level Knowledge Transfer) is a novel framework for Multi-Agent Reinforcement Learning (MARL) that enables agents to generalize to entirely new tasks without additional training. By learning both individual agent skills and team-level "tactics" from offline data, the system can orchestrate complex coordination in zero-shot scenarios, significantly outperforming existing methods on benchmarks like StarCraft II.
Introduction: The Challenge of MARL Generalization
Training Multi-Agent Reinforcement Learning (MARL) agents is notoriously expensive. In complex environments like autonomous driving or robotic swarms, agents must not only learn how to act individually but also how to coordinate with others. Traditionally, this requires millions of rounds of "online" interaction—trial and error in the environment—which is often impractical for new tasks.
While researchers have tried using "offline" data (pre-recorded trajectories) to teach agents transferable skills, most prior work focuses only on the individual level. For example, an agent might learn the "skill" of moving toward an enemy. However, knowing how to move isn't enough if the team doesn't have a shared tactic, such as "everyone focus fire on the same target." Without team-level coordination knowledge, agents struggle to generalize their behavior when the number of teammates or the specific goals of a task change.
Methodology: Bi-Level Knowledge Transfer (BiKT)
The authors propose BiKT, which structures knowledge transfer into two distinct layers to capture both individual proficiency and team strategy.
- Individual Skill Level: Using a Variational Auto-Encoder (VAE), the model extracts latent "skill" embeddings from offline data. These skills represent common action patterns (e.g., advancing, escaping, or kiting) that are useful across many different tasks.
- Team Tactic Level: This is the core innovation. The authors define a "tactic" as a specific combination of individual skills. They use a Vector Quantized VAE (VQ-VAE) to map these combinations into a compact tactic codebook. This codebook acts as a library of coordinated team behaviors (e.g., "High-HP agents draw fire while Low-HP agents retreat").
- Bi-Level Decision Transformer (BDT): To integrate these learned representations, the authors designed a specialized Transformer architecture. At each timestep, the BDT first predicts the appropriate tactic index from the codebook. Conditioned on that tactic, it then infers the specific individual skills for each agent, which are finally decoded into actual game actions.
By separating "what the team is doing" from "what the individual is doing," the model can mix and match learned tactics and skills to solve previously unseen problems.
Datasets and Evaluation
The researchers evaluated BiKT on two primary benchmarks:
- StarCraft II Micromanagement (SMAC): They used three specific task sets—Marine-Hard, Marine-Easy, and Stalker-Zealot. These involve controlling groups of units to defeat enemy AI. The "unseen" tasks often involved different numbers of agents or asymmetric team compositions (e.g., 5 agents vs. 6 enemies).
- Multi-Agent Particle Environment (MPE): Specifically the Cooperative Navigation task, where agents must coordinate to cover landmarks while avoiding collisions.
The offline training data consisted of trajectories ranging from "Expert" to "Medium-Replay" quality to test how robust the model is to sub-optimal demonstrations.
Key Insights
- Tactics are Task-Agnostic: A successful tactic like "focus fire" is semantically the same whether you have 3 marines or 10. By learning the pattern of the combination rather than the specific actions, BiKT achieves much better zero-shot transfer.
- The Power of Discretization: By using a discrete tactic codebook (via VQ-VAE) rather than a continuous embedding space, the model avoids "blurry" or monotonous coordination patterns. It forces the model to pick a clear, meaningful team strategy.
- Sequential Inference: The bi-level structure (Tactic $\rightarrow$ Skill $\rightarrow$ Action) mimics human hierarchical reasoning. A captain chooses a play, and the players execute their specific roles within that play.
Key Results
BiKT demonstrated a massive leap in zero-shot generalization:
- Superior Win Rates: In the Marine-Hard task set (Expert data), BiKT achieved near 100% win rates on several unseen tasks (like 10m and 12m) where baselines like UPDeT or ODIS often dropped to 0% or significantly lower performance.
- Robustness to Data Quality: Even when trained on "Medium" or "Replay" data (which contains many failures), BiKT maintained a strong lead over other hierarchical MARL methods.
- Coordination Discovery: Qualitative visualizations showed that the model successfully clustered distinct, interpretable tactics, such as "Stalker draws fire for asymmetric attack," and could successfully apply that same logic to larger, unseen groups.
Limitations and Future Work
While BiKT is highly effective, the authors note a few areas for growth:
- Scaling to Diversity: It remains an open question whether a fixed-size tactic codebook can scale to "highly diverse and large-scale" task distributions (e.g., moving from StarCraft to a completely different genre of game).
- Adaptive Embeddings: Future work could explore more expressive or adaptive embedding mechanisms that allow the "library" of tactics to grow or evolve as the agent encounters more diverse data.
- Computational Cost: While the inference is efficient, the three-stage training process (Skills $\rightarrow$ Tactics $\rightarrow$ Policy) adds complexity to the pipeline.
Summary updated