EMAgnet: Parameter-Space EMA Regularization for Policy Gradient Self-Play in Large Games
The paper introduces EMAgnet, a novel policy gradient self-play method that improves upon uniform regularization by using an exponential moving average of past policy parameters as an adaptive regularization target, thereby achieving lower exploitability and better performance in large games with dominated strategies.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are teaching a robot to play a complex card game against itself. The goal is to find the perfect strategy (the "Nash equilibrium") where the robot can't be beaten.
In the past, researchers used a method called PPO (a standard way to train AI) with a specific trick: they told the robot, "Don't get too comfortable with one move; try everything equally." They did this by forcing the robot to treat every possible action as if it were equally likely. Think of this as a strict coach yelling, "You must practice every move, even the terrible ones, just as much as the good ones!"
The paper introduces a new method called EMAgnet (Exponential Moving Average Magnet). Here is how it works, using simple analogies:
The Problem with the Old Way (The "Uniform Magnet")
Imagine the robot is learning to play Rock-Paper-Scissors, but there is a hidden trap: one of the moves is actually a "Forfeit" button that makes you lose immediately.
- The Old Coach (Uniform Magnet): This coach insists the robot practice the "Forfeit" button just as much as Rock, Paper, or Scissors. At first, this is helpful because it stops the robot from ignoring the "Forfeit" button entirely. But as the robot gets smarter and realizes "Forfeit" is a terrible move, the coach still forces it to practice that bad move. This wastes the robot's time and energy on strategies that don't work.
- The Result: The robot gets confused. It spends too much time on bad moves, or once the coach stops forcing it to practice, the robot forgets how to mix its good moves properly and just picks one random move to stick with.
The New Solution: EMAgnet (The "Adaptive Magnet")
EMAgnet changes the coach's approach. Instead of forcing the robot to practice everything equally, the coach uses a moving target.
- The "Ghost" of the Robot: The coach keeps a "ghost" version of the robot's brain. This ghost is an average of everything the robot has learned so far.
- The Magnet: The coach tries to keep the robot's current brain close to this "ghost."
- The Magic:
- If the robot figures out that "Forfeit" is a bad idea and stops doing it, the ghost also stops doing it.
- Because the ghost stops doing the bad move, the coach stops forcing the robot to practice it.
- However, the coach keeps the pressure on to keep the robot mixing its good moves (Rock, Paper, Scissors) so it doesn't get stuck on just one.
In short: The old method was like a teacher who kept making you practice your worst handwriting even after you learned to write well. EMAgnet is a teacher who says, "Great job stopping that bad habit! Now, let's keep practicing your good handwriting so you don't get lazy."
What the Paper Found
The researchers tested this new method on several games:
- Standard Games: On normal games, EMAgnet worked just as well as the old methods.
- Games with "Traps" (Strictly Dominated Strategies): They added games where most moves were terrible traps (like the "Forfeit" button or navigating a maze where most paths lead to a dead end).
- The old methods struggled. They either wasted time on the traps or failed to find the winning strategy.
- EMAgnet won. It learned much faster and found better strategies because it naturally "forgot" the bad moves while remembering the good ones.
The Big Picture
As games get more complex (like real-world strategy games), the number of bad moves explodes. The old method wastes energy trying to learn the bad moves. EMAgnet is smarter: it adapts its teaching style to the robot's current skill level, focusing only on the strategies that actually matter.
The paper concludes that this simple tweak—using a "moving average" of the robot's own past self as a guide—makes AI much better at solving complex, tricky games without needing to change the core training algorithm.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.