Finding and Certifying (Near-)Optimal Strategies in Black-Box Extensive-Form Games

Brian Hu Zhang, Tuomas Sandholm

In the realm of game theory, finding optimal strategies for games with known rules is a well-studied problem. However, real-world scenarios—ranging from military simulations to financial modeling—often present as "black boxes." In these settings, the underlying game tree and the probabilities of chance events (nature) are unknown; we only have access to a simulator. This paper, presented at AAAI 2021, introduces the first algorithms capable of not only finding near-optimal strategies in these black-box games but also providing verifiable mathematical guarantees on their performance.

The Challenge of Black-Box Games

Traditional game-solving techniques, such as Counterfactual Regret Minimization (CFR), typically assume a complete "map" of the game tree. In contrast, model-free Reinforcement Learning (RL) can learn strategies through simulation but lacks "exploitability guarantees." A strategy might perform well in practice, yet remain highly vulnerable to a perfect opponent. Previous attempts to provide "certificates" of optimality required unrealistic capabilities, such as the ability to "teleport" to arbitrary states or the use of computationally expensive exact solvers.

The authors address this gap by developing algorithms that work with standard game playthroughs while maintaining rigorous bounds on how much a strategy can be exploited.

Algorithmic Framework: Confidence Sequences and Pseudogames

The core innovation of this work lies in the combination of Confidence Sequences with iterative regret minimization. The researchers categorize the problem space based on whether nature distributions are known and whether the setting is sampling-limited or compute-limited.

Summary of algorithmic approaches for different black-box game settings.

To manage uncertainty, the algorithms maintain a pseudogame—a partial representation of the game tree. For unexplored branches, the pseudogame tracks upper and lower bounds on potential rewards. Two primary algorithms were developed:

  1. Cert-LP (Algorithm 6.1): Designed for sampling-limited settings, this uses a Linear Programming (LP) solver to find the best strategy within the current pseudogame. It employs "Optimistic Exploration," choosing the strategy that would be optimal if unknown branches yielded the most favorable outcomes.
  2. Cert-MCCFR (Algorithm 7.2): Recognizing the computational intensity of LP, the authors adapted Monte Carlo CFR (MCCFR) to work with expanding pseudogames. They introduced "extendable" regret minimizers that can handle a game tree that grows dynamically as new states are explored.

By using empirical frequencies of chance events to bound the uncertainty of unexplored regions, these algorithms converge to a Nash Equilibrium at a near-optimal rate of $\tilde{O}(1/\sqrt{T})$.

Empirical Evaluation

The algorithms were benchmarked on two standard games: 4-rank Goofspiel and 13-card limit Leduc Poker. These benchmarks are large enough to be non-trivial (up to ~166,000 nodes) but small enough to allow for the calculation of "true" exploitability for validation.

Performance of certification algorithms on Goofspiel and Leduc Poker, showing Nash gaps and certificate sizes.

The results demonstrate that the algorithms can provide non-trivial exploitability bounds while expanding only a small fraction of the total game tree. Notably, Cert-MCCFR found low-exploitability strategies significantly faster than the time required to simply traverse the entire game tree. The "provable" Nash gap (the certificate) tracks the "real" Nash gap closely, though it remains higher due to the inherent uncertainty of the black-box setting.

Key Insights and Limitations

A critical finding is the "Power of Pessimism and Optimism." By maintaining a pessimistic equilibrium (what is known) and an optimistic exploration policy (what is possible), the algorithms naturally prioritize sampling the parts of the game tree most relevant to proving optimality. This bridges the gap between model-free RL and model-based game theory.

However, the authors identify a "Stalling Problem" (Warning 7.7). If a regret minimizer stops exploring a branch because it appears suboptimal, the uncertainty bound for that branch stops shrinking. This can cause the provable exploitability bound to plateau even if the strategy continues to improve. Future work aims to develop "cleaner" confidence sequences to mitigate this effect and to adapt the framework for nature nodes with similar utilities, which could further accelerate convergence.

Summary updated

BibTeX
@inproceedings{zhang2021finding,
  author = {Brian Hu Zhang and Tuomas Sandholm},
  title = {{Finding and Certifying (Near-)Optimal Strategies in Black-Box Extensive-Form Games}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i6.16724},
}
Figure