243 points · by jeremyleach · 9y ago · 220 comments
http://www.pokerlistings.com/libratus-poker-ai-smokes-humans...
The above article spells out some of the details of the competition. The winrate (14.72bb/100) that the AI achieved over the 120k hand sample is almost certainly not due to luck. It is a huge winrate that most pros have to employ strong game selection techniques to achieve (only play against bad players).
Here's a layman's explanation of how a poker AI can be trained: http://www.pokersnowie.com/about/technology-training.html
And some details about the weaknesses resulting from how they've abstracted the game: http://www.pokersnowie.com/about/weaknesses.html
Ivey was pretty good at managing his image, too.
Poker is solved using a very large game tree, just as with the other games. The structure of the tree is modified to support the notion of hidden state, but beyond that it is essentially the same as the other games. The structure for representing hidden nodes was developed in the 1950s by Von Neumann. Most of the algorithmic innovations related to how to update the game tree.
My guess is that the primary innovation for the Libratus strategy was that of scale.
Even limit poker is too large to solve directly. In 2015, limit poker was essentially solved with a new technique in game theory that allowed them to find a simplified model.
http://spectrum.ieee.org/automaton/robotics/artificial-intel...
Heuristics make analysis practical, and well chosen ones make the difference. This isn't to minimize the accomplishment, but rather to say it has strong similarities to other AI games.
It's also important to keep in mind that the best AI can still lose, and the worst AI can still win (and everything in between). Poker involves randomness, obviously whereas chess/go/etc does not.
That's wrong. Even when you're holding a good hand, your opponent could hold a better one and reading them is a key element of poker. The opponent's hand is an important variable to decide whether you hold the winning hand or not.
If you look at the experiment in detail, you'll find that it was set up in the AI's favor.
>When a hand was all-in before the river no more cards were dealt and each player received his equity in chips.
While all that is less important when you can avoid all-in situations, the main statement -that the other player's behavior is irrelevant- is still wrong.
You mean Libratus' strategy used a very large game tree. That is not the only strategy. Take a look at research from the University of Alberta [0]. Also, I'm not certain Libratus' strategy can be simplified to "very large game tree" as I haven't seen the paper, yet.
While finding a Nash equilibrium means no other player can beat you, it doesn't mean you're going to make the most money in a big ring game. A different strategy might lose money to an equilibrium player, but exploit a different, weak player so much that it's worth the loss.
"AI beats top 10 hedge fund managers"
to
"AI run hedge fund blows up due to black swan event"
regardless it's an incredible feat. It really casts questions into what our edge as humans are which is slowly disappearing and we didn't even need to put a brain in a jar and hook it up to a computer....it's deep learning reinforced algorithms that is appearing to outlearn, outthink the best of humans.
I just can't emphasize what a monumental period in history we are at. Humans are producing specialized algorithms that learn and hold information about the deep web of relationships between myriads of parameters to produce superior performance than humans.
It's almost like we've uncovered ways to automate our intelligence very much like we've been automating human and animal labor in the past couple centuries.
So the question is, how does an average joe hacker like me exploit and leverage this wonderful thing called deep learning? I'm not interested in reading PHD papers with advanced calculus.
I want to have a map of what AI, ML, DL, NN methodologies to use and when and who to hire based on that. This is no time to be a luddite and don't count on basic income from appeasing the masses anytime soon. Much like people took the most hit in the early rise of industrial revolution, our generation and immediate generation will be hit the hardest.
FFS, if you're not willing to read a paper with BASIC CALCULUS (it's HS/college, not advanced like fractional), then I'm not sure machine learning is the right place for you.
Math is good but my time won't be best used if I have to learn calculus all over again just to begin understanding the linguo. Rather have a generic model of what to use and when, hire those that have that capacity to dive deep when needed and implement the expected business outcome.
To me, your comment reads similarly to "Much like most business people don't spend their time reading code to do the job, I question why such academic rigor is to be demanded by someone who is translating business requirements into database operations".
Dude, I'm not even asking you for anything that difficult here, how would you like it if I walked in and said "well, I don't need to learn any programing, my time is better spent magically making it work".
"Listen I have this great idea for a web app, it's going to be like the Facebook for hardware stores [or whatever] and people can rate/vote/tag ... I got the whole idea worked out, I just need someone to program it for me" etc. Every programmer has heard these kinds of proposals many times.
One (of many) problems with this kind of proposal is that the idea-man, unable to program (and not wanting to learn) has no idea about the complexity of what they're asking. And even if they think they have the whole idea worked out, not being able to program means they probably missed a lot of shortcuts, possibilities and best practices. The worst ones hand-wave this with the possibility of a fresh outsider-look on things! Except that the whole (fully worked-out) idea probably needs to be reworked entirely before it's even feasible or competitive. The programmer would probably have been better off without the idea, cause that's where it started to go wrong.
Similarly, if you believe math isn't worth your time but instead want to hire ML experts to implement your ML-related ideas (formulated in terms of "expected business outcome"), puts you in a very similar role.
(Tongue-in-cheek) I got a really great idea, the expected business outcome is: make lots of profit. It's fool-proof. I checked with some of my people and they agreed, making profit is a solid idea. I just need some business dude to implement for me. I'm not really sure what sort of business person, my time can be spent better than learning about subtleties between sorts of business people. I just need to hire a good one. But remember, the idea was mine first.
Actually, a lot of mental work isn't based on intelligence but rather training in pattern recognition, thinking faster, translation of information between different coding systems, and developing instincts about the behavior if complex systems. This isn't very different from manual labor when you think about it.
Now it appears the essence of that is being distilled into parameters for AI algorithms which can produce superior output by teaching it with decades of professional human knowledge which maybe dumbed down with simple machine learning.
Why's this an argument against AI run hedge funds? Funds run by humans also blow up due to black swan events.
Hedge funds are already using A.I. successfully. I talked one manager who's team was trying to layer successful individual neural networks into a "bigger brain".
You've got a lot of comments like "if you're not willing to read a paper with BASIC CALCULUS ... then I'm not sure machine learning is the right place for you" to this, but I second you on this. I do have a PhD in CS and not afraid of calculus in papers. I just don't think reading PhD papers is the best path to getting practical results in DL/ML. "Not right place for you" is the sign of the "exclusiveness" problem.
I'd recommend checking the following course by Jeremy Howard and Rachel Thomas:
It is designed to make DL accessible and achieves its goal very well. I'm not sure if the average Joe Hacker will be able to write top-pocker-players-beating program after this course, but it definitely gives enough insight and practice to get started in DL and be able to design and code solutions in a large number of problem classess.
But for instance understanding and specially producing meaningful language, let it be natural language or programming language? I hope not so.
Because otherwise, your average joe hacker might as well shut down their IDE and say good bye.
Well reading paper is a must to get to deep learning. Those papers may not be that math heavy once you are used to it. Most of the time, it is about network architecture and loss objectives.
Knight Capital, 2012:
https://www.bloomberg.com/news/articles/2012-08-02/knight-sh...
Knight's blow-up was a process/sysops failure, not due to their strategies going wonky.
[As a side note I believe their core strategies were human-analyst designed, not ML based, but I could be wrong.]
I'd think one would make a lot of money shorting such outfits.
https://en.wikipedia.org/wiki/Knight_Capital_Group#2012_stoc...
I wonder if humankind will be the creator of a new form of life. One that is not bound by chemical processes. One that moves at the speed of light and spans the whole planet. This being, or these beings, with access to billions of sensors, will know everything, see everything, hear everything. They won’t be limited to visible light, nor to the frequencies we can hear. There are no limitations except for what sensors can record. They will be able to interpret, predict, plan. They are not bound by time as they themselves don’t physically age. They will use vessels to carry out tasks and build the infrastructure they need to live. In comparison, we will look like single-celled organisms. So dumb. Until we disappear.
But, an artificial intelligence probably has different black swans than humans, as their perception is inherently different. A tweet from Trump might not surprise us (anymore) but to an AI player, it might not be evident that a small amount of text from one Human can cause an uproar on the market. And it might not even have access to the relevant data (Twitter) at all.
Renaissance Technologies already is one of the top hedge funds in the world and it's fully automated.
It's hard to know how much that affected the strategy, but in the Reddit thread, the human players said the overbet frequency was what they were most surprised by.
You'd happily go all-in pre-flop AA vs KK. On the other hand if you got 4-bet pre-flop by a 22 and you're holding AK, you might ask, "Check it down?" This is assuming the opponent really likes small pocket pairs and will call an all-in, etc.
In a heads up game? Really? "Check it down?" ???
https://www.reddit.com/r/IAmA/comments/5qi3i9/we_are_profess...
This sounds more like an "advanced chess" setup, where a human teams up with an AI to play. The title of the article should really be "amateur poker players + AI defeat professional poker players". The real test would be if the AI self-corrected over the length of the tournament, without human intervention.
This doesn't sound like they had the goal of conducting a fully controlled experiment here, but it's still interesting none the less.
or conversely, operators shouldn't be allowed to tweak the AI logic, but if they program the AI to tweak itself, like review its moves and adjust its algorithm automatically, that would be reasonable, then the AI and nothing but the AI is responsible for the victory.
They way things are going with AI. You have a good algorithm, you can get rich very quickly by being a one man business with hardware rented in AWS.
Libratus AI player is modelling it's human counterparts and predicting how they think to outsmart them.
When Google started, they got the page rank algorithm and distributed algorithms good enough to run on shitty unreliable cheap computers. They are well on the way to become the world's largest company overtaking Apple someday.
Their ad algorithms already know that I am applying for a house loan and are blasting me with ads every fucking page I visit on the Internet.
I can totally see Google and Facebook personalizing ads per person and taking advantage of the person's vulnerablaties. Like psychologically modelling them to make them click ads and buy random shit. I can see the start of ultimate God algorithms for marketing.
The ability for AI to create drug like experiences for us that we can't stop craving.
The probability space of poker is such that 4 competitors isn't going to tell you much.
And defining "top" is difficult because "top" may be more celebrity than anything. Everyone has their different objectives. If you are "top" then you sure as didn't get there by building a case history against AI poker bots. Give these guys a chance to adjust, and give them a chance to figure out why the effort to adjust might be worth bothering with.
> A poker-playing AI has beaten four human players in a marathon match lasting 20 days.
20 days seems like plenty of time. No ?
People talk a lot about number of states in poker, but the hand and visible cards can be easily (to a statitician) reduced to a scalar "probability of having the best hand".
At least in terms of crunching the possibility tree this should be a far less computationally intensive challenge.
At this stage, AI wins in competitive games simply will not impress me. From here it may simply be a tour of force showing the breadth of fields AI can dominate in.
After that enthusiastic agreement; poker wins are evidence for the laypeople of something I suspect most people in AI research or game theory already know - a human bluffing isn't a magic advantage in a fair game. The AI can outperform on fundamentals.
It's just a different kind of game
I still think the hardest part of poker is the grind. The computer doesn't get bored or tired and play hands it doesn't have a reason too just because they are stuck in a dead streak. Taking a mostly conservative style, you'd expect the computer to out perform over time.
It would be curious to know what percentage of the time the players bluffed the AI successfully and vice versa.
An additional player requires some sort of modeling of the interaction between players, which may not be feasible. For example, Player A may have multiple co-optimal strategies with respect to his own EV, but that affects the EVs for players B and C differently. Player A can choose arbitrarily between these strategies at any frequency, but players B and C can't predict this choice at all.
On top of that, Nash equilibrium requires that each player acts independently in their best interest. Teams can be modeled as a single player if necessary, but shifting alliances over the course of a series of hands can't be easily.
And on the pure computational complexity side, the state space explodes when you can have more than one opponent in a hand simultaneously. Combinations of players in a hand scales as n!, not n.
How likely is it your opponent is bluffing, based on their past behavior?
Should you try and bluff this hand?
"Oh you have AJ don't you?"
no-limit and tournament play were deliberately placed outside the scope of their poker-bot projects--at least during the period of time i was following it which was approx. 2004 - 2010.
anyone know if the CMU team trained their rig on these variants?
This is a great achievement in AI, don't get me wrong, but the headline should read, "AI beats the best four poker players we could find who were willing to play for a mere $200K".
All the actual best players play for millions and have a reputation to uphold. They would never agree to do this.
They four guys they got are pretty good, and could certainly destroy me, but they aren't the best of the best.
I'd love to see the bot play in the World Series of Poker for a few million.
All these players are high stakes players. I think you're underestimating the fun factor. As for reputation. For a poker player having a reputation as being beatable is a profitable thing to have.
>but they aren't the best of the best.
Who do you think is? Like how many people do you think rank above this group at HUNL?
Or any of these people: https://en.wikipedia.org/wiki/List_of_World_Series_of_Poker_...
If someone asked you who the best mobile app developers were in the world, your list should comprise solely of mobile app developers.
Jamie Gold won the WSOP, but he's a pretty bad player.
Same as in programming. There are some great programmers that we all know and that are public figures. But the absolute best? Probably making high 7 figures working in a dark room somewhere.
They aren't the best since I think that probably is safely in Polks hands but they are near the best.
I imagine it's just reinforcement learning where the inputs are the actions of the individual players (hold/fold/raise, timing etc) and the statistical probabilities in terms of expected cards. Train a neural net to predict probability of the opponent's hands and act accordingly.
Is it just that the professionals all act similarly enough that the bot can learn based on other players?
http://www.pokersnowie.com/about/technology-training.html
And they go into some of the problems that stem from how they've abstracted the game here:
Even if poker sites could somehow perfectly detect automated players(which they can't of course), highly skilled poker is profitable enough that some people would be willing to manually execute the actions themselves as directed by the AI.
But certainly in all HE variants (that I'm aware of), counting and remembering is unnecessary.
[0] It's necessary, but not sufficient.
Another part has to do with the fact that both you and your opponent have surprisingly many legal "moves" at each turn. because not only must you decide to fold, call or bet, but if you bet, you also have to decide how much.
the first authors twitter account https://twitter.com/polynoamial/
I am sure the AI they built is a mighty and spectacular achievement, but poker is about the only game I know where the worst player can easily beat the best player. Prove me wrong and I'll happily accept your insult of "ignorance"
edit I should have been more clear, as I am extremely impressed with the AI's results of hands over time. I am referring to the context of a standard tournament where the loser is eliminated after losing their chips.
That is, if the game is 100% luck, the better player will have an expected win percentage of (100-100/2) == 50%
If the game is 0% luck, the better player will have an expected win percentage of (100-0/2) == 100%
If the game is 95% luck, the better player will have an expected win percentage of (100-95/2) == 52.5%
Conclusion: If there is any non-zero amount of skill in the game, the better player will win in the long run.
They will not be able to consistently beat a better player, especially not professional players.
That's what this AI is doing. It didn't beat them once or twice. It beat them consistently over the course of 120,000 hands in a 20 day event.
Is it theoretically possible that "the worst" player could do that based entirely on luck? Sure, probably in the same realm as monkeys, typewriters, and Shakespeare.
So the deck for hand 1000 might be the same as hand 113853 but they swap who is the button.
Why would you refer to that? That's not at all what happened here.
In the game that was played (long-term HUNL cash) the worst player cannot beat the best player at all. Not easily, not at all.
Not to mention they didn't run the cards out.
You're commenting without reading the article, seemingly.
There's no such thing.
An algorithm playing straight hand value based on probabilities is more susceptible to bluffing, not less. And this is no limit, where a single hand can swing all the chips.
Any poker AI that isn't a loser is going to have some pretty sophisticated modeling of the opponent.
It makes much more sense for the strategy space to be the set of probability distributions over game moves (i.e. mixed strategies).
I think that the optimal mixed strategy for each hand is immune to bluffing (over many hands it will have larger expected winnings against a bluffer). If that wasn't the case, there would exist no Bayes-Nash equilibrium for the game, contradicting Nash's theorem.
> I think that the optimal mixed strategy for each hand is immune to bluffing (over many hands it will have larger expected winnings against a bluffer). If that wasn't the case, there would exist no Bayes-Nash equilibrium for the game, contradicting Nash's theorem.
I believe that's true. I know for sure that heads up limit hold'em has been solved. That said, I think this context is similar to the iterated prisoners dilemma contest. There's certain to be an equilibrium, but what's interesting isn't the perfect strategy in a min/max sense, but rather a slightly suboptimal strategy that can detect and exploit suboptimal behavior in other players. It sounds like you know this area well, perhaps you can shed some light if I'm on the right hunch?
Find the right balance, and your opponent can't exploit you. With no-limit hold'em this is extremely complicated, and until recently the best humans have always beaten the best bots.