This set practises the regret-matching update, the argument for why its average strategy converges, the indifference conditions of Kuhn poker, and best-response and exploitability calculations.
Problem 1
Problem 7.1 (Regret matching by hand).A player plays rock-paper-scissors (win
, tie , loss ) with regret matching, starting from the uniform mixture. The opponent’s throws in rounds 1 to 4 are rock, rock, paper, scissors.
- For each round give the player’s mixture, the payoffs of the three pure actions, the player’s expected payoff, and the cumulative regrets after the round.
- After round 4, compare the player’s total payoff with the best single action in hindsight. Which action has the largest regret, and what is the average regret per round?
- From round 5 on the opponent throws scissors every time. In which round does the player first put positive weight on rock, and with what mixture?
Solution
- Order the actions (rock, paper, scissors) and write
for the cumulative regrets.
- Round 1: mixture
. Against rock the payoffs are and the expected payoff is . Regrets . - Round 2: only paper has positive regret, so the mixture is
. Against rock the payoffs are and the player earns . The round’s regrets are , so . - Round 3: mixture
. Against paper the payoffs are and the player earns . Round regrets , so . - Round 4: mixture
. Against scissors the payoffs are and the player earns . Round regrets , so . - The player earned
. Always rock would have earned , always paper , always scissors . The largest regret is paper’s, , which matches . The average regret is per round, well inside the bound of the module (here , , , bound ). - In round 5 the mixture is still
, because only paper has positive regret. Against scissors the payoffs are and the player earns , so the round’s regrets are and . In round 6 the mixture is : rock gets positive weight only after two rounds of scissors (rounds 4 and 5) have lifted its regret from to , and it then takes two thirds of the weight at once.
Problem 2
Problem 7.2 (Why the average strategy converges).Consider a player with two pure strategies whose payoffs
in every round lie in , and who plays the mixture .
- Show that the round’s regrets are
and , and that . - Show that if
is chosen by regret matching from cumulative regrets , then . Conclude, with the clipping step from the module, that and that the average regret is at most . - Two players run regret matching against each other in a
zero-sum game with payoffs in . Using the self-play theorem of the module, how many rounds guarantee that the average strategies have an (unhalved) equilibrium gap of at most ? - In the Rose and Colin game the payoffs (in units of $25) range from
to . Redo part 3 for a gap of units, and compare with the gap of actually observed after rounds in the module. What does the comparison say about the bound?
Solution
- The player earns
, so , and symmetrically . Then , because and . - If both
are zero the sum is zero. Otherwise , so , and . By the clipping inequality , the sum of squared positive regrets grows by at most per round, so after rounds it is at most . Each , and dividing by gives average regret at most . - Each player’s average regret is at most
, and the average strategies form a -equilibrium. We need , that is . - Payoff differences can now be as large as
, so and . A gap of needs , that is million rounds. The module’s run reached that gap after rounds, about 30 times sooner. The bound is a worst case over all adversaries; a self-play opponent is far from adversarial, so the bound is loose by a constant factor even though its rate matches what we observe.
Problem 3
Problem 7.3 (Checking a Kuhn poker equilibrium).Take the member
of the Kuhn poker equilibrium family in the module.
- Write down P1’s full strategy (opening action with each card, and the response to a bet after checking).
- P2 holds the Q and faces a bet. Compute the probability that P1 holds the J given that P1 bet, and show that calling and folding have the same expected value.
- P2 holds the J and P1 has checked. Compute the probabilities that P1 holds the Q or the K given the check, and show that betting and checking have the same expected value.
- Explain, without recomputing the six deals, why this member has the same value
as the member . - Why is there no equilibrium with
?
Solution
- With the J: bet
, check , and fold to a bet after checking. With the Q: always check, then call a bet with probability . With the K: bet , check , and call a bet after checking. - Given P2’s Q, P1 holds the J or the K with probability
each. P1 bets with probability holding the J and holding the K, so . Calling wins 2 against the J and loses 2 against the K: . Folding loses the ante, . They are equal. (This is the bluff share with , .) - P1 checks the Q always and the K with probability
, so and . Checking loses the showdown to both: . Betting: the Q calls half the time ( ) and folds half the time ( ), an average of ; the K always calls ( ). Total . Equal again. - P2’s strategy is the same in every member of the family. Against it, P1 is indifferent between betting and checking the J, between betting and checking the K, and between calling and folding the Q (conditions 2, 3 and 5 of the module). So every one of P1’s mixtures in the family earns the same against P2’s strategy, and the value at
, , holds for all of them. - P2’s indifference with the Q (part 2 in general form) forces P1 to bet the K with probability
. At that would be , impossible. Put differently, P1 cannot bluff the J more than a third of the time and keep the bluff-to-value ratio, because he has only one K for each J. If he bluffs more, P2’s Q always calls and the extra bluffs lose.
Problem 4
Problem 7.4 (Exploitability in Kuhn poker).P1 is free to choose any strategy. P2 plays the equilibrium strategy of the module except for one change.
- P2 calls a bet with the Q every time instead of a third of the time. Find P1’s best response and its value. By how much does it beat the game value
? Using the definition of exploitability in the module, what is the exploitability of the pair (P1 at equilibrium, P2 deviating)? - Instead, P2 never bluffs with the J after a check (everything else at equilibrium). Find a best response for P1 and its value.
- Suppose P1 keeps playing the
equilibrium strategy against the deviation in part 1. How much does P2 lose by deviating? What does this say about the difference between playing GTO and exploiting?
Solution
- Against
, P1’s J bluff loses 2 to the K and 2 to the Q (which now always calls): , worse than checking ( ). So P1 never bluffs. Betting the K wins from the J and from the Q, average ; checking it wins . So P1 always bets the K. With the Q, P1 checks; facing P2’s bet (the K always, the J a third of the time) calling and folding are equally good. Deal by deal: (J,Q) ; (J,K) ; the two Q deals together whatever P1 does facing a bet; (K,J) ; (K,Q) . Sum , value . The nemesis gains chip per hand over the game value. P1’s equilibrium strategy cannot be exploited, so the second bracket of the exploitability formula is zero and the exploitability of the pair is . - Against
, a bet from P2 after a check always means the K, so P1 folds the Q to it. P1’s K: betting earns , checking earns (both of P2’s cards now check behind), so bet. P1’s J is indifferent ( still); take check. Deals: (J,Q) ; (J,K) ; (Q,J) check, check, ; (Q,K) check, bet, fold, ; (K,J) bet, fold, ; (K,Q) bet, call , . Sum , value again. P2’s bluff with the J was what kept P1 from simply folding the Q and betting the K. - In the
equilibrium P1 checks every card, so P2 never faces a bet and his calling frequency with the Q never matters. P2 loses nothing: the value stays . The equilibrium strategy guarantees P1 the game value, but it does not automatically punish mistakes; it only punishes the ones it happens to test. To win the extra P1 must leave the equilibrium and play the best response, which in turn would be exploitable if P2 corrected his mistake.
Problem 5
Problem 7.5 (A best response to a fixed calling range).Heads-up, effective stacks 15 big blinds, no antes. The SB (posting 0.5) either folds or moves all-in. The BB calls with the range
22+, A2+, KQ, KJ, KT, QJ, QT, JTand folds everything else. Use the course tool (Monte Carlo, seed 1):
poker equity random "22+,A2+,KQ,KJ,KT,QJ,QT,JT" --seed 1gives the random hand 38.2083 percent;
poker equity 97o "22+,A2+,KQ,KJ,KT,QJ,QT,JT" --seed 1gives 97o 35.6129 percent;
poker equity 98o "22+,A2+,KQ,KJ,KT,QJ,QT,JT" --seed 1gives 98o 36.9583 percent.
- Show that the calling range contains 366 of the 1326 starting hands, and that if the SB holds two different ranks between 2 and 9 it contains 352 of the 1225 remaining hands.
- Measuring results in big blinds from the start of the hand, compute the SB’s EV of jamming every hand. Is that better than folding every hand?
- Find the break-even equity
for an SB hand of two different ranks between 2 and 9, and decide whether the SB’s best response jams 97o and 98o. Give the EV of jamming each. - In the module the same range was faced with 10 big blind stacks and the break-even equity was
. Explain in one or two sentences why it is higher at 15 big blinds. - Now reverse the roles. If the SB jams every hand, show that the BB’s best response calls exactly when the BB hand’s equity against a random hand is at least
. At , should the BB call with Q5o (50.15 percent against a random hand), 96s (47.49 percent) and 85o (41.39 percent)?
Solution
- Pairs: 13 ranks with 6 combinations each, 78. Aces with any other card: 12 ranks with 16 combinations each, 192. Two-broadway non-ace hands KQ, KJ, KT, QJ, QT, JT: 6 with 16 each, 96. Total 366. If the SB holds, say, 7 and 2 of different suits, 1225 two-card hands remain. The pairs 77 and 22 drop to 3 combinations each, so the pairs give
. The aces A7 and A2 drop to 12 each, so the aces give . The broadway hands are untouched, 96. Total , so . - Averaged over all SB hands, the BB calls with probability
, and given a call the SB’s equity is (the tool deals the two hands without overlap, so this is the equity conditional on the BB having a calling hand). The SB wins the big blind when the BB folds and nets when called: bb. That beats folding everything, which loses the small blind every hand. - Setting
gives . With , and . For 97o, : , worse than folding, so the best response folds 97o. For 98o, : , better than folding by almost a tenth of a big blind, so it jams. The margin for 97o is about ten Monte Carlo standard errors of the equity. - When called, the SB now risks 15 big blinds instead of 10 for the same reward when the BB folds (one big blind). The loss when called grows with
while the gain from a fold does not, so a jam needs more equity to break even, and fewer hands qualify. - Facing a jam the BB has 1 big blind already in. Folding leaves him at
; calling gives . Calling is better when , that is . At this is . Q5o ( ) and 96s ( ) are calls; 85o ( ) is a fold. Against an SB who jams everything the BB should call far wider than the range in this problem, which is why “jam every hand” is not an equilibrium either: each side’s best response pushes the other side to adjust, and the jam-or-fold equilibrium of Module 5 is where the adjustments stop.