create account

Poker Strategy : How AI Changed the Way We See the Game by chiren

View this thread on: hive.blogpeakd.comecency.com
· @chiren · (edited)
$2.02
Poker Strategy : How AI Changed the Way We See the Game
*First I want to preface this by saying; Even if you don't play poker, there is some interesting stuff in this post that can apply to other strategy games. So if you enjoy strategy games or you have an appreciation for game theory in general, I think you will enjoy this one.*

---

Today I would like to share a discovery I made in the last year that opened my eyes to a level of complexity I didn't even think was possible with the game of poker. Join me today as I dip my toe in the world of solvers and AI in poker.

In this post I look at what I always thought was a very straight forward spot in No-Limit Texas Hold'Em. By the end of it, I can say that it completely changed the way I look at the game.

![Source: https://pokersites.me.uk/poker-ai/](https://files.peakd.com/file/peakd-hive/chiren/EpCASd4AdrsBtDYy7J3nnSMmLxjk1e4ZZF3X85pPNbhRy599gr52VCjYt8KMrMhu7hW.png)

### A Bit of Poker History
Before I get into the meat of the subject here, let's talk about the history of poker strategy a little bit...

Back when I started playing, the best way to learn the game and create winning strategies was to:
- Read Poker Books
- Use Mathematics and Game Theory
- Compare strategies with known good players

Obviously these are still good ways to get a better understanding of the game if you're just starting out. But it was all based on theory and reviewing past hand histories. So there was always some level of uncertainty when you were putting together a strategy. In other words, it was pretty much impossible to know if what you were doing was optimal at all.

Sure, you could use probabilities and simple math to calculate *Expected Value* for a given action, but you couldn't definitively predict if your newly crafted strategy was going to work in the real world. All you could really do is try it for a while, and analyze your results to try and adjust where you could.

### Poker Meets AI and "Solvers"
Now, we have powerful tools that we can use to run simulations and test out our strategies in a matter of seconds (or minutes, depending on the computing power). Solvers can evaluate all possible actions in a given spot and tell you exactly what the optimal strategy would be, they can achieve that by testing all possible scenarios (yes, all) within a set of constraints that you give it (decision tree¹). This allows us to discover errors in our strategy that would have been very difficult to spot, or would require a very large sample size to notice without a solver.

![¹Example of a simplified decision tree.](https://files.peakd.com/file/peakd-hive/chiren/23wMweuAYpYgyo2p4PapAePjMhwTNe56PpUBwe6FrGny4ANbJSZezAhV6Wo86jePAf2bE.png)

### The Strategy
This brings me to a major leak I recently discovered in my strategy for No-Limit Hold'Em tournaments. More specifically, I'm talking about my strategy for playing out of the *Small Blind* when everyone folds and it becomes a *Small Blind* vs. *Big Blind* situation.

See, traditionally it was believed that you should mostly be raising or folding and try to avoid limping or calling from the SB. Sure there are situations where flat calling could be okay, but generally speaking, it's always mostly been fold or raise.

But I recently noticed that my win rate in the *Small Blind* was lower than it should be, so I was looking for ways to improve on that and here is what I discovered...

The solver **NEVER** folds in the *SB*, it either *RAISES* or *LIMPS* (flat call). Sounds crazy? Well it's not!

Let's take a look at my older strategy and compare it to what the solver would do.

**(Red = RAISE, Pink = FOLD or RAISE, Green = CALL, Blue = FOLD)**
|"Human" Strategy|Solver Strategy|
|-|-|
|![Old Strategy](https://files.peakd.com/file/peakd-hive/chiren/2432UhYGpzzjJV32MCW61b6pnJ4k3V3FKFXQAEmTcLGGUfpBjv2c43oB8zSuz5PJHGAHA.png)|![New Strategy](https://files.peakd.com/file/peakd-hive/chiren/AKKTYTJqrUJSSEbVzSxJsti7AW4jJ96HBKKwEqAwNzyyy29ZEnEMb6mtKJjDEwv.png)|

![untitled.gif](https://media.tenor.com/images/fb50a7d3b56d6dc98ff87784c3424d97/tenor.gif)

### The Obvious
The most obvious difference here is the solver tells us we should NEVER open fold from the SB when folded to us in a tournament (or a cash game with antes). The solver will play every combo either as an open raise or a limp.

It becomes really obvious that we were playing way too tight when you see the range the solver wants you to play. It was a much easier strategy to memorize, of course. But it is far from optimal.

### Balance is Everything
The less obvious but most interesting part is how the solver balances for the fact that it's playing 100% of hands by using a polarized range for raising as opposed to the more linear ranges that have been commonly used by humans for the longest time. It's not as intuitive or easy to memorize of course, but what it does is it's virtually impossible for your opponent to exploit you when you're using a perfectly balanced range.

The solver picks a few strong combos and uses those as a call. It also picks some weaker, but very playable combos as a raise. The result is that whenever you raise or call, you're not giving any information as in either cases you're gonna have strong combos and weaker ones as part of your range.

### Conclusion
With the advent of modern AI and solvers, it becomes clear that some of the things we've been doing for years that we thought were correct, are actually very suboptimal. Solvers are able to create much more complex strategies than any human could with pure math or game theory. Modern computers are able to run through every single possible scenarios at a decent speed and give you a definitive answer for every spot. This sometimes creates situations where the solver strategy is so complex that it would be almost impossible for any human to execute it perfectly. So the most important skill to have now is to find ways to simplify those strategies and apply them in a way that makes sense for a human player.

This was just a simple example of one of the most straight forward preflop spot in Hold'Em, so you can imagine how complex it can get for more unusual scenarios with more than 2 players involved.

Nowadays, the best players all study using solvers, and the ones who are able to best apply those newly found strategies are the ones who will stay on top of the game for the coming years.

---

*Thank you for reading! I would love to know what you think about AI in strategy games and what the future holds for games like online poker. Please share your thoughts in the comments. 😃*

---

My last post: [About time! My plans for content in 2021](https://peakd.com/hive-169926/@chiren/about-time-my-plans-for-content-in-2021)
My VIMM Channel: [Where I stream most of my poker sessions](https://www.vimm.tv/chiren?ref=chiren)
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 14 others
properties (23)
authorchiren
permlinkpoker-strategy--how-ai-changed-the-way-we-see-poker
categoryhive-148441
json_metadata"{"app":"peakd/2021.04.6","format":"markdown","description":"Join me on my journey as I dip my toe in the world of solvers and AI in poker.","tags":["poker","gametheory","ai"],"users":["chiren"],"image":["https://files.peakd.com/file/peakd-hive/chiren/EpCASd4AdrsBtDYy7J3nnSMmLxjk1e4ZZF3X85pPNbhRy599gr52VCjYt8KMrMhu7hW.png","https://files.peakd.com/file/peakd-hive/chiren/23wMweuAYpYgyo2p4PapAePjMhwTNe56PpUBwe6FrGny4ANbJSZezAhV6Wo86jePAf2bE.png","https://files.peakd.com/file/peakd-hive/chiren/2432UhYGpzzjJV32MCW61b6pnJ4k3V3FKFXQAEmTcLGGUfpBjv2c43oB8zSuz5PJHGAHA.png","https://files.peakd.com/file/peakd-hive/chiren/AKKTYTJqrUJSSEbVzSxJsti7AW4jJ96HBKKwEqAwNzyyy29ZEnEMb6mtKJjDEwv.png","https://media.tenor.com/images/fb50a7d3b56d6dc98ff87784c3424d97/tenor.gif"]}"
created2021-05-16 00:48:48
last_update2021-05-16 01:00:09
depth0
children2
last_payout2021-05-23 00:48:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value2.018 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length6,779
author_reputation32,702,910,913,677
root_title"Poker Strategy : How AI Changed the Way We See the Game"
beneficiaries
0.
accountreward.app
weight10,000
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id103,731,435
net_rshares7,271,703,000,582
author_curate_reward""
vote details (78)
@oldsoulnewb ·
Fun experiment! I never played any poker beyond a few drunks around a table, but I studied plenty of chess strategy back in the day, and I see a lot of similarities.

I think one of the most important takeaways from this is that when testing strategies, it is important to also try things that may seem counter intuitive, or even downright ludicrous. Even if those strange strategies don't yield the desired results, they still help you get a deeper understanding of your game.
👍  
properties (23)
authoroldsoulnewb
permlinkre-chiren-qt6g5y
categoryhive-148441
json_metadata{"tags":["hive-148441"],"app":"peakd/2021.04.6"}
created2021-05-16 01:58:48
last_update2021-05-16 01:58:48
depth1
children1
last_payout2021-05-23 01:58:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length477
author_reputation11,961,081,369,836
root_title"Poker Strategy : How AI Changed the Way We See the Game"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id103,732,137
net_rshares19,417,210,219
author_curate_reward""
vote details (1)
@chiren · (edited)
Exactly! As humans, we tend to have some preconceived notions of what is typically bad, so we'll often avoid doing something even though it could very well be the right thing to do in certain situations.

History demonstrates that very well. If you look at every "Human vs Machine" challenges that took place in the last 50 years, you can see a clear pattern of the "machine" making a move that seems terrible at first, but turns out to be incredibly clever when properly analyzed.

Think of IBM's chess playing AI, Google's Alpha GO, or even Libratus (Poker AI developed at Carnegie Mellon University). In all these challenges there was a moment where the bot does something very unusual, and the audience (and even pros) think it's the worst move ever. (To then see the pro get crushed by the AI a few moments later)
properties (22)
authorchiren
permlinkre-oldsoulnewb-qt6gt9
categoryhive-148441
json_metadata{"tags":["hive-148441"],"app":"peakd/2021.04.6"}
created2021-05-16 02:12:42
last_update2021-05-16 02:13:42
depth2
children0
last_payout2021-05-23 02:12:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length818
author_reputation32,702,910,913,677
root_title"Poker Strategy : How AI Changed the Way We See the Game"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id103,732,319
net_rshares0