Introduction
In multi-agent learning (MAL), most algorithms are designed to perform well against stationary opponents—agents whose strategies do not change over time. However, in real-world scenarios, agents learn from and adapt to each other. If an algorithm assumes its opponent is stationary, it can be easily exploited or fail to reach mutually beneficial outcomes, such as cooperation in the Prisoner’s Dilemma.
This paper introduces Manipulator, a multi-agent learning algorithm designed to handle opponents that adapt based on recent history (bounded memory). Manipulator combines "teaching" to encourage cooperation, best-response learning to exploit patterns, and a minimax safety net to guarantee a minimum payoff.
Problem Formulation
The authors identify a gap in existing criteria for "good" learning algorithms, which often fail to account for opponents that condition their moves on the agent's own past actions. To address this, they focus on a target class of bounded memory opponents—agents that determine their next move based on the last $k$ rounds of play. They propose that a robust algorithm should satisfy three criteria:
- Targeted Optimality: Near-optimal performance against the target class.
- Compatibility: High performance during self-play.
- Safety: A guaranteed "security value" (minimax payoff) against any opponent.
The Manipulator Algorithm
The Manipulator algorithm operates in three distinct phases to balance exploration, teaching, and safety:
- The Teaching Phase (StochGodfather): Initially, the algorithm employs a stochastic version of the "Godfather" strategy. Based on the Folk Theorem, this strategy offers the opponent a beneficial outcome but "punishes" deviations by playing minimax. This encourages adaptive opponents to coordinate.
- The Learning Phase (MemBR): If the opponent fails to respond to teaching, Manipulator switches to
MemBR. This component tracks the frequency of the opponent's actions following every possible history of length $k$ and plays the $\epsilon$-best response to the observed behavior. - The Safety Mechanism: The algorithm continuously monitors its average reward. If the payoff drops below the game's security value (minus a small error $\epsilon$), it reverts to a minimax strategy to prevent exploitation.
Experimental Evaluation
The researchers evaluated Manipulator using GAMUT, a comprehensive suite of game-theoretic benchmarks. Testing spanned a wide variety of normal-form games, including classic dilemmas (Prisoner’s Dilemma, Chicken), coordination games (Battle of the Sexes), and competitive games (Matching Pennies, Rock-Paper-Scissors).
Results and Discussion
Manipulator demonstrated empirical dominance across the GAMUT suite, consistently achieving near 100% of the maximum achievable reward across diverse game types, significantly outperforming baseline algorithms in consistency.
Performance Against Diverse Opponents
Against stationary and adaptive opponents, Manipulator proved highly robust. In scenarios against "Bully" or "Random" strategies, it quickly learned the best response. In adversarial games like Matching Pennies, where teaching is ineffective, the safety mechanism ensured the agent was not exploited beyond the game's inherent security value.
Self-Play and Teaching
A key insight is that "teaching" is as critical as learning. By actively attempting to "manipulate" the opponent into a mutually beneficial equilibrium, Manipulator achieves superior self-play payoffs. Two Manipulators playing against each other quickly find and maintain high-payoff outcomes, outperforming algorithms like MetaStrategy and Hyper-Q.
Conclusion and Future Work
While Manipulator advances the state of MAL against bounded-memory opponents, several limitations remain. The current framework is limited to two-player repeated games with full observability. Future work includes extending the algorithm to stochastic games and multi-player settings. Additionally, the computational complexity of learning against memory $k$ is exponential, suggesting a need for more efficient handling of larger memories or complex adaptive structures.
Summary updated