ArticleslgStudy

computer science

Libratus

Libratus is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Libratus rather than just read about it. In short: Libratus is an artificial intelligence computer program designed to play poker, specifically heads up no-limit Texas hold 'em. Libratus' creators intend for it to be generalisable to other, non-poker-specific applications.

Key takeaways

  • Libratus belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Libratus to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Libratus from memory before moving on to harder problems.

Reference excerpt

Libratus is an artificial intelligence computer program designed to play poker, specifically heads up no-limit Texas hold 'em. Libratus' creators intend for it to be generalisable to other, non-poker-specific applications. It was developed at Carnegie Mellon University, Pittsburgh.

Background While Libratus was written from scratch, it is the nominal successor of Claudico. Like its predecessor, its name is a Latin expression and means 'balanced'. Libratus was built with more than 15 million core hours of computation as compared to 2-3 million for Claudico. The computations were carried out on the new 'Bridges' supercomputer at the Pittsburgh Supercomputing Center. According to one of Libratus' creators, Professor Tuomas Sandholm, Libratus does not have a fixed built-in strategy, but an algorithm that computes the strategy. The technique involved is a new variant of counterfactual regret minimization, namely the CFR+ method introduced in 2014 by Oskari Tammelin. On top of CFR+, Libratus used a new technique that Sandholm and his PhD student, Noam Brown, developed for the problem of endgame solving. Their new method gets rid of the prior de facto standard in Poker programming, called "action mapping". Concurrently with Libratus's development, an international team from Charles University, Czech Technical University, and the University of Alberta developed DeepStack, which in December 2016 became the first computer program to defeat professional poker players in heads-up no-limit Texas hold 'em. While both systems used counterfactual regret minimization, they differed in their approaches: DeepStack employed neural networks for evaluating game states, whereas Libratus did not use neural networks for leaf evaluation. As Libratus plays only against one other human or computer player, the special 'heads up' rules for two-player Texas hold 'em are enforced.

2017 humans versus AI match From January 11 to 31, 2017, Libratus was in a tournament ("Brains vs. Artificial Intelligence: Upping the Ante challenge") against four top-class human poker players, namely Jason Les, Dong Kim, Daniel McAulay and Jimmy Chou. In order to gain results of more statistical significance, 120,000 hands were to be played, a 50% increase compared to the previous tournament that Claudico played in 2015. To manage the extra volume, the duration of the tournament was increased from 13 to 20 days. The four players were grouped into two subteams of two players each. One of the subteams was playing in the open, while the other subteam was located in a separate room nicknamed 'The Dungeon' where no mobile phones or other external communications were allowed. The Dungeon subteam got the same sequence of cards as was being dealt in the open, except that the sides were switched: The Dungeon humans got the cards that the AI got in the open and vice versa. This setup was intended to nullify the effect of card luck. The prize money of $200,000 was shared exclusively between the human players. Each player received a minimum of $20,000, with the rest distributed in relation to their success playing against the AI. As written in the tournament rules in advance, the AI itself did not receive prize money even though it won the tournament against the human team. During the tournament, Libratus was competing against the players during the days. Overnight it was perfecting its strategy on its own by analysing the prior gameplay and results of the day, particularly its losses. Therefore, it was able to continuously straighten out the imperfections that the human team had discovered in their extensive analysis, resulting in a permanent arms race between the humans and Libratus. It used another 4 million core hours on the Bridges supercomputer for the competition's purposes. During the tournament, there was an active betting market among poker players about who would win the tournament. It started with 4:1 against the bot, but on the 8th day it became a betting market on which human would lose the least..

Strength of the AI Libratus had been leading against the human players from day one of the tournament. The player Dong Kim was quoted on the AI's strength as follows: "I didn’t realize how good it was until today. I felt like I was playing against someone who was cheating, like it could see my cards. I’m not accusing it of cheating. It was just that good." At the 16th day of the competition, Libratus broke through the $1,000,000 barrier for the first time. At the end of that day, it was ahead $1,194,402 in chips against the human team. At the end of the competition, Libratus was ahead $1,766,250 in chips and thus won resoundingly. As the big blind in the matches was set to $100, Libratus' winrate is equivalent to 14.7 big blinds per 100 hands. This is considered an exceptionally high winrate in poker and is highly statistically significant. For comparison, DeepStack achieved a winrate of 49 big blinds per 100 hands in its study against 11 professionals over 44,000 hands, though the different testing conditions (number of hands, opponent skill levels, and tournament format) make direct comparisons difficult. Of the human players, Dong Kim came first, MacAulay second, Jimmy Chou third, and Jason Les fourth.

The bot has an unconventional betting style where under specific situations it would bet $20,000 even when there's $100 in the pot. After its win, this strategy was analyzed and adopted by the poker community.

Other possible applications While Libratus' first application was to play poker, its designers had a much broader mission in mind for the AI. The investigators designed the AI to be able to learn any game or situation in which incomplete information is available and "opponents" may be hiding information or even engaging in deception. Because of this Sandholm and his colleagues are proposing to apply the system to other, real-world problems as well, including cybersecurity, business negotiations, or medical planning.

See also DeepStack Computer poker players Cepheus (poker bot) Claudico Polaris (poker bot) Libratus Pluribus (poker bot)

References

External links

Brains versus Artificial Intelligence Archived 2016-02-03 at the Wayback Machine official website at the Rivers Casino

Worked examples

Example 1 — a first encounter with Libratus

Start with the simplest possible case. Write down what Libratus claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Libratus before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Libratus ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Libratus

In research
Libratus appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Libratus in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Libratus is common in secondary-school and first-year university syllabi. It links to neighbouring topics Carnegie Mellon University software, Computer poker players, so understanding it makes those chapters shorter.
In everyday life
Look for Libratus outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Libratus” →

How to study Libratus in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Libratus means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Libratus out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Libratus in simple terms?

Libratus is an artificial intelligence computer program designed to play poker, specifically heads up no-limit Texas hold 'em. Libratus' creators intend for it to be generalisable to other, non-poker-specific applications.

Why does Libratus matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Libratus?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Libratus.

Tags

  • Carnegie Mellon University software
  • Computer poker players

Keep exploring