Skip to main content
Back

Sam Ganzfried's Algorithm Cuts Poker Decision Points in Half Before Solving Begins

A new polynomial-time algorithm prunes dominated actions directly on the game tree, shrinking real poker games by over 50% before Nash solvers run.

Pro

Paper, Full Access
  • New polynomial-time algorithm identifies strictly and weakly dominated actions directly in extensive-form games, avoiding exponential normal-form blowup.
  • Works for two-player perfect-recall games with publicly observable actions, catching dominance by any behavioral mixture, not just pure actions.
  • Reduces 8bb All-In or Fold Hold'em decision points by over 50% in a single pass.
  • Iterated removal fully solves 3bb and 4bb shove-fold poker without any equilibrium solver.
  • Enabled a 3-player Nash computation in under 3 seconds versus more than 24 hours without preprocessing.
  • Paper on arXiv; open questions remain for imperfect recall, private actions, and n greater than 2 players.

Iterative removal of dominated strategies is one of the oldest tricks in game theory: before you ever compute a Nash equilibrium, throw out the moves no rational player would make and solve the smaller game that remains. It works cleanly in normal-form games, but extensive-form games with imperfect information have quietly resisted this preprocessing step for decades. A new paper from Sam Ganzfried, Dominated Actions in Imperfect-Information Games, closes that gap with a polynomial-time algorithm and shows it can cut real poker games in half before the equilibrium solver even starts.

Why the normal-form trick breaks

In normal-form games there is a linear programming formulation that runs in polynomial time to determine whether a mixed strategy is strictly or weakly dominated by another mixed strategy. The obvious workaround for sequential games is to convert them to normal form and reuse that machinery. The catch: that conversion causes an exponential blowup in the size of the game representation, which is why algorithms have been developed to operate on the extensive form directly.

There is also a subtler issue. In imperfect-information settings, the dominance of an action depends on which opponent strategies assign positive probability to histories reaching the corresponding information set, a feature with no analogue in the normal-form framework. An action can be locally dominated at a decision point even when every full strategy containing it looks fine in the induced normal form. Classic characterizations like Pearce's simply do not carry over.

Defining dominance that actually shrinks the tree

The paper walks through three tempting definitions of a dominated action and shows each has a hole. The simplest, that every leaf below action b pays more than every leaf below action a, is too strong: it misses actions that are clearly worse in expectation once you average over chance moves. A looser definition that lets the alternative strategy do anything else in the tree is too weak, because it allows the players to deviate from the path of play leading to the relevant information set, making the comparison vacuous when the game never reaches the decision in question.

Extensive-form game tree with chance moves and imperfect-information sets

Ganzfried's fix is to require the dominating and dominated behavioral strategies to both actively try to reach the information set I, and to only consider opponent strategies that do not deliberately avoid I. That constraint pins the comparison to the situation where the action is actually in play, which is the whole point of talking about dominance at that node.

How the algorithm works

The core machinery is the sequence-form LP, the same representation Koller, Megiddo and von Stengel used for equilibrium computation in extensive-form games. Instead of enumerating pure strategies, each variable corresponds to a sequence of actions, keeping the representation linear in the tree size. To test whether action c at information set I is dominated, the algorithm builds a minimax-style optimization comparing two behavioral strategies for the acting player, one forced to take c and one forced not to, both constrained to actually reach I.

The key technical move is a stitching argument. Because actions are publicly observable, no information set of player 2 can contain nodes reached both after action c and after a different action at I, so two separate opponent responses can be glued into a single valid behavioral strategy. That lets the paper split the joint problem into independent subproblems, dualize them, and reduce everything to a fixed number of linear programs per action. The full procedure looks like this:

  1. Build the sequence-form matrices for the game.
  2. Solve LPs 5 and 6. If the max-min value beats the aligned-players value, action c is strictly dominated.
  3. If they tie, solve LPs 7 and 8 to check weak dominance.
  4. Repeat over every action, then iterate until no more actions are removed.

Since the number of actions is linear in the size of the game tree, the overall procedure involves solving a linear number of linear programs and therefore runs in polynomial time. The result holds for two-player perfect-recall games with publicly observable actions, and importantly it catches actions dominated by any behavioral mixture, not just by another pure action.

Poker as the stress test

The empirical section uses All-In or Fold No-Limit Hold'em, a real format offered on Americas Cardroom where each player either shoves everything in or folds. Each player has 169 strategically distinct starting hands: 13 pocket pairs and 78 combinations of each non-paired offsuit and suited hand.

Reduced game after removing dominated actions

With 8 big-blind stacks, one pass of the algorithm removes 85 dominated actions for the small blind and 99 for the big blind, reducing the game from 169 hands per player to 84 decisions for player 1 and 70 for player 2, cutting the number of decision points by over 50%. Shrink the stacks and iteration kicks in harder:

  • 5 big blinds: Five rounds of iterated removal leave just 25 decision hands for the small blind and 16 for the big blind.
  • 4 big blinds: The game is fully solved after 4 rounds of removal, no LP solver needed.
  • 3 big blinds: Fully solved after 2 rounds.

The real breakthrough

Cutting a poker abstraction in half is nice, but the more interesting number is in the conclusion. Subsequent recent work has shown that removal of dominated actions enabled an algorithm to compute a Nash equilibrium in a three-player imperfect-information game in under 3 seconds while the algorithm was unable to solve the full game in 24 hours. That is the kind of preprocessing win that turns intractable multiplayer solvers into practical ones, and it is where this work matters most: multiplayer general-sum games where Nash computation is hard and every action you can prune has an outsized effect.

Limits and open questions

The guarantees depend on two structural assumptions: perfect recall, and publicly observable actions. The publicly-observable-actions constraint is what makes the stitching argument in the correctness proof go through, which is why it holds for turn-based games like poker but not for settings with private moves that the opponent cannot see. The paper leaves as open problems what happens when either assumption is dropped and how to extend the iterative procedure to games with more than two players.

There is also a note that the popular open-source game theory package Gambit already offers dominance-removal tools, but its behavior is undocumented and it misses actions the new algorithm catches. No standalone code release accompanies the paper; the example games were constructed in Gambit, and the algorithm itself is specified in enough detail (Algorithm 1 plus LPs 5 through 8) to implement on top of any sequence-form LP solver.