Complexity and Algorithms for Exploiting Quantal Opponents in Large Two-Player Games

David Milec, Jakub Cerný, Viliam Lisý, Bo An

Abstract

Traditional game theory relies on the assumption of perfect rationality, a condition rarely met by human opponents. This paper explores the challenge of exploiting "quantal" opponents—those who exhibit bounded rationality by preferring better moves but occasionally making errors. We analyze the computational complexity of finding optimal strategies against such opponents, proving that computing Quantal Nash Equilibria (QNE) is PPAD-hard and Quantal Stackelberg Equilibria (QSE) is NP-hard in extensive-form games. To address these challenges, we introduce scalable algorithms based on Counterfactual Regret Minimization (CFR), including the Restricted Quantal Response (RQR) heuristic. Our results demonstrate that RQR effectively balances exploitation and robustness, outperforming standard Nash strategies in large-scale games like Goofspiel and Leduc Hold’em.

Introduction

In real-world strategic interactions, from poker to cybersecurity, human behavior often deviates from the perfect rationality assumed by the Nash Equilibrium (NE). A more realistic model is the Quantal Response (QR), where players choose actions stochastically, with higher-utility actions being more probable. However, exploiting these "quantal" opponents presents two significant hurdles: scalability to large games with hidden information and robustness against opponents who might play more rationally than predicted.

Theoretical Complexity

The authors investigate two primary solution concepts for these scenarios:

  1. Quantal Nash Equilibrium (QNE): A stationary point where one player is rational and the other is quantal.
  2. Quantal Stackelberg Equilibrium (QSE): A model where a rational leader commits to a strategy, anticipating a quantal follower's response.

The paper provides rigorous complexity proofs, establishing that computing QNE is PPAD-hard. Furthermore, finding the optimal QSE in extensive-form games is NP-hard, even in zero-sum settings. These findings underscore the necessity of heuristic approaches for large-scale applications.

Key Insights: The "QNE Trap"

A critical discovery is that simply playing a QNE can be counterproductive. The authors demonstrate the "QNE Trap," where a QNE strategy may perform worse than a standard Nash Equilibrium against a quantal opponent and remains highly vulnerable to a rational one.

Expected utility landscape showing the 'QNE trap' and the non-convexity of the QSE objective.

As shown in the figure above, the expected utility landscape is non-convex. The QNE often resides at a local maximum or a point of lower utility compared to the global optima represented by the QSE. This non-convexity is what makes the QSE particularly difficult to compute in large games.

Proposed Methods: CFR-QR and RQR

To overcome the limitations of existing methods, the authors adapt the Counterfactual Regret Minimization (CFR) framework. They introduce:

  • CFR-QR: An adaptation of CFR specifically for quantal response models.
  • Restricted Quantal Response (RQR): A novel heuristic that forces the algorithm to consider an opponent playing a mixture of quantal and perfect responses. This approach naturally balances the desire to exploit mistakes with the need for safety against rational play.

Empirical Results

The proposed algorithms were evaluated on various benchmarks, including random games, standard game theory models (e.g., "Grab the Dollar," "Traveler's Dilemma"), and poker variants.

Performance gain of various strategies across increasing game sizes.

Key findings include:

  • Scalability: While Gradient Ascent (GA) can find strong strategies in small games, it fails to scale. In contrast, CFR-QR and RQR successfully handled games with up to $10^8$ states, such as Goofspiel 7.
  • Performance and Robustness: RQR consistently achieved higher gains than Nash strategies. In Leduc Hold’em, RQR maintained stable performance across different levels of opponent rationality, whereas other models faltered as the opponent became more rational.

Conclusion

This work advances the state of the art in exploiting boundedly rational opponents. By proving the inherent complexity of the problem and providing scalable, robust heuristics like RQR, the authors bridge the gap between theoretical game theory and practical application in large-scale, real-world games. Future work will look to extend these techniques to complex general-sum security games.

Summary updated

BibTeX
@inproceedings{milec2021complexity,
  author = {David Milec and Jakub Cerný and Viliam Lisý and Bo An},
  title = {{Complexity and Algorithms for Exploiting Quantal Opponents in Large Two-Player Games}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i6.16701},
}
Figure