Networks and Games. Brighten Godfrey Discover Engineering CS Camp July 24, slides by Brighten Godfrey unless otherwise noted

Similar documents
Games in Networks and connections to algorithms. Éva Tardos Cornell University

Mixed Strategies; Maxmin

Noncooperative Games COMP4418 Knowledge Representation and Reasoning

Problem 1 (15 points: Graded by Shahin) Recall the network structure of our in-class trading experiment shown in Figure 1

Introduction to Algorithms / Algorithms I Lecturer: Michael Dinitz Topic: Algorithms and Game Theory Date: 12/4/14

Computing Nash Equilibrium; Maxmin

Network-building. Introduction. Page 1 of 6

Convergence in competitive games

Game Theory. Vincent Kubala

/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Algorithmic Game Theory Date: 12/6/18

Chapter 3 Learning in Two-Player Matrix Games

Game Theory. Vincent Kubala

CS510 \ Lecture Ariel Stolerman

Multiagent Systems: Intro to Game Theory. CS 486/686: Introduction to Artificial Intelligence

Introduction to Game Theory

CMU Lecture 22: Game Theory I. Teachers: Gianni A. Di Caro

Section Notes 6. Game Theory. Applied Math 121. Week of March 22, understand the difference between pure and mixed strategies.

Domination Rationalizability Correlated Equilibrium Computing CE Computational problems in domination. Game Theory Week 3. Kevin Leyton-Brown

Introduction to (Networked) Game Theory. Networked Life NETS 112 Fall 2016 Prof. Michael Kearns

Analyzing Games: Mixed Strategies

"Students play games while learning the connection between these games and Game Theory in computer science or Rock-Paper-Scissors and Poker what s

Introduction to (Networked) Game Theory. Networked Life NETS 112 Fall 2014 Prof. Michael Kearns

Introduction to Game Theory I

PARALLEL NASH EQUILIBRIA IN BIMATRIX GAMES ISAAC ELBAZ CSE633 FALL 2012 INSTRUCTOR: DR. RUSS MILLER

Multiagent Systems: Intro to Game Theory. CS 486/686: Introduction to Artificial Intelligence

INTRODUCTION TO GAME THEORY

COORDINATION GAMES. Nash Equilibria, Schelling Points and the Prisoner s Dilemma. Owain Evans, MIT Paradox, Monday 25 February 2013.

ECON 282 Final Practice Problems

Routing in Max-Min Fair Networks: A Game Theoretic Approach

Multiagent Systems: Intro to Game Theory. CS 486/686: Introduction to Artificial Intelligence

Minmax and Dominance

Lecture #3: Networks. Kyumars Sheykh Esmaili

Multiple Agents. Why can t we all just get along? (Rodney King)

Instability of Scoring Heuristic In games with value exchange, the heuristics are very bumpy Make smoothing assumptions search for "quiesence"

Games of Perfect Information and Backward Induction

Basic Solution Concepts and Computational Issues

Backward Induction and Stackelberg Competition

LECTURE 26: GAME THEORY 1

Simultaneous-Move Games: Mixed Strategies. Games Of Strategy Chapter 7 Dixit, Skeath, and Reiley

FIRST PART: (Nash) Equilibria

n-person Games in Normal Form

Reading Robert Gibbons, A Primer in Game Theory, Harvester Wheatsheaf 1992.

Microeconomics of Banking: Lecture 4

The extensive form representation of a game

ECO 463. SimultaneousGames

CMU-Q Lecture 20:

CPS 570: Artificial Intelligence Game Theory

Fairness and Efficiency Tradeoffs for User Cooperation in Distributed Wireless Networks

Introduction to Game Theory

Finance Solutions to Problem Set #8: Introduction to Game Theory

Homework 5 Answers PS 30 November 2013

ECO 220 Game Theory. Objectives. Agenda. Simultaneous Move Games. Be able to structure a game in normal form Be able to identify a Nash equilibrium

Adversarial Search and Game Theory. CS 510 Lecture 5 October 26, 2017

CSC304 Lecture 3. Game Theory (More examples, PoA, PoS) CSC304 - Nisarg Shah 1

BS2243 Lecture 3 Strategy and game theory

Spring 2014 Quiz: 10 points Answer Key 2/19/14 Time Limit: 53 Minutes (FAS students: Teaching Assistant. Total Point Value: 10 points.

CSC304 Lecture 2. Game Theory (Basic Concepts) CSC304 - Nisarg Shah 1

Lecture 13(ii) Announcements. Lecture on Game Theory. None. 1. The Simple Version of the Battle of the Sexes

2-Player Zero-Sum games. 2-player general-sum games. In general, game theory is a place where randomized algorithms are crucial

Imperfect Information Extensive Form Games

Game Theory Week 1. Game Theory Course: Jackson, Leyton-Brown & Shoham. Game Theory Course: Jackson, Leyton-Brown & Shoham Game Theory Week 1

Games and decisions in management

Cognitive Radios Games: Overview and Perspectives

Lecture 6: Basics of Game Theory

Chapter 15: Game Theory: The Mathematics of Competition Lesson Plan

Economics 201A - Section 5

Chapter 30: Game Theory

Extensive-Form Games with Perfect Information

Repeated Games. Economics Microeconomic Theory II: Strategic Behavior. Shih En Lu. Simon Fraser University (with thanks to Anke Kessler)

0.1 Battle of the Sexes. 0.2 Chicken. 0.3 Coordination Game

Repeated Games. ISCI 330 Lecture 16. March 13, Repeated Games ISCI 330 Lecture 16, Slide 1

Game Theory: The Basics. Theory of Games and Economics Behavior John Von Neumann and Oskar Morgenstern (1943)

ECON 2100 Principles of Microeconomics (Summer 2016) Game Theory and Oligopoly

16.410/413 Principles of Autonomy and Decision Making

Note: A player has, at most, one strictly dominant strategy. When a player has a dominant strategy, that strategy is a compelling choice.

ECO 199 B GAMES OF STRATEGY Spring Term 2004 B February 24 SEQUENTIAL AND SIMULTANEOUS GAMES. Representation Tree Matrix Equilibrium concept

Prisoner 2 Confess Remain Silent Confess (-5, -5) (0, -20) Remain Silent (-20, 0) (-1, -1)

Game Theory. Wolfgang Frimmel. Dominance

Games in Extensive Form

Basics of Game Theory

UPenn NETS 412: Algorithmic Game Theory Game Theory Practice. Clyde Silent Confess Silent 1, 1 10, 0 Confess 0, 10 5, 5

Robustness against Longer Memory Strategies in Evolutionary Games.

Multi-player, non-zero-sum games

An Application of Game Theory to Electronic Communications Markets *

Math 464: Linear Optimization and Game

CSCI 699: Topics in Learning and Game Theory Fall 2017 Lecture 3: Intro to Game Theory. Instructor: Shaddin Dughmi

GAME THEORY: STRATEGY AND EQUILIBRIUM

1\2 L m R M 2, 2 1, 1 0, 0 B 1, 0 0, 0 1, 1

EC3224 Autumn Lecture #02 Nash Equilibrium

(a) Left Right (b) Left Right. Up Up 5-4. Row Down 0-5 Row Down 1 2. (c) B1 B2 (d) B1 B2 A1 4, 2-5, 6 A1 3, 2 0, 1

Game Theory: introduction and applications to computer networks

Lecture 10: September 2

Game theory Computational Models of Cognition

Computational Methods for Non-Cooperative Game Theory

Normal Form Games: A Brief Introduction

Introduction (from Hans Peters, Game Theory: A Multi-leveled Approach, 2008)

Pengju

Japanese. Sail North. Search Search Search Search

The Game Theory of Game Theory Ruben R. Puentedura, Ph.D.

Part 1. Midterm exam PS 30 November 2012

Transcription:

Networks and Games Brighten Godfrey Discover Engineering CS Camp July 24, 2012 slides 2010-2012 by Brighten Godfrey unless otherwise noted

Demo

I 14 0E N A 15 E 0E U C [Huffaker, claffy, Hyun, Luckie, Lyu, CAIDA] I o k, TH,A A A E, SG A CN ey g, U dn S R,R JP W K ok Sy i, T l, st o, a, ID iji n ip e ou vo di ky E 0 13 E po r e kart Be Ta la Se V To 0 12 11 0 100E

I P v 4 & I P v 6 I N T E R N E T T O P O L O G Y M A P J A N U A RY 2 0 0 9, IN b ay AE i, 80E 1 0E 70 E ab CN I 60 E,R R S u 0E Dh A Ab W K ok U JP 1 B om g, i, T l, st A E 50 E A I 14 0E o, 90E 100E D elh iji n ip e ou vo di ky 0 13 i, I N o k, TH Bangk e, SG ap o r Sing, ID art a Ja k Be Ta la Se V To 12 AS-level INTERNET GRAPH,A U 1 ey 5 E 0E dn A N E 40 Sy I O 8395(COMSTAR) C P 16 0E 10026(Asia Netcom) 2516(KDDI) 20E 7575(AARNET) R R 4755(TATACOMM) 9304 (Hutchison) 3904 38809(NXGNET) 170E FU O C E 30 A E RU, w IL co v, R os i v T M l A r a, T e nka A A v, U, ZA e a i K to r i e FI r P k i, n i s G l He fia, B PL So s a w, r, SE Wa h o lm T k c Sto nn a, A Vie n, DE B erl i NO Oslo, urt, DE k n Fra f A 10 E 20485(JSC) 180E/W E W 160 Alges, 20 W 577(Bell Canada) 0W 15 n 7843(Road Runner) S Dublin, IE 10W Ho ol u U lu, 3320(Deutsche Telekom) 8928(Interoute) 1299(TeliaNet) 702(MCI) 1273(CW) 5459(London IX) 3356(Level 3) 3549(Global Crossing) 701(UUNET) 1239(Sprint) 12989(HWNG) 2914(NTT) 2828(XOXO) 6677(ICENET) 3561(Savvis) 4320(Embratel) 0 170 W 7714(TelstraClear) 0W 14 30 W S O U 13 0W H 12 0W T 80W H A 90W US A R M E 100W I 11 0W S C S s, re,u 70W R S C I O,U Ai e go R N,U E S A se A W M 60 os Jo W 50 T en to an 40 W Bu B os Otta Wa C To [Huffaker, claffy, Hyun, Luckie, Lyu, CAIDA] R io de Brussels, BE Paris, FR London, UK Ja ne ir o, B R PT

Games & networks: a natural fit

Games & networks: a natural fit Game theory Studies interaction between selfish agents

Games & networks: a natural fit Game theory Studies interaction between selfish agents Networking Enables interaction between agents

Games & networks: a natural fit Game theory Studies interaction between selfish agents Networking Enables interaction between agents Networks make games happen!

Game theory basics

Game theory Two or more players For each player, a set of strategies For each combination of played strategies, a payoff or utility for each player

Game theory Two or more players For each player, a set of strategies Blue player strategies For each combination of played strategies, a payoff or utility for each player Red player strategies

Game theory Two or more players For each player, a set of strategies Blue player strategies Rock For each combination of played strategies, a payoff or utility for each player Red player strategies

Game theory Two or more players For each player, a set of strategies Blue player strategies Rock Paper For each combination of played strategies, a payoff or utility for each player Red player strategies

Game theory Two or more players For each player, a set of strategies Blue player strategies Rock Paper Scissors For each combination of played strategies, a payoff or utility for each player Red player strategies

Game theory Two or more players For each player, a set of strategies Blue player strategies For each combination of played strategies, a payoff or utility for each player Red player strategies Rock Paper Scissors Rock $0, $0 $0, $1 $1, $0

Game theory Two or more players For each player, a set of strategies Blue player strategies For each combination of played strategies, a payoff or utility for each player Red player strategies Rock Paper Scissors Rock $0, $0 $0, $1 $1, $0

Game theory Two or more players For each player, a set of strategies Blue player strategies For each combination of played strategies, a payoff or utility for each player Red player strategies Rock Paper Scissors Rock $0, $0 $0, $1 $1, $0

Game theory Two or more players For each player, a set of strategies Blue player strategies For each combination of played strategies, a payoff or utility for each player Red player strategies Rock Paper Scissors Rock $0, $0 $0, $1 $1, $0

Game theory Two or more players For each player, a set of strategies Blue player strategies For each combination of played strategies, a payoff or utility for each player Red player strategies Rock Paper Scissors Rock $0, $0 $0, $1 $1, $0 Paper $1, $0 $0, $0 $0, $1

Game theory Two or more players For each player, a set of strategies Blue player strategies For each combination of played strategies, a payoff or utility for each player Red player strategies Rock Paper Scissors Rock $0, $0 $0, $1 $1, $0 Paper $1, $0 $0, $0 $0, $1

Game theory Two or more players For each player, a set of strategies Blue player strategies For each combination of played strategies, a payoff or utility for each player Red player strategies Rock Paper Scissors Rock $0, $0 $0, $1 $1, $0 Paper $1, $0 $0, $0 $0, $1

Game theory Two or more players For each player, a set of strategies Blue player strategies For each combination of played strategies, a payoff or utility for each player Red player strategies Rock Paper Scissors Rock $0, $0 $0, $1 $1, $0 Paper $1, $0 $0, $0 $0, $1

Game theory Two or more players For each player, a set of strategies Blue player strategies For each combination of played strategies, a payoff or utility for each player Red player strategies Rock Paper Scissors Rock $0, $0 $0, $1 $1, $0 Paper $1, $0 $0, $0 $0, $1 Scissors $0, $1 $1, $0 $0, $0

Game theory Two or more players For each player, a set of strategies Blue player strategies For each combination of played strategies, a payoff or utility for each player Red player strategies Rock Paper Scissors Rock $0, $0 $0, $1 $1, $0 Paper $1, $0 $0, $0 $0, $1 Scissors $0, $1 $1, $0 $0, $0

Game theory Two or more players For each player, a set of strategies Blue player strategies For each combination of played strategies, a payoff or utility for each player Red player strategies Rock Paper Scissors Rock $0, $0 $0, $1 $1, $0 Paper $1, $0 $0, $0 $0, $1 Scissors $0, $1 $1, $0 $0, $0

Game theory Two or more players For each player, a set of strategies Blue player strategies For each combination of played strategies, a payoff or utility for each player Red player strategies Rock Paper Scissors Rock $0, $0 $0, $1 $1, $0 Paper $1, $0 $0, $0 $0, $1 Scissors $0, $1 $1, $0 $0, $0

(Pure) Nash equilibrium A chosen strategy for each player such that no player Can you find a Nash equilibrium in R-P-S? can improve its utility by changing its strategy

(Pure) Nash equilibrium A chosen strategy for each player such that no player can improve its utility by changing its strategy Can you find a Nash equilibrium in R-P-S? Blue player strategies Rock Paper Scissors Red player strategies Rock $0, $0 $0, $1 $1, $0 Paper $1, $0 $0, $0 $0, $1 Scissors $0, $1 $1, $0 $0, $0

(Pure) Nash equilibrium A chosen strategy for each player such that no player can improve its utility by changing its strategy Can you find a Nash equilibrium in R-P-S? Blue player strategies Rock Paper Scissors Red player strategies Rock $0, $0 $0, $1 $1, $0 Paper $1, $0 $0, $0 $0, $1 Scissors $0, $1 $1, $0 $0, $0

(Pure) Nash equilibrium A chosen strategy for each player such that no player can improve its utility by changing its strategy Can you find a Nash equilibrium in R-P-S? Blue player strategies Rock Paper Scissors Red player strategies Rock $0, $0 $0, $1 $1, $0 Paper $1, $0 $0, $0 $0, $1 Scissors $0, $1 $1, $0 $0, $0

(Pure) Nash equilibrium A chosen strategy for each player such that no player can improve its utility by changing its strategy Can you find a Nash equilibrium in R-P-S? Blue player strategies Rock Paper Scissors Red player strategies Rock $0, $0 $0, $1 $1, $0 Paper $1, $0 $0, $0 $0, $1 Scissors $0, $1 $1, $0 $0, $0

(Pure) Nash equilibrium A chosen strategy for each player such that no player can improve its utility by changing its strategy Can you find a Nash equilibrium in R-P-S? Blue player strategies Rock Paper Scissors Red player strategies Rock $0, $0 $0, $1 $1, $0 Paper $1, $0 $0, $0 $0, $1 Scissors $0, $1 $1, $0 $0, $0

(Pure) Nash equilibrium A chosen strategy for each player such that no player can improve its utility by changing its strategy Can you find a Nash equilibrium in R-P-S? Blue player strategies Rock Paper Scissors Red player strategies Rock $0, $0 $0, $1 $1, $0 Paper $1, $0 $0, $0 $0, $1 Scissors $0, $1 $1, $0 $0, $0 No pure Nash equilibrium!

Prisoner s dilemma Blue prisoner Red prisoner Cooperate Defect

Prisoner s dilemma Blue prisoner Red prisoner Cooperate Defect Cooperate -1, -1-12, 0

Prisoner s dilemma Blue prisoner Red prisoner Cooperate Defect Cooperate -1, -1-12, 0

Prisoner s dilemma Blue prisoner Red prisoner Cooperate Defect Cooperate -1, -1-12, 0

Prisoner s dilemma Blue prisoner Red prisoner Cooperate Defect Cooperate -1, -1-12, 0 Defect 0, -12-5, -5

Prisoner s dilemma Blue prisoner Red prisoner Cooperate Defect Cooperate -1, -1-12, 0 Defect 0, -12-5, -5

Prisoner s dilemma Blue prisoner Red prisoner Cooperate Defect Cooperate -1, -1-12, 0 Defect 0, -12-5, -5

Prisoner s dilemma Blue prisoner Red prisoner Cooperate Defect Cooperate -1, -1-12, 0 Defect 0, -12-5, -5

Prisoner s dilemma Blue prisoner Red prisoner Cooperate Defect Cooperate -1, -1-12, 0 Defect 0, -12-5, -5

Prisoner s dilemma Blue prisoner Red prisoner Cooperate Defect Cooperate -1, -1-12, 0 Defect 0, -12-5, -5

Prisoner s dilemma Blue prisoner Red prisoner Cooperate Defect Cooperate -1, -1-12, 0 Defect 0, -12-5, -5

Prisoner s dilemma Blue prisoner Red prisoner Cooperate Defect Cooperate -1, -1-12, 0 Defect 0, -12-5, -5 Nash equilibrium

Price of Anarchy [C. Papadimitriou, Algorithms, games and the Internet, STOC 2001]

Price of Anarchy [C. Papadimitriou, Algorithms, games and the Internet, STOC 2001] Price of anarchy = worst Nash equilibrium s total cost optimal total cost

Price of Anarchy [C. Papadimitriou, Algorithms, games and the Internet, STOC 2001] Price of anarchy = worst Nash equilibrium s total cost optimal total cost Blue prisoner Red prisoner Cooperate Defect Cooperate -1, -1-12, 0 Defect 0, -12-5, -5

Price of Anarchy [C. Papadimitriou, Algorithms, games and the Internet, STOC 2001] Price of anarchy = worst Nash equilibrium s total cost optimal total cost Blue prisoner Red prisoner Cooperate Defect Cooperate -1, -1-12, 0 Defect 0, -12-5, -5

Price of Anarchy [C. Papadimitriou, Algorithms, games and the Internet, STOC 2001] Price of anarchy = worst Nash equilibrium s total cost optimal total cost Blue prisoner Red prisoner Cooperate Defect Cooperate -1, -1-12, 0 Defect 0, -12-5, -5

Price of Anarchy [C. Papadimitriou, Algorithms, games and the Internet, STOC 2001] Price of anarchy = worst Nash equilibrium s total cost optimal total cost Red prisoner Blue prisoner Cooperate Defect Cooperate -1, -1-12, 0 Defect 0, -12-5, -5 Here, PoA = 10/2 = 5.

How bad is selfish routing in a network?

The selfish routing game

The selfish routing game Given graph, latency function on each edge specifying latency as function of total flow x on a link

The selfish routing game Given graph, latency function on each edge specifying latency as function of total flow x on a link Path latency = sum of link latencies

The selfish routing game Given graph, latency function on each edge specifying latency as function of total flow x on a link Path latency = sum of link latencies Player strategy: pick a path on which to route

The selfish routing game Given graph, latency function on each edge specifying latency as function of total flow x on a link Path latency = sum of link latencies Player strategy: pick a path on which to route Players selfishly pick paths with lowest latency

The selfish routing game Given graph, latency function on each edge specifying latency as function of total flow x on a link Path latency = sum of link latencies Player strategy: pick a path on which to route 1 x Players selfishly pick paths with lowest latency For now assume many users, each with negligible load; total 1 x 1

The selfish routing game Given graph, latency function on each edge specifying latency as function of total flow x on a link Path latency = sum of link latencies Player strategy: pick a path on which to route 1 x Players selfishly pick paths with lowest latency For now assume many users, each with negligible load; total 1 x 1

The selfish routing game Given graph, latency function on each edge specifying latency as function of total flow x on a link Path latency = sum of link latencies Player strategy: pick a path on which to route 1 x Players selfishly pick paths with lowest latency x 1 For now assume many users, each with negligible load; total 1 Flow x = 0.5 on each path; Total latency = 1.5

Example: Braess s paradox [Dietrich Braess, 1968] Fig 1a: D. Braess.

Example: Braess s paradox [Dietrich Braess, 1968] Fig 1b: N. Dynamite. Fig 1a: D. Braess.

Example: Braess s paradox [Dietrich Braess, 1968] Fig 1b: N. Dynamite. Fig 1a: D. Braess.

Example: Braess s paradox [Dietrich Braess, 1968] Fig 1a: D. Braess.

Example: Braess s paradox [Dietrich Braess, 1968] 1 x x 1 Fig 1a: D. Braess.

Example: Braess s paradox [Dietrich Braess, 1968] 1 x x 1 Fig 1a: D. Braess.

Example: Braess s paradox [Dietrich Braess, 1968] 1 x x 1 Fig 1a: D. Braess. Initially: 0.5 flow along each path; latency 1+0.5 = 1.5

Example: Braess s paradox [Dietrich Braess, 1968] 1 x 0 x 1 Fig 1a: D. Braess. Initially: 0.5 flow along each path; latency 1+0.5 = 1.5

Example: Braess s paradox [Dietrich Braess, 1968] 1 x 0 1 x 1 Fig 1a: D. Braess. Initially: 0.5 flow along each path; latency 1+0.5 = 1.5

Example: Braess s paradox [Dietrich Braess, 1968] 1 x 0 1 x 1 Green path is better. Everyone switches to it! Fig 1a: D. Braess. Initially: 0.5 flow along each path; latency 1+0.5 = 1.5

Example: Braess s paradox [Dietrich Braess, 1968] 1 x 0 1 x 1 Green path is better. Everyone switches to it! Fig 1a: D. Braess. Initially: 0.5 flow along each path; latency 1+0.5 = 1.5 With new link: all flow along new path; latency = 2

Example: Braess s paradox 1 x 0 Optimal latency = 1.5 x 1

Example: Braess s paradox 1 x 0 Optimal latency = 1.5 x 1 1 x 0 2 1 Nash equilibrium latency = 2 x

Example: Braess s paradox 1 x 0 Optimal latency = 1.5 x 1 1 x 0 2 1 Nash equilibrium latency = 2 x Thus, price of anarchy = 4/3

From links to springs x 1 0 1 x

From links to springs x 1 Spring 0 1 x Rope

From links to springs x 1 Spring 0 1 x Rope

From links to springs x 1 Spring 0 1 x Rope

From links to springs x 1 Spring 0 1 x Rope

From links to springs x 1 Spring 0 1 x Rope cut

Going deeper

Going deeper How bad are equilibria in real-world networks?

Going deeper How bad are equilibria in real-world networks? Can you design a mechanism (a game) so that selfishness is not so bad?

Going broader

Going broader Game theory used in networking to model

Going broader Game theory used in networking to model Equilibria of distributed algorithms

Going broader Game theory used in networking to model Equilibria of distributed algorithms ISPs competing with each other

Going broader Game theory used in networking to model Equilibria of distributed algorithms ISPs competing with each other Spread of new technology in social networks

Going broader Game theory used in networking to model Equilibria of distributed algorithms ISPs competing with each other Spread of new technology in social networks...

Going broader Game theory used in networking to model Equilibria of distributed algorithms ISPs competing with each other Spread of new technology in social networks... Many more applications of game theory to CS (and CS to game theory).

Going broader Game theory used in networking to model Equilibria of distributed algorithms ISPs competing with each other Spread of new technology in social networks... Many more applications of game theory to CS (and CS to game theory). See Nisan, Roughgarden, Tardos, Vazirani s book Algorithmic Game Theory, available free online