Poker solvers explained: do they calculate equilibrium or approximate it?
Poker solvers approximate equilibrium. They don't calculate it exactly. A solver takes a simplified game (fixed ranges, stack sizes and a handful of bet sizes) and runs an algorithm, usually a variant of counterfactual regret minimisation (CFR), that converges towards a Nash equilibrium of that simplified game. It stops when the strategy is within a small, measured distance of unexploitable.
- Most solvers use CFR, introduced by Zinkevich, Johanson, Bowling and Piccione in 2007, or faster variants like CFR+.
- Accuracy is reported as exploitability: how much a perfect opponent could win against the strategy, often as a percentage of the pot.
- A solver's answer is only as good as its inputs. Change the ranges or the allowed bet sizes and the "GTO" answer changes.
- AI milestones: Cepheus (2015, heads-up limit, essentially solved), DeepStack and Libratus (2017, heads-up no-limit), Pluribus (2019, six-max no-limit).
- Libratus beat four top professionals over 120,000 hands. Pluribus beat elite professionals at six-max, trained for under $150 of cloud compute.
Every "GTO says" claim traces back to a solver. Knowing how they work tells you how much to trust them. This is part of the guide to equilibrium in poker.
Do solvers calculate equilibrium or approximate it?
They approximate it, twice over.
First, they solve a smaller game than the real one. Real no-limit lets you bet any amount. A solver might allow three sizes. Real ranges come from how people actually play. A solver uses the ranges you give it.
Second, even within that smaller game, the algorithm only converges towards equilibrium. It never lands exactly on it. You stop it when it's close enough.
That's fine. "Close enough" can be very close. It just means a solver's answer is an answer to the question you asked it, with a margin.
How does a poker solver work?
Most use counterfactual regret minimisation, or CFR, from a 2007 paper by Martin Zinkevich and colleagues at the University of Alberta.
- Start anywhere. Every hand in every spot begins with some strategy, say an equal mix of actions.
- Play the game against itself. Walk the whole tree for both players.
- Measure regret. At each decision, for each hand, ask: how much more would I have won if I'd always taken action X instead of my current mix? That shortfall is regret.
- Shift towards regret. Next iteration, play actions in proportion to their positive regret. Actions you wish you'd taken get played more.
- Repeat. Thousands of times. The average strategy over all iterations converges to a Nash equilibrium in two-player zero-sum games.
CFR+ (Oskari Tammelin, 2014) changed a few details and converged much faster. It's what solved heads-up limit hold'em for Cepheus.
What does exploitability mean?
It's how much a perfect opponent, who knows your strategy exactly, could win against it. A true equilibrium has zero exploitability. Solvers report how far from zero they've got, often as a percentage of the pot.
| Exploitability | Rough meaning |
|---|---|
| High (several % of pot) | Rough draft. The big patterns are there, the frequencies aren't trustworthy. |
| Low (well under 1% of pot) | Good enough for study. Remaining errors are smaller than any human could exploit. |
| Cepheus: under 0.986 mbb per game | "Essentially solved". A human lifetime of play couldn't tell it from perfect. |
What are the limits of solvers?
- Garbage in, garbage out. If the input ranges are wrong for your pool, the output is an equilibrium for a game you're not playing.
- Bet size abstraction. Opponents bet sizes the tree didn't include. The solver has to map them to the nearest size it knows.
- Two-player assumption. Equilibrium guarantees hold heads-up. Multiway spots are solved with weaker guarantees, or simplified away. See Nash equilibrium in poker.
- Rake. Most solvers let you set a rake structure. Leave it off and you're studying a game that doesn't exist online.
- They tell you nothing about your opponents. A solver is the best strategy against a perfect player. Your pool isn't one.
Can AI play poker well?
Yes. Here's how it happened.
| Year | System | Who | Game | Result |
|---|---|---|---|---|
| 2015 | Cepheus | University of Alberta | Heads-up limit hold'em | Essentially solved (CFR+) |
| 2017 | DeepStack | University of Alberta, Charles University, Czech Technical University | Heads-up no-limit | Beat professional players, using neural-network "intuition" and real-time solving |
| 2017 | Libratus | Carnegie Mellon | Heads-up no-limit | Beat four top pros over 120,000 hands (published in Science, 2018) |
| 2019 | Pluribus | Carnegie Mellon and Facebook AI | Six-max no-limit | Beat elite pros. Trained for under $150 of cloud compute |
The trend worth noticing: each step needed less raw computation than you'd guess and more clever search. Pluribus ran on two CPUs during play. The hard part was never horsepower. It was handling hidden information.
How should you use a solver?
As a reference for principles, not a script. Look for patterns that repeat across many spots: which boards favour small bets, which hands make good bluffs, how defence changes with bet size. Then check those principles against how your pool actually plays.
My own 20,617 hands contain just 40 river barrels. A solver can give you an exact river strategy. Your own sample can't tell you whether the pool deviates from it at the river, because the margin of error at n = 40 is about ±15 points. Solvers are strongest exactly where real data is thinnest. That's why they're worth having.
FAQ
Can AI play poker well?
Yes. Since 2017 AI systems have beaten top professionals at heads-up no-limit hold'em (Libratus, DeepStack), and since 2019 at six-player no-limit (Pluribus). Heads-up limit hold'em has been essentially solved since 2015.
What is an equilibrium poker solver?
A program that computes an approximate Nash equilibrium for a poker situation you define: ranges, stacks, board and allowed bet sizes. Its output is a strategy for every hand in each range, with frequencies for each action.
Why do different solvers give slightly different answers?
Because they solve different simplified games (different bet sizes, rake settings, range inputs) and stop at different exploitability levels. Spots where several strategies are nearly equal in value can also show different mixes.
Is using a solver while playing allowed?
Real-time assistance (RTA) is banned by the major online poker sites. Studying solver output away from the table is normal and allowed.
Sources
- Zinkevich, M., Johanson, M., Bowling, M., Piccione, C. (2007). Regret minimization in games with incomplete information. NeurIPS 2007.
- Tammelin, O. (2014). Solving large imperfect information games using CFR+. arXiv:1407.5042.
- Bowling, M. et al. (2015). Heads-up limit hold'em poker is solved. Science 347(6218), 145 to 149.
- Moravčík, M. et al. (2017). DeepStack: Expert-level artificial intelligence in heads-up no-limit poker. Science 356(6337), 508 to 513.
- Brown, N., Sandholm, T. (2018). Superhuman AI for heads-up no-limit poker: Libratus beats top professionals. Science 359(6374), 418 to 424.
- Brown, N., Sandholm, T. (2019). Superhuman AI for multiplayer poker. Science 365(6456), 885 to 890.