Multi-agent Learning Experiments on Repeated Matrix Games

Bruno Bouzy, Marc MétivierICML 2010

Introduction

In Multi-agent Learning (MAL), an agent attempts to maximize its returns while interacting with other learning agents. This presents a notoriously difficult challenge because the environment is "non-stationary"—as an agent learns and adapts its strategy, its opponents do the same, making the optimal strategy a moving target.

Previous research often concluded that Q-learning was the gold standard for these environments. However, these earlier studies were frequently limited by small test sets or biased game selections. This paper provides a massive "battle royale" style evaluation of MAL algorithms in repeated matrix games. The authors conduct a systematic, large-scale comparison across a wide variety of games to determine which algorithms truly hold up in an "all-against-all" setting, discovering that traditional favorites are often outperformed by bandit-based approaches and specialized algorithms.

Methodology

The researchers conducted an all-against-all tournament using a diverse league of players, including:

  • Reinforcement Learners: Q-learning (QL).
  • Game Theory-based: Fictitious Play (FP), Minimax, Bully, and Joint Regret (JR).
  • Bandit Algorithms: UCB and Exp3 (typically used for single-agent problems).
  • Specialized MAL Algorithms: S and M-Qubed (M3).

To ensure fair rankings, they employed an elimination mechanism: they ran thousands of games, identified the worst-performing player, removed them, and then recalculated the rankings for the remaining players. This prevented a single poorly performing player from skewing the overall results.

The primary evaluation utilized randomly generated 3x3 general-sum matrix games (with payoffs between -9 and +9) to avoid human bias in selecting "interesting" games. For final validation, top-performing algorithms were tested on four classical game theory benchmarks: The Penalty Game, The Climbing Game, A Coordination Game, and The Prisoner’s Dilemma.

Finally, the authors tested two key enhancements:

  1. Fixed-width windows: Forcing the agent to "forget" the distant past to adapt more quickly to an opponent's current behavior.
  2. States (History): Giving the agent a memory of the last joint action performed by all players, effectively turning the game into a simplified Markov Decision Process.

Key Insights

  • Patience is a Virtue: The rankings of algorithms do not stabilize until after tens of thousands of steps. Short-term experiments, which are common in older literature, often provide a misleading picture of which algorithm is actually superior.
Algorithm rankings stabilizing over time
  • Bandits are Surprisingly Good: UCB, an algorithm designed for the "Multi-Armed Bandit" problem, performed exceptionally well in general-sum games, despite not being explicitly designed for multi-agent environments.
  • The "Moving Target" Requires Forgetting: In a multi-agent world, distant history can be misleading. Because opponents constantly change their strategies, agents that use a "fixed-width window" (only looking at recent history) significantly outperform those that remember everything from the start of the game.
  • Context Matters: Exp3 was the absolute best in cooperative and zero-sum (purely competitive) games but performed poorly in general-sum games. This highlights that a "one size fits all" approach does not apply to MAL.

Key Results

  • The Winners: In general-sum games, M-Qubed (M3), S, and UCB emerged as the top performers.
Top performing algorithms in general-sum games
  • The Power of Enhancements: Adding "windows" and "states" to standard algorithms created new champions. Enhanced versions of Q-learning (QLw+s) and UCB (UCBw+s) became the new state-of-the-art in their tournament.
  • Specific Games: In the classical benchmarks (like the Climbing Game), M-Qubed and S proved to be the most robust, successfully reaching optimal coordination where more basic learners failed.

Limitations and Future Work

The authors acknowledge that while their random 3x3 games provide a broad testbed, they do not necessarily capture the complexity of games with significantly larger action spaces or more than two players.

Suggested future work includes:

  • Investigating why Exp3 is so dominant in cooperative/zero-sum niches to determine if its underlying logic can be ported to general-sum algorithms.
  • Exploring "expert" or "hedging" algorithms capable of switching between different strategies based on the opponent's behavior.
  • Scaling these experiments to games with larger action spaces.

Summary updated

BibTeX
@inproceedings{bouzy2010multi,
  author = {Bruno Bouzy and Marc Métivier},
  title = {{Multi-agent Learning Experiments on Repeated Matrix Games}},
  booktitle = {International Conference on Machine Learning},
  year = {2010},
}
Figure