Practical exact algorithm for trembling-hand equilibrium refinements in games

Gabriele Farina, Nicola Gatti, Tuomas Sandholm

Executive Summary

This paper introduces the first practical, exact algorithm for computing "trembling-hand" refinements of Nash equilibria in large zero-sum games. By using an iterative approach combined with a novel numerical "basis stability" check, the authors achieve a 3–4 order of magnitude speedup over previous methods. This breakthrough enables the application of theoretically robust strategies to games with tens of thousands of nodes for the first time.

The Problem: Permissiveness in Nash Equilibria

In game theory, the Nash Equilibrium (NE) is the standard solution concept, but it suffers from a "permissiveness" problem in extensive-form games (games played over time, like Poker). An NE only guarantees rational play on the "equilibrium path"—the parts of the game tree reached if everyone plays perfectly. If a player makes a mistake (a "tremble"), the NE might prescribe nonsensical or irrational moves in response because those states were assigned zero probability during equilibrium computation.

To resolve this, researchers developed trembling-hand refinements, such as Quasi-Perfect Equilibria (QPE) and Extensive-Form Perfect Equilibria (EFPE). These concepts assume players might make tiny mistakes with some probability $\epsilon$, forcing the strategy to remain rational even in "impossible" situations.

The primary challenge is computational. Previous algorithms required either symbolic math (which is prohibitively slow) or extremely high-precision arithmetic to handle $\epsilon$ values as small as $10^{-5000}$. Consequently, they failed on anything larger than simple "toy" problems.

Methodology: Trembling Linear Programs

The authors propose a framework called Trembling Linear Programs (TLP). Instead of attempting to solve the game with a fixed, infinitesimally small $\epsilon$, they utilize an iterative algorithm:

  1. Iterative Perturbation: The process starts with a relatively "large" mistake probability $\epsilon$ (e.g., 0.1).
  2. Solve and Check: It solves the resulting Linear Program (LP) to find an optimal basis.
  3. Basis Stability Oracle: This is the core technical contribution. The authors developed an efficient numerical check to determine if the current basis remains optimal as $\epsilon$ approaches zero.
  4. If the basis is stable, the algorithm has found the limit solution and terminates.
  5. If not, it halves $\epsilon$ and repeats.
  6. Series Expansion: To perform the stability check without numerical collapse, the algorithm uses Taylor and Laurent series expansions of the optimality conditions. This allows the system to determine the sign of the coefficients as $\epsilon \to 0$ using standard floating-point or rational arithmetic, bypassing the need to compute with infinitesimally small numbers.

Datasets and Game Instances

The algorithm was evaluated on several standard benchmarks in computational game theory, scaling up to tens of thousands of nodes.

Game instances and their sizes in nodes, information sets, and sequences.

The evaluated games include:

  • Kuhn Poker: A simplified 3-card poker game.
  • Leduc Poker: A more complex variant with multiple ranks and betting rounds.
  • Goofspiel: A card game of strategy and bidding (tested with 3 and 4 ranks).
  • Goofspiel*: A variant of the game with different information structures.

As shown in the table, the largest instances tested (such as Leduc-9 and Goofspiel-4) contain tens of thousands of nodes in the game tree, representing a significant leap in the size of solvable games for these refinements.

Key Insights

  • The "Aha" Moment: The algorithm does not need to solve for $\epsilon = 0$ directly. It only needs to find a basis (a set of active constraints in the linear program) that is optimal for all sufficiently small $\epsilon$. Once that basis is identified, the limit solution is straightforward to compute.
  • Numerical Stability via Calculus: By treating the LP components as polynomials of $\epsilon$, the authors use derivatives to check optimality. If the first non-zero derivative of a constraint's "slack" is positive, that constraint is satisfied for all $\epsilon$ in a small neighborhood of zero.
  • Handling Singularity: Even if the basis matrix is singular at $\epsilon = 0$ (a common occurrence), the authors demonstrate how to use Laurent series (which allow for negative exponents) to maintain a valid stability check.

Key Results

  • Massive Speedup: The TLP solver outperformed the previous state-of-the-art (the "NPP solver") by 3 to 4 orders of magnitude. For instance, on Leduc-8 poker, the TLP solver finished in seconds, whereas the NPP solver took over 6 hours.
  • Scalability: The algorithm successfully solved game instances with over 30,000 nodes in just a few minutes.
  • Practical $\epsilon$ Values: While theoretical bounds suggest $\epsilon$ might need to be $10^{-42}$ or smaller, the TLP solver often found stable bases with $\epsilon$ around $10^{-5}$ or $10^{-6}$. This proves that the "limit" behavior is reached much sooner in practice than theory predicts.

Limitations and Future Work

  • Zero-Sum Constraint: The current algorithm is designed specifically for two-player zero-sum games. Extending this to general-sum games or multi-player games remains a significant open challenge, as those problems cannot be formulated as simple linear programs.
  • Memory Overhead: Despite the speedup, the iterative nature and the need for LU factorizations of basis matrices still require significant memory for very large game trees.
  • Integration with Abstraction: Modern AI for massive games (like No-Limit Texas Hold'em) uses "abstraction" to shrink the game tree. Integrating these exact refinements into abstracted game solvers could lead to even more robust agents in the future.

Summary updated

BibTeX
@inproceedings{farina2018practical,
  author = {Gabriele Farina and Nicola Gatti and Tuomas Sandholm},
  title = {{Practical exact algorithm for trembling-hand equilibrium refinements in games}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
}
Figure