Value-based CTDE Methods in Symmetric Two-team Markov Game: from Cooperation to Team Competition

Pascal Leroy, Jonathan Pisane, Damien Ernst

TL;DR

Training multi-agent teams to cooperate internally while competing against adversarial teams requires strategies that do not overfit to a single opponent. By adapting popular value-based cooperative methods (QMIX, MAVEN, QVMix) to a newly developed competitive StarCraft environment, this paper shows that training within an evolving population of teams yields the highest Elo ratings and greatest resilience against diverse strategies—provided you have a post-training selection process to pick the best performers.

What Problem Does This Paper Address?

Centralised Training with Decentralised Execution (CTDE) has become the gold standard for cooperative Multi-Agent Reinforcement Learning (MARL), typically formulated as a Dec-POMDP where agents collaborate against a static environment or fixed-rule bots. However, real-world multi-agent domains—from competitive robotics (RoboCup) to cyber-physical defense—involve two competing teams.

When opponents change tactics, models trained against a single stationary bot quickly collapse due to strategy overfitting. While self-play and population-based training have succeeded in competitive single-agent and zero-sum games, little work systematically examines how cooperative value-based CTDE methods handle team-versus-team competition under different training curricula.

Methods

The authors formalize the setting as a symmetric, partially observable two-team Markov game. To train the teams, they employ three value-based CTDE algorithms:

  • QMIX: Factorizes the joint action-value function ($Q_{tot}$) using monotonic mixing networks conditioned on the global state.
  • MAVEN: Extends QMIX with a variational latent space to encourage diverse, temporally extended exploration.
  • QVMix: Adapts Deep Quality-Value learning to QMIX by simultaneously training a joint $V$ network and a joint $Q$ network.

For each method, they evaluate three opponent training scenarios:

  1. Stationary Heuristic: Learning against a fixed rule-based script (a Dec-POMDP baseline).
  2. Self-Play: Learning against an identical, concurrently improving copy of the same team.
  3. Population-Based Training: Learning within a fixed pool of five concurrent teams that play against themselves or other teams in the pool.

Performances are evaluated using round-robin tournaments to compute Elo ratings across 16 different test population configurations (with an initial Elo of 1000 and max update $K=10$).

Datasets

The authors modified the standard StarCraft Multi-Agent Challenge (SMAC) and PyMARL codebases into an open-source competitive benchmark (competitive SMAC / competSmac):

  • 3m: Two teams of 3 Marines clash on a symmetric map (max 100 timesteps).
  • 3s5z: A larger, heterogeneous matchup with 3 Stalkers and 5 Zealots per team (max 150 timesteps).
  • Custom Heuristic: Instead of SMAC’s default AI target-priority rules, the authors engineered an aggressive heuristic that pushes across the map and attacks the nearest enemy regardless of target type, creating a significantly harder baseline to beat.

Key Insights and Ideas

  • Stationary Opponents Breed Fragile Policies: Teams trained against the heuristic mastered that specific bot, but failed against dynamic learning agents—suffering over 60% loss rates when facing self-play or population-trained teams.
  • Population Training Drives Exploration: In early training, population-trained teams learn faster because varied opposing policies force teams to explore and engage across the map sooner, avoiding degenerate passive local optima.
  • Selection Is Mandatory: While population training produces the strongest overall teams, it also exhibits high variance within the same population. Evaluating the "Best of Population" (BP) shows a distinct performance gap over average members, meaning practitioners must budget for a validation tournament.
  • Exploration Tricks Don't Guarantee Competitive Advantage: Despite MAVEN’s dedicated latent-space exploration mechanism, it consistently lagged behind standard QMIX and QVMix across both maps.

Key Results

  • Sample Efficiency vs. Breadth: A total of 210 distinct teams across nine configurations were trained. Self-play required $5 \times 10^6$ environment steps, while population training required $5 \times 10^7$ steps across 5 teams. Self-play teams showed comparable peak performance to population teams in simpler scenarios (3m), but population teams maintained superiority in complex environments (3s5z).
  • Elo Dominance: In 3m, population-trained teams and their top picks achieved the highest Elo ratings (often $>1100$, well above the starting 1000 and the heuristic).
  • Robustness Under Heavy Adversity: In 3s5z, the custom heuristic proved so punishing that virtually no learning team achieved high win rates against it within the $10^7$-step budget. Despite this, population-trained agents still outperformed self-play and heuristic-trained teams in cross-evaluations, proving that diverse experience beats bot-specific optimization even when the bot is stronger.
  • Algorithm Standouts: In 3m, QMIX achieved the highest individual Elo peaks. In 3s5z, QVMix produced the highest median Elo scores with noticeably lower variance than QMIX.

Limitations and Future Work

  • Symmetric Constraints: The framework relies on identical team compositions; it does not yet address asymmetric team sizes, differing unit types, or uneven starting advantages.
  • Small, Static Populations: Population sizes were capped at five teams without dynamic mechanisms (e.g., PSRO, league training, or historical opponent matchmaking).
  • Unclear MAVEN Degradation: The authors noted that MAVEN's underperformance in competitive settings requires deeper behavioral and loss-surface analysis.
  • Scale: Experiments were limited to two standard SMAC combat scenarios; testing on larger maps and complex base-building remains open.

Summary updated

BibTeX
@inproceedings{leroy2022value,
  author = {Pascal Leroy and Jonathan Pisane and Damien Ernst},
  title = {{Value-based CTDE Methods in Symmetric Two-team Markov Game: from Cooperation to Team Competition}},
  booktitle = {DeepRL @ NeurIPS},
  year = {2022},
  url = {https://openreview.net/forum?id=wDLQXjkzrS7},
}
Figure