Learning Not to Regret

David Sychrovsky, Michal Sustr, Elnaz Davoodi, Michael Bowling, Marc Lanctot, Martin Schmid

Abstract

Traditional equilibrium-finding algorithms like Counterfactual Regret Minimization (CFR) are designed for worst-case scenarios, often leading to slow convergence in practice. We present a meta-learning framework to train specialized solvers on specific game distributions. Our primary contribution, Neural Predictive Regret Matching (NPRM), uses a recurrent neural network to predict future regrets, which are then integrated into a formal regret-matching framework. This approach combines the pattern recognition capabilities of deep learning with the theoretical convergence guarantees of classical methods. Experimental results in perturbed Rock-Paper-Scissors and River Poker demonstrate that NPRM achieves up to a 10x speedup in reaching target exploitability compared to standard methods, while remaining robust to out-of-distribution game instances.

Introduction

In game theory, finding a Nash Equilibrium—a state where no player can improve their outcome by unilaterally changing their strategy—is a fundamental challenge. Algorithms like Counterfactual Regret Minimization (CFR) solve this by iteratively playing a game and minimizing "regret," a mathematical measure of how much better a player could have done by choosing different actions in the past. While general-purpose regret minimizers are robust, they often converge slowly because they are optimized for worst-case adversaries.

In many real-world applications, such as poker or financial trading, agents encounter a distribution of similar games rather than entirely novel scenarios. This research explores whether we can leverage these similarities to meta-learn specialized optimization algorithms that converge to equilibria significantly faster than general-purpose solvers.

Methods

The researchers propose two primary architectures based on Recurrent Neural Networks (LSTMs) to exploit game distributions:

Neural Online Algorithm (NOA)

NOA is a "pure" neural approach where a network directly maps the current game state and rewards to a strategy. While extremely fast for games within the training distribution, it lacks theoretical convergence guarantees for unseen or out-of-distribution (OOD) games.

Neural Predictive Regret Matching (NPRM)

NPRM is the core contribution of this work. It builds upon the Predictive Regret Matching (PRM) framework. Instead of directly outputting a strategy, the neural network predicts the anticipated regret vector for the next step. This prediction is then processed through a formal regret-matching framework to determine the strategy.

Architecture of the Neural Predictive Regret Matching (NPRM) framework.

The key advantage of NPRM is its safety: because it operates within the PRM framework, it is theoretically guaranteed to converge to an equilibrium eventually, even if the neural network's predictions are inaccurate. However, when predictions are accurate, convergence is accelerated.

Experimental Evaluation

The methods were evaluated on two benchmarks: perturbed Rock-Paper-Scissors (matrix games with randomized payoffs) and River Poker (a complex sequential subgame of No-Limit Texas Hold'em with approximately 62,000 information states).

Key Results

The experiments demonstrated a substantial performance advantage for meta-learned solvers. In River Poker, NPRM reached target exploitability levels roughly ten times faster than standard Regret Matching (RM).

Exploitability curves for Rock-Paper-Scissors and River Poker across different algorithms.

In terms of wall-clock time, NPRM achieved target exploitability in poker in approximately 1 minute, whereas standard methods required 26 to 34 minutes. Furthermore, while the pure neural NOA failed to converge on out-of-distribution games, NPRM remained robust, continuing to minimize regret and often outperforming standard RM even in unfamiliar scenarios.

Discussion and Conclusion

This work demonstrates that specializing solvers for specific game distributions can yield order-of-magnitude improvements in efficiency. By wrapping neural networks in mathematically grounded frameworks like PRM, researchers can gain the benefits of deep learning's predictive power without sacrificing the theoretical guarantees necessary for reliable equilibrium finding. While the offline training cost is significant, the online speedup makes this approach highly valuable for domains where similar game structures are solved repeatedly.

Summary updated

BibTeX
@inproceedings{sychrovsky2024learning,
  author = {David Sychrovsky and Michal Sustr and Elnaz Davoodi and Michael Bowling and Marc Lanctot and Martin Schmid},
  title = {{Learning Not to Regret}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i14.29443},
}
Figure