Computing equilibria in extensive form games Andrew Gilpin Advanced AI – April 7, 2005.

Slides:



Advertisements
Similar presentations
CPS Extensive-form games Vincent Conitzer
Advertisements

M9302 Mathematical Models in Economics Instructor: Georgi Burlakov 3.1.Dynamic Games of Complete but Imperfect Information Lecture
This Segment: Computational game theory Lecture 1: Game representations, solution concepts and complexity Tuomas Sandholm Computer Science Department Carnegie.
Totally Unimodular Matrices
Tuomas Sandholm, Andrew Gilpin Lossless Abstraction of Imperfect Information Games Presentation : B 趙峻甫 B 蔡旻光 B 駱家淮 B 李政緯.
6.896: Topics in Algorithmic Game Theory Lecture 11 Constantinos Daskalakis.
Games & Adversarial Search Chapter 5. Games vs. search problems "Unpredictable" opponent  specifying a move for every possible opponent’s reply. Time.
Game Theoretical Insights in Strategic Patrolling: Model and Analysis Nicola Gatti – DEI, Politecnico di Milano, Piazza Leonardo.
Congestion Games with Player- Specific Payoff Functions Igal Milchtaich, Department of Mathematics, The Hebrew University of Jerusalem, 1993 Presentation.
Nash Equilibria In Graphical Games On Trees Edith Elkind Leslie Ann Goldberg Paul Goldberg.
Algorithms for solving two- player normal form games Tuomas Sandholm Carnegie Mellon University Computer Science Department.
Game-theoretic analysis tools Necessary for building nonmanipulable automated negotiation systems.
Extensive-form games. Extensive-form games with perfect information Player 1 Player 2 Player 1 2, 45, 33, 2 1, 00, 5 Players do not move simultaneously.
Totally Unimodular Matrices Lecture 11: Feb 23 Simplex Algorithm Elliposid Algorithm.
Poker for Fun and Profit (and intellectual challenge) Robert Holte Computing Science Dept. University of Alberta.
1 Computing Nash Equilibrium Presenter: Yishay Mansour.
Better automated abstraction techniques for imperfect information games, with application to Texas Hold’em poker Andrew Gilpin and Tuomas Sandholm Carnegie.
A competitive Texas Hold’em poker player via automated abstraction and real-time equilibrium computation Andrew Gilpin and Tuomas Sandholm Carnegie Mellon.
Haplotyping via Perfect Phylogeny Conceptual Framework and Efficient (almost linear-time) Solutions Dan Gusfield U.C. Davis RECOMB 02, April 2002.
Near-Optimal Network Design with Selfish Agents By Elliot Anshelevich, Anirban Dasgupta, Eva Tardos, Tom Wexler STOC’03 Presented by Mustafa Suleyman CIFTCI.
Games of Chance Introduction to Artificial Intelligence COS302 Michael L. Littman Fall 2001.
Better automated abstraction techniques for imperfect information games, with application to Texas Hold’em poker * Andrew Gilpin and Tuomas Sandholm, CMU,
Nesterov’s excessive gap technique and poker Andrew Gilpin CMU Theory Lunch Feb 28, 2007 Joint work with: Samid Hoda, Javier Peña, Troels Sørensen, Tuomas.
Games & Adversarial Search Chapter 6 Section 1 – 4.
Graphical Models for Game Theory by Michael Kearns, Michael L. Littman, Satinder Singh Presented by: Gedon Rosner.
Graphs, relations and matrices
Finding equilibria in large sequential games of imperfect information Andrew Gilpin and Tuomas Sandholm Carnegie Mellon University Computer Science Department.
Minimax strategies, Nash equilibria, correlated equilibria Vincent Conitzer
Game representations, solution concepts and complexity Tuomas Sandholm Computer Science Department Carnegie Mellon University.
EC941 - Game Theory Prof. Francesco Squintani Lecture 5 1.
Agents that can play multi-player games. Recall: Single-player, fully-observable, deterministic game agents An agent that plays Peg Solitaire involves.
Week 11 - Wednesday.  What did we talk about last time?  Graphs  Euler paths and tours.
Game-theoretic analysis tools Tuomas Sandholm Professor Computer Science Department Carnegie Mellon University.
Game theory & Linear Programming Steve Gu Mar 28, 2008.
Module #19: Graph Theory: part II Rosen 5 th ed., chs. 8-9.
The challenge of poker NDHU CSIE AI Lab 羅仲耘. 2004/11/04the challenge of poker2 Outline Introduction Texas Hold’em rules Poki’s architecture Betting Strategy.
Agenda Review: –Planar Graphs Lecture Content:  Concepts of Trees  Spanning Trees  Binary Trees Exercise.
Algorithms for solving two-player normal form games
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
1 Directed Graphs Chapter 8. 2 Objectives You will be able to: Say what a directed graph is. Describe two ways to represent a directed graph: Adjacency.
Better automated abstraction techniques for imperfect information games Andrew Gilpin and Tuomas Sandholm Carnegie Mellon University Computer Science Department.
Parameterized Two-Player Nash Equilibrium Danny Hermelin, Chien-Chung Huang, Stefan Kratsch, and Magnus Wahlstrom..
Extensive Form (Dynamic) Games With Perfect Information (Theory)
TU/e Algorithms (2IL15) – Lecture 12 1 Linear Programming.
Explorations in Artificial Intelligence Prof. Carla P. Gomes Module 5 Adversarial Search (Thanks Meinolf Sellman!)
Finding equilibria in large sequential games of imperfect information CMU Theory Lunch – November 9, 2005 (joint work with Tuomas Sandholm)
OPPONENT EXPLOITATION Tuomas Sandholm. Traditionally two approaches to tackling games Game theory approach (abstraction+equilibrium finding) –Safe in.
by d. gusfield v. bansal v. bafna y. song presented by vikas taliwal
Strategy Grafting in Extensive Games
Extensive-Form Game Abstraction with Bounds
The Duality Theorem Primal P: Maximize
Game Theory Just last week:
Hans Bodlaender, Marek Cygan and Stefan Kratsch
The minimum cost flow problem
Computing equilibria in extensive form games
Communication Complexity as a Lower Bound for Learning in Games
Extensive-form games and how to solve them
PC trees and Circular One Arrangements
Noam Brown and Tuomas Sandholm Computer Science Department
Chapter 5. Optimal Matchings
Multiagent Systems Extensive Form Games © Manfred Huber 2018.
CPS Extensive-form games
Enumerating All Nash Equilibria for Two-person Extensive Games
Lecture 20 Linear Program Duality
Vincent Conitzer Extensive-form games Vincent Conitzer
CPS 173 Extensive-form games
Games & Adversarial Search
Normal Form (Matrix) Games
Finding equilibria in large sequential games of imperfect information
Presentation transcript:

Computing equilibria in extensive form games Andrew Gilpin Advanced AI – April 7, 2005

This talk Extensive form games –Representation –Computing equilibrium Poker AI –History of poker research –Current research

Extensive form representation 1.I = {0, 1, …, n} – players 2.(V,E), terminals Z – tree 3.P: V \ Z H – controlling player 4.H = {H 0, …, H n } – information sets 5.A = {A 0, …, A n } – actions 6.u : Z R n – payoffs 7.p – chance probabilities Perfect recall assumption: Players never forget information Game from: Bernhard von Stengel. Efficient Computation of Behavior Strategies. In Games and Economic Behavior 14: , 1996.

Computing equilibria via normal form Normal form exponential, in worst case and in practice (e.g. poker)

Sequence form Instead of a move for every information set, consider choices necessary to reach each information set and each leaf These choices are sequences and constitute the pure strategies in the sequence form S 1 = {{}, l, r, L, R} S 2 = {{}, c, d}

Realization plans Players strategies are specified as realization plans over sequences: Prop. Realization plans are equivalent to behavior strategies.

Computing equilibria via sequence form Players 1 and 2 have realization plans x and y Realization constraint matrices E and F specify constraints on realizations {} l r L R {} c d {} v v’ {} u

Computing equilibria via sequence form Payoffs for player 1 and 2 are: and for suitable matrices A and B Creating payoff matrix: –Initialize each entry to 0 –For each leaf, there is a (unique) pair of sequences corresponding to an entry in the payoff matrix –Weight the entry by the product of chance probabilities along the path from the root to the leaf {} c d {} l r L R

Computing equilibria via sequence form PrimalDual Holding x fixed, compute best response Holding y fixed, Compute best response Primal Dual

Computing equilibria via sequence form: An example min p1 subject to x1: p1 - p2 - p3 >= 0 x2: 0y1 + p2 >= 0 x3: -y2 + y3 + p2 >= 0 x4: 2y2 - 4y3 + p3 >= 0 x5: -y1 + p3 >= 0 q1: -y1 = -1 q2: y1 - y2 - y3 = 0 bounds y1 >= 0 y2 >= 0 y3 >= 0 p1 Free p2 Free p3 Free end

Sequence form summary Poly-time algorithm for computing Nash equilibria in 2-player zero-sum games Poly-size linear complementarity problem (LCP) for computing Nash equilibria in 2-player general- sum games Major shortcomings: –Not well understood when more than two players –Sometimes, polynomial is still slow (e.g. poker)

Poker Poker is a wildly popular card game –This year’s World Series of Poker is expected to have prizes totaling almost $50 million Challenges –Incomplete information –Risk assessment –Deception and counter-deception Sequence form does not directly apply –Two-player Texas Hold’em has ~10 18 nodes

Hold’em Poker Every player receives hole cards Some cards are placed on the table (flop, turn, river) Betting rounds after each deal of cards –Players can bet, raise, check, fold, call At end of the game, player with best hand takes the pot

Previous work in poker research Rule-based Simulation/Learning Game-theoretic –Manual abstraction “Approximating Game-Theoretic Optimal Strategies for Full-scale Poker”, Billings, Burch, Davidson, Holte, Schaeffer, Schauenberg, Szafron, IJCAI-03. Distinguished Paper Award. –Automated abstraction

Finding equilibria in large sequential games of incomplete information (Joint with Tuomas Sandholm, 2005) Outline: –Extensive game isomorphism –Restricted game isomorphic abstraction transformation –GameShrink – automatically shrinking games –Application to poker –Approximation methods

Extensive game isomorphism: example

Extensive game isomorphism: definition Let G=(I,V,E,P,H,A,u,p) and G’=(I’,V’,E’,P’,H’,A’, u’,p’) be given. A bijection f:V V’ is an extensive game isomorphism if: 1.f induces a graph isomorphism between (V,E) and (V’,E’) 2.For each information set h in G, f induces a bijection between the nodes of h and some h’ in G’ 3.P(x) = P’(f(x)) for all x in V \ Z 4.U(x) = u’(f(x)) for all x in Z 5.p(h,a) = p’(f(h), f(a)) for all h in H 0

Restricted game isomorphic abstraction transformation The restricted game G x is obtained from G by removing all nodes except x and its descendants. (G x,G y ) is contractible within G if 1.x and y are in the same information set 2.Every node in that information set has the same parent, and the parent is either in a singleton information set or a chance node 3.G x and G y are extensive game isomorphic For (G x,G y ) contractible, the restricted game isomorphic abstraction transformation is the game where G x and G y are “merged”

Restricted game isomorphic abstraction transformation: example

Main equilibrium result Thm. Let G be a sequential game with observable actions, let G’ be obtained by one application of the restricted game isomorphic abstraction transformation, and let s’ be a Nash equilibrium for G’. Then the corresponding s for G is a Nash equilibrium.

Computing ExtensiveGameIsomorphic?(x,y) 1.If x and y both leaves, return u(x) == u(y) 2.If x and y have different number of children, or if a different player controls them, return false 3.Construct bipartite graph G x,y (see next slide). 4.Return true if G x,y has a perfect matching; otherwise return false.

Constructing G x,y Each vertex corresponds to an information set containing a child node. Edges connect information sets where there exists a bijection between extensive game isomorphic vertices (extensive game isomorphic information sets)

Constructing G x,y Each vertex corresponds to an information set containing a child node. Edges connect information sets where there exists a bijection between extensive game isomorphic vertices (extensive game isomorphic information sets)

Constructing G x,y Each vertex corresponds to an information set containing a child node. Edges connect information sets where there exists a bijection between extensive game isomorphic vertices (extensive game isomorphic information sets)

Constructing G x,y Each vertex corresponds to an information set containing a child node. Edges connect information sets where there exists a bijection between extensive game isomorphic vertices (extensive game isomorphic information sets)

Constructing G x,y Each vertex corresponds to an information set containing a child node. Edges connect information sets where there exists a bijection between extensive game isomorphic vertices (extensive game isomorphic information sets)

Constructing G x,y Each vertex corresponds to an information set containing a child node. Edges connect information sets where there exists a bijection between extensive game isomorphic vertices (extensive game isomorphic information sets)

Constructing G x,y Each vertex corresponds to an information set containing a child node. Edges connect information sets where there exists a bijection between extensive game isomorphic vertices (extensive game isomorphic information sets)

GameShrink: Efficiently computing restricted game isomorphic abstraction transformations 1.Bottom-up pass: Compute the ExtensiveGameIsomorphic relation for each pair of equal depth nodes. 2.Top-down pass: For i from 0 to height(G): For each information set h at level i whose nodes share a common parent: Apply the restricted game isomorphic abstraction transformation to each applicable x and y in h

Enhancements Disjoint-set data structure for storing isomorphisms Implicit enumeration of game tree nodes Necessary conditions for extensive game isomorphism Payoff histogram database

Application to poker Theorem. In poker, can compute isomorphisms only considering card tree. J1 J2 J1 J2 K KK 0 011

Rhode Island Hold’em Invented as a testbed for AI research [Shi & Littman 2001] More than 3.1 billion game tree nodes Applying sequence form: –LP has 91 million rows and columns Applying GameShrink: –LP has 1.2 million rows and columns –Solvable in about 1 week –GameShrink itself takes less than 1 second, the LP solve still dominates

Future poker research More difficult games –Multi-player LP only handles two players Possible mapping of n-player strategy to (n+1)- player strategy –Tournament Size of bankroll changes aggressiveness of players Maximally vs. Optimally –Opponent modeling