中国高校课件下载中心 》 教学资源 》 大学文库

南京大学:《高级优化 Advanced Optimization》课程教学资源(讲稿)Lecture 10 Online Learning in Games - two-player zero-sum games, repeated play, minimax theorem, fast convergence

文档信息
资源类别:文库
文档格式:PDF
文档页数:33
文件大小:9.25MB
团购合买:点击进入团购
内容简介
• Two-player Zero-sum Games • Minimax Theorem • Repeated Play • Faster Convergence via Adaptivity
刷新页面文档预览

NJUA 南京大学 人工智能学院 SCHOOL OF ARTFICIAL INTELUGENCE,NANJING UNFVERSITY Lecture 10.Online Learning in Games Advanced Optimization(Fall 2023) Peng Zhao zhaop@lamda.nju.edu.cn Nanjing University

Lecture 10. Online Learning in Games Peng Zhao zhaop@lamda.nju.edu.cn Nanjing University Advanced Optimization (Fall 2023)

Outline Two-player Zero-sum Games Minimax Theorem ·Repeated Play Faster Convergence via Adaptivity Advanced Optimization(Fall 2023) Lecture 10.Online Learning in Games 2

Advanced Optimization (Fall 2023) Lecture 10. Online Learning in Games 2 Outline • Two-player Zero-sum Games • Minimax Theorem • Repeated Play • Faster Convergence via Adaptivity

Classic Game:Rock-Paper-Scissors game Rock-Paper-Scissors game Game rules Rock Paper Scissors Seissoys apar Rock 01-1 Paper Paper 0 Scissors Strategy -Pure strategy:a fixed action,e.g.,"Rock". -Mixed strategy:a distribution on all actions,e.g., ("Rock","Paper","Scissors")=(1/3,1/3,1/3). Advanced Optimization(Fall 2023) Lecture 10.Online Learning in Games 3

Advanced Optimization (Fall 2023) Lecture 10. Online Learning in Games 3 Classic Game: Rock-Paper-Scissors game • Rock-Paper-Scissors game • Strategy Rock Paper Scissors Rock Paper Scissors

Two-Player Zero-Sum Games Terminology Rock Paper Scissors Rock 0 1 game/payoff matrix A[-1,1]mxm Paper -1 0 1 two players Scissors 1 -1 0 -player #1:x-player,row player,min player Game rules -player #2:y-player,colume player,max player action set(focusing on mixed strategy) -player#1:△m={p|∑1p:=1,andp:≥0,i∈[m}. -player#2:△n={g∑-1g=1,andg≥0,j∈m. Advanced Optimization(Fall 2023) Lecture 10.Online Learning in Games 4

Advanced Optimization (Fall 2023) Lecture 10. Online Learning in Games 4 Two-Player Zero-Sum Games • Terminology Rock Paper Scissors Rock Paper Scissors

Two-Player Zero-Sum Games ·The protocol: The repeated game is denoted by a(payoff)matrix A[-1,1]mxm. The x-player has m actions,and the y-player has n actions. The goal of x-player is to minimize her loss and the goal of y-player is to maximize her reward. ·Given the action(x,y)∈△m×△n,the loss and reward are the same. -expected loss of x-player isosAy. -expected reward of y-player is Ereward]AAy. Advanced Optimization(Fall 2023) Lecture 10.Online Learning in Games 5

Advanced Optimization (Fall 2023) Lecture 10. Online Learning in Games 5 Two-Player Zero-Sum Games • The protocol: •

Nash Equilibrium What is a desired state for the two players in games? Definition 2 (Nash equilibrium).A mixed strategy (x*,y*)is called a Nash equilibrium if neither player has an incentive to change her strategy given that the opponent is keeping hers,,i.e,for all x∈△n and y∈△n,it holds that x*TAy≤x*TAy*≤xTAy*. Player-y's goal is to maximize her reward,changing from y*to y will decrease reward. Player-x's goal is to minimize her loss,changing from x*to x will increase loss. Does the Nash equilibrium always exist for zero-sum games? Advanced Optimization(Fall 2023) Lecture 10.Online Learning in Games 6

Advanced Optimization (Fall 2023) Lecture 10. Online Learning in Games 6 Nash Equilibrium • What is a desired state for the two players in games? Does the Nash equilibrium always exist for zero-sum games?

Minimax Strategy and Maximin Strategy ·ninimax strategy x*∈arg minx maxy x Ay x-player goes first,and given x,the worst-case response of y-player is maxy xAy, so the best way for x-player would be argmin,maxy xTAy. ·naximin strategy y*∈arg maxy minx x Ay y-player goes first,and given y,the worst-case response of x-player is minxxAy, so the best way for y-player would be argmaxy minxx Ay. Advanced Optimization(Fall 2023) Lecture 10.Online Learning in Games 7

Advanced Optimization (Fall 2023) Lecture 10. Online Learning in Games 7 Minimax Strategy and Maximin Strategy • minimax strategy • maximin strategy

Minimax Strategy and Maximin Strategy A natural consequence ·ninimax strategy x*∈arg minx maxy x Ay x-player goes first,and given x,the worst-case response of y-player is maxy xAy, min max x Ay max min x Ay so the best way for x-player would be argmin maxy xAy. y ·naximin strategy y*E arg maxy minx xAy Intuition:there should be no y-player goes first,and given y,the worst-case response of x-player is minxxAy, so the best way for y-player would be argmaxy minxxAy. disadvantage of playing second Proof:Define x*E arg minx maxy x Ay and y*E argmaxy minx xAy. min max x Ay max x*Ay x*Ay*>minx Ay*max min x Ay. y y (def) (def) Advanced Optimization(Fall 2023) Lecture 10.Online Learning in Games 8

Advanced Optimization (Fall 2023) Lecture 10. Online Learning in Games 8 Minimax Strategy and Maximin Strategy • A natural consequence Intuition: there should be no disadvantage of playing second Proof: (def) (def)

Von Neumann's Minimax Theorem For two-player zero-sum games,it is kind of surprising that the reverse direction is also true and thus minimax equals to maximin. Theorem 1.For any two-player zero-sum game A-1,1mxr,we have min max x Ay max min x Ay. x y The original proof relies on a fixed-point theorem(which is highly non-trivial) Here gives a simple and constructive proof by running an online learning algo. Advanced Optimization(Fall 2023) Lecture 10.Online Learning in Games 9

Advanced Optimization (Fall 2023) Lecture 10. Online Learning in Games 9 Von Neumann’s Minimax Theorem • For two-player zero-sum games, it is kind of surprising that the reverse direction is also true and thus minimax equals to maximin. The original proof relies on a fixed-point theorem (which is highly non-trivial). Here gives a simple and constructive proof by running an online learning algo

Connection with Online Learning Recall the OCO framework,regret notion,and the history bits. Online Conv Another Viey History:Two-Player Zero-Sum Games ·OCO framework ·Ultimate goal::min ·feasible domain is Theory of repeated game Zero-sum 2-person games played more than once ·online functions ar 。The cumulative los · At each round t =1.2 so we need a bencl (1)the player first p Regr 黄gndt=I2, (2)and environmen ·The pl业yer auflers os -ain of oppone国 (3)the player suffe ·We hope the regret Learing to play a game1451 ercaneam from opponet'shistory of p cic updates the mod Payme epeda pobly sbotimalopponent Regret红→0asT From this point forward,we t T Nioolo Cesa-Bianchi,Online Leaming and Online Convex Optimization.Tutorial at the Simons Institute 2017 Advanced Optimization (Fall 2023) Advancod Optimization (Fall 2023) Advanced Optimization (Fall 2023) Lecture 5.Online Convex Optimization Advanced Optimization(Fall 2023) Lecture 10.Online Learning in Games 10

Advanced Optimization (Fall 2023) Lecture 10. Online Learning in Games 10 Connection with Online Learning • Recall the OCO framework, regret notion, and the history bits

刷新页面下载完整文档
VIP每日下载上限内不扣除下载券和下载次数;
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
相关文档