A Deep Reinforcement Learning Approach for Finding Non-Exploitable Strategies in Two-Player Atari Games

Zihan Ding, Dijia Su, Qinghua Liu, Chi Jin · DOI

Introduction

In competitive multi-agent reinforcement learning (MARL), the primary objective is often to maximize win rates against specific opponents. However, agents trained this way frequently develop "Achilles' heels"—highly specific vulnerabilities that adaptive adversaries can discover and exploit. To address this, researchers from Princeton University have proposed a framework for finding Nash Equilibrium (NE) policies in two-player zero-sum Markov games. A Nash Equilibrium represents a strategy where no player can improve their outcome by unilaterally changing their strategy, assuming the opponent also plays optimally.

Proposed Algorithms

The authors introduce two novel algorithms designed to integrate game-theoretic solvers directly into the Deep Q-Network (DQN) framework:

  1. NASH_DQN: Unlike standard single-agent DQN, which uses a simple max operator for Q-value updates, NASH_DQN employs a Nash subroutine. At each state, the Q-values for available actions are treated as a mini-payoff matrix. The algorithm solves for the Nash Equilibrium of this "stage game," allowing the agent to learn state values based on optimal play from both sides rather than assuming a fixed environment.
  2. NASH_DQN_EXPLOITER: This variant incorporates a dedicated "exploiter" network. This network is specifically trained to find weaknesses in the main agent's current policy. By training against this internal rival, the main agent is forced to "harden" its strategy against adversarial tactics it might not encounter through random exploration.

Experimental Setup

The algorithms were evaluated on two fronts: tabular Markov games for theoretical verification and six complex two-player video games. The video game suite included five Atari environments from the PettingZoo library—Boxing, Double Dunk, Pong, Tennis, and Surround—alongside the Slime Volley-Ball benchmark.

Overview of the six two-player game environments used to evaluate the non-exploitability of NASH_DQN agents.

Results and Discussion

A key insight from the study is that exploitability is a more rigorous metric than win rate. To measure this, the authors trained a new adversary from scratch specifically to exploit the "finished" models. NASH_DQN demonstrated significantly higher robustness than standard baselines like Neural Fictitious Self-Play (NFSP) and standard Self-Play.

  • Robustness in Boxing: In the Boxing environment, the NASH_DQN agent achieved an exploitability score of -74.57 (where lower is better), whereas standard Self-Play reached +68.89, indicating it remained highly vulnerable to specialized tactics.
  • The "Hide-in-the-Corner" Trap: The researchers observed that simpler algorithms often converge to passive, sub-optimal strategies—such as a Boxing agent that stays in the corner to avoid hits. While effective against average bots, these strategies are easily dismantled by dedicated exploiters. In contrast, NASH_DQN agents learn to engage aggressively because they are trained to expect optimal opposition.

Conclusion

By utilizing the fine-grained game-theoretic structure of Markov games and updating state-by-state, NASH_DQN provides a path toward truly robust, non-exploitable agents. While computational overhead remains a challenge for scaling to high-dimensional pixel inputs, this work establishes a critical foundation for applying Nash Equilibrium concepts to complex, dynamic environments.

Summary updated

BibTeX
@misc{ding2022deep,
  author = {Zihan Ding and Dijia Su and Qinghua Liu and Chi Jin},
  title = {{A Deep Reinforcement Learning Approach for Finding Non-Exploitable Strategies in Two-Player Atari Games}},
  year = {2022},
  eprint = {2207.08894},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.08894},
}
Figure