NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DeepStack: Expert-Level Artificial Intelligence in No-Limit Poker

Matej Moravcík, Martin Schmid, Neil Burch, Viliam Lisý, Dustin Morrill, Nolan Bard, Trevor Davis, Kevin Waugh, Michael Johanson, Michael H. BowlingarXiv 2017

The 2017 publication of DeepStack in Science marked a watershed moment for artificial intelligence. It was the first computer program to defeat professional human players in Heads-Up No-Limit Texas Hold’em (HUNL), a game long considered a grand challenge for AI due to its hidden information and vast state space. DeepStack bridges the gap between perfect information games, such as Chess and Go, and the "fog of war" inherent in poker. By utilizing a technique known as continual re-solving, the system combines recursive reasoning with deep learning-based "intuition" to navigate information asymmetry without pre-calculating a complete game strategy.

The Challenge of Imperfect Information

In perfect information games, all players have full visibility of the game state. AI systems master these through heuristic search—evaluating the board a few moves ahead. Poker, however, is an imperfect information game characterized by information asymmetry; players do not know their opponents' cards. Traditionally, AI researchers addressed this by using "abstractions" to simplify the game state. However, these simplifications often lose critical nuances, creating "leaky" strategies that professional players can exploit. The fundamental challenge was performing a "local search" when every decision in poker theoretically depends on the entire history of the game and all possible future paths.

A visualization of the poker game tree across different stages (Pre-flop, Flop, Turn), illustrating the complexity of decision nodes and potential outcomes.

Methodology: Continual Re-solving and Intuition

DeepStack introduces three core components that allow it to function with human-like intuition rather than mere brute-force calculation:

  1. Continual Re-solving: Instead of a static strategy book, DeepStack calculates its strategy on the fly for specific situations. It tracks its own "range" (the probability distribution of cards it might hold) and the opponent's "counterfactual values" (how much the opponent expects to win with each of their possible hands).
  2. Deep Counterfactual Value Networks: This serves as the system's "intuition." Rather than searching to the end of the game (the "river"), DeepStack searches a few moves ahead and queries a deep neural network to estimate the value of the resulting state. This network was trained using millions of randomly generated poker situations.
  3. Sparse Lookahead Trees: To maintain real-time performance (under 5 seconds per move), DeepStack considers a limited set of betting actions (fold, call, specific bet sizes, and all-in) rather than every possible chip increment.
The DeepStack architecture: (A) The public tree and lookahead process, (B) Neural network mapping ranges to values, and (C) Sampling of poker situations.

Evaluation and Results

The system was trained on 10 million random "turn" situations and 1 million "flop" situations, solved using the CFR+ algorithm to provide ground truth. DeepStack was then evaluated against a pool of 33 professional poker players recruited by the International Federation of Poker in a study involving 44,852 hands.

  • Dominant Performance: DeepStack defeated the professionals by an average of 492 mbb/g (milli-big-blinds per game). For context, 50 mbb/g is considered a significant margin in professional play; 492 represents a total rout.
  • Statistical Significance: Using the AIVAT variance-reduction technique, the victory was shown to be over 20 standard deviations from zero, confirming the result was not due to luck.
  • Robustness: DeepStack proved significantly harder to exploit than previous abstraction-based models when tested against "Local Best Response" automated testing.

Conclusion

DeepStack demonstrated that heuristic search is viable in imperfect information environments. By tracking counterfactual values, the AI ensures local decisions remain part of a globally sound, unexploitable strategy. The neural network effectively replaces manual card abstraction, learning the subtle values of hand combinations through massive self-play. While currently limited to two-player games and specific action abstractions, DeepStack’s "continual re-solving" paradigm provides a blueprint for AI applications in other complex, hidden-information domains such as cybersecurity, negotiation, and medical planning.

Summary updated

BibTeX
@misc{moravcik2017deepstack,
  author = {Matej Moravcík and Martin Schmid and Neil Burch and Viliam Lisý and Dustin Morrill and Nolan Bard and Trevor Davis and Kevin Waugh and Michael Johanson and Michael H. Bowling},
  title = {{DeepStack: Expert-Level Artificial Intelligence in No-Limit Poker}},
  year = {2017},
  eprint = {1701.01724},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1701.01724},
}
Figure