TiZero: Mastering Multi-Agent Football with Curriculum Learning and Self-Play

Fanqi Lin, Shiyu Huang, Tim Pearce, Wenze Chen, Wei-Wei Tu

TL;DR

TiZero is the first reinforcement learning framework to master the full 11 vs. 11 mode of Google Research Football entirely from scratch, without relying on human demonstrations. By combining a novel joint-policy optimization algorithm with adaptive curriculum learning and a robust self-play strategy, TiZero achieves a dominant 95.8% win rate on a public leaderboard and outperforms previous state-of-the-art systems by a wide margin.

What Problem Does This Paper Address?

Multi-agent reinforcement learning (MARL) has seen incredible success in video games, but the full 11 vs. 11 mode in Google Research Football (GFootball) remains an elusive milestone. Unlike simplified mini-games, the full game requires simultaneous decentralized control of 10 outfield players over a long horizon (3,000 steps per match).

The environment presents a brutal combination of challenges:

  • Sparse Rewards: Scoring a goal is rare, making it incredibly difficult for agents learning from scratch to receive any positive reinforcement.
  • Multi-Agent Credit Assignment: When a goal is scored, it is hard to determine which off-ball movements or defensive setups contributed to the success.
  • Non-Transitivity: Strategies often exhibit a rock-paper-scissors dynamic, causing standard self-play models to get stuck in cyclical loops and forget how to defeat older strategies.

Prior state-of-the-art methods bypassed these issues by using offline human demonstration datasets. However, this approach caps the AI's performance at the skill level of the human players. TiZero aims to break this ceiling by training tabula rasa (from scratch).

Methods

The authors introduced three core innovations to make learning from scratch viable at scale:

  1. Joint-ratio Policy Optimization (JRPO): Standard policy gradient methods like MAPPO optimize each agent's policy independently. JRPO instead factorizes and optimizes the joint policy of all agents simultaneously. This mathematical shift encourages tighter team coordination and significantly reduces GPU memory consumption during training.
  2. Curriculum Self-Play: To combat sparse rewards, TiZero initializes training on a 10-level curriculum. Early levels feature weakened opponents and spawn the team closer to the opponent's goal, providing dense reward signals for basic shooting and passing. The difficulty automatically scales up as the team improves.
  3. Challenge & Generalise Self-Play: To defeat non-transitivity, TiZero uses a two-step self-play loop. First (Challenge), the agent plays against its most recent copies to ensure it can beat the strongest current strategies. Second (Generalise), it plays against the entire historical pool of its past versions, sampling opponents using a difficulty-weighted function ($f_{hard}(x) = (1-x)^2$) to focus on its remaining vulnerabilities.
Figure 2: TiZero’s network architecture. Six types of information are required as input: the controlled player information, player ID, ball information, teammate information, opponent information and current match information. We use six separate MLPs with two (one for the "player ID") fully-connected layers to encode each part of the observation. An LSTM layer is used to incorporate historic observations. The policy outputs a softmax distribution over the 19 discrete actions.

Complementing these methods are several critical engineering choices: Player-ID Conditioning (sharing a single network across all outfield players to maximize sample efficiency), Recurrent Experience Replay via LSTMs to preserve long-term memory, and Action Masking to filter out illegal moves.

Datasets

  • Google Research Football (GFootball): The primary environment used for training and evaluation, specifically the full 11 vs. 11 game mode.
  • Generalization Benchmarks: To prove the algorithmic innovations weren't overfitted to soccer, the authors also evaluated TiZero on Overcooked (cooperative coordination), Multi-agent Particle-Environment (MPE) (continuous navigation), Tic-Tac-Toe, and Connect-Four (turn-based board games).

Key Insights and Ideas

  • Cooperative Emergence via Joint Optimization: Forcing the optimization objective to consider the joint policy (JRPO) rather than individual policies prevents agents from acting greedily. This led to the emergence of complex real-world soccer tactics like "tiki-taka" short passing, offside traps, and tactical defensive clearances without any explicit programming.
  • Active Vulnerability Patching: Instead of uniform self-play, actively biasing opponent selection toward historical checkpoints that the current agent struggles against creates a monotonically improving sequence of policies, effectively flattening strategic cycles.

Key Results

  • GFootball Dominance: TiZero achieved a TrueSkill rating of 45.2, vastly outperforming the previous demonstration-based state-of-the-art, TiKick (37.2), and the environment's Built-in Hard AI (24.9). It maintained an 85.0% win rate across a mixed baseline pool.
  • Leaderboard Success: Submitted to the public JiDi AI Competition Platform, TiZero ranked #1 globally with a 95.8% win rate.
  • Quantifiable Teamwork: TiZero agents demonstrated significantly higher cooperative metrics than baselines, averaging 19.2 passes per game (vs. TiKick's 6.99) and 1.30 assists per game (vs. TiKick's 0.61).
  • Algorithmic Efficiency: JRPO trained 1.2× to 1.6× faster than vanilla MAPPO and cut GPU memory usage substantially (e.g., 121GB vs. 196GB on GFootball).
Figure 4: Evolution of TiZero strength over 45 days of train- ing. Dashed green line denotes transition from Curriculum Self-Play to Challenge & Generalize Self-Play. We can ob- serve that the Curriculum Self-play stage allows TiZero to rapidly improve early in training to a level just below the ‘Built-in Hard’ agent. Through Challenge & Generalize self- play, TiZero continues to gradually improve performance beyond the level of previous systems, eventually plateauing at a rating around 45.

Limitations and Future Work

  • High Computational Cost: Training TiZero required a massive infrastructure investment—800 CPUs and 2 NVIDIA A100 GPUs running continuously for approximately 45 days.
  • Rule-Based Goalkeeper: The goalkeeper was excluded from the learning framework and controlled via the environment's built-in rules due to its highly specialized action space. Integrating a learned goalkeeper policy into the joint optimization framework remains an open challenge for future work.

Summary updated

BibTeX
@misc{lin2023tizero,
  author = {Fanqi Lin and Shiyu Huang and Tim Pearce and Wenze Chen and Wei-Wei Tu},
  title = {{TiZero: Mastering Multi-Agent Football with Curriculum Learning and Self-Play}},
  year = {2023},
  eprint = {2302.07515},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.07515},
}
Figure