• Non ci sono risultati.

Cooperation and Cooperation and Competition Competition

N/A
N/A
Protected

Academic year: 2021

Condividi "Cooperation and Cooperation and Competition Competition"

Copied!
21
0
0

Testo completo

(1)

Cooperation and Cooperation and

Competition Competition

Moreno Marzolla

Dip. di Informatica—Scienza e Ingegneria (DISI) Università di Bologna

http://www.moreno.marzolla.name/

Slides credit: Ozalp Babaoglu

(2)

Complex Systems 2

Introduction

● Agents need to choose among several options

● Agents do not choose in isolation but the outcome of their decisions (actions) depends on the choices made by other agents they are interacting with

– Pricing a new product in a competitive market

– Bidding in an auction

– Choosing a route in a data network

– Choosing a stance in international relations

– Deciding to resort to doping or not

● We want to study notions like “cooperation” in a world

where agents are in perpetual competition

(3)

Complex Systems 3

Example: “Exam or Project”

You need to prepare two important pieces of work for tomorrow: an exam and a project work.

You can not prepare both: either you study for exam or prepare the project

Exam:

– if you study, expected grade is 92

– if you do not study, expected grade is 80

Project:

– Project must be prepared jointly with a partner

– if both of you work on it, expected joint grade is 100

– if only one of you works on it, expected joint grade is 92

– if no one works on it, expected joint grade is 84

Each of you needs to decide independently, knowing that the other

will also be making a decision

(4)

Complex Systems 4

Exam or Project

● The payoff matrix below can be used to show the payoff (average grade) of students for all possible scenarios

Project Exam Project 90, 90 86, 92

Exam 92, 86 88, 88

Y o u

Your partner

(5)

Complex Systems 5

Ingredients of a Game

● A set of participants called players

● Each player has a set of options for behavior called strategies

● For each choice of strategies, each player receives a

payoff that may depend on the strategies selected by

other players. Payoffs are summarized in the form of a

payoff matrix

(6)

Complex Systems 6

Considerations for Games

● How many players?

– For now, we consider only two-player games

● How many encounters?

– For now, we consider only one-shot games (as opposed to

dynamic or iterated games)

(7)

Complex Systems 7

Considerations for Games

● What do the players know?

We assume that each player knows everything about the structure of the game: who the other players are, the set of strategies, the payoff matrix

– But not the strategies of the other players

● Each player tries to maximize her own payoff, given her beliefs about the strategies used by other players

— rational players

(8)

Complex Systems 8

Back to “Exam or Project”

● Consider what you should do for each possible choice of strategy by your partner:

if you knew that she was going to study, you should study for the exam

if you knew that she was going to work on the project, you should study for the exam

Project Exam Project 90, 90 86, 92

Exam 92, 86 88, 88

Y o u

Your partner

(9)

Complex Systems 9

Back to “Exam or Project”

● Strictly Dominant Strategy: strategy that is the best choice regardless what the other player does

● “Study for exam” is a strictly dominant strategy for both players, meaning each will get an average grade of 88

● Yet, there is an outcome that is better for both

– Both work on project and obtain an average grade of 90 that cannot be achieved by rational players

Project Exam Project 90, 90 86, 92

Exam 92, 86 88, 88

Y o u

Your partner

(10)

Complex Systems 10

Prisoner’s Dilemma

Two robbery suspects A and B are interrogated by the police in separate rooms

– If both do not confess (remain silent) they will be charged with a lesser crime and sentenced 1 year in prison

If A betrays B, and B remains silent, then A will be set free and B will be sentenced 10 years in prison (and vice versa)

If both A and B confess, they will serve 4 years in prison

NC C

NC -1, -1 -10, 0

C 0, -10 -4, -4 S u sp ec t A

Suspect B

(11)

Complex Systems 11

Prisoner’s Dilemma

● “Confessing” is a strictly dominant strategy for PD

● Like the “Exam or Project” game, there is an outcome that is better for both (not confess) but that cannot be achieved under rational play

● PD captures the essence of seeking cooperation among selfish individuals:

– Doping among athletes

– Nuclear disarmament

(12)

Complex Systems 12

Best Responses

● Let S be the strategy chosen by Player 1 and T be the strategy chosen by Player 2

● Let P1(S,T) denote the payoff to Player 1

● Strategy S for Player 1 is a best response to a strategy T for Player 2 if S produces at least as good a payoff as any other strategy paired with T

P1(S,T) ≥ P1(S′,T) for all other strategies S′ of Player 1

(13)

Complex Systems 13

Best Responses

S is a best response for T if P1(S,T) ≥ P1(S′,T) for all other strategies S′ of Player 1

What is the best response of A for C?

What is the best response of A for NC?

NC C

NC -1, -1 -10, 0

C 0, -10 -4, -4 S u sp ec t A

Suspect B

(14)

Complex Systems 14

Best Responses

Strict best response: P1(S,T) > P1(S′,T)

● Dominant strategy for Player 1 is a strategy that is a best response to every strategy of Player 2

● Strictly dominant strategy for Player 1 is a strategy that

is a strict best response to every strategy of Player 2

(15)

Complex Systems 15

Nash Equilibrium

● Even in games where there are no dominant

strategies, we should expect players to use strategies that are best responses to each other

● If players chose strategies that are best responses to

each other, then no player will have an incentive to

deviate to an alternative strategy and the system will

remain in an “equilibrium”

(16)

Complex Systems 16

Nash Equilibrium

A pair of strategies (S,T), S for Player 1 and T for Player 2, is a Nash equilibrium if S is a best response to T and T is a best response to S

● John Nash won the 1994 Nobel Prize in Economic

Sciences for this idea that he developed in 1950

John Forbes Nash, Jr.

(1928— )

(17)

Complex Systems 17

Coordination Games

● Two individuals are trying to meet at a shopping mall with two entrances, North and South

● It is reasonable to expect that players will play strategies in the Nash equilibrium

– But this games has two Nash equilibrium: (North, North) and (South, South). Therefore, the players cannot be sure

North South North 1, 1 0, 0

South 0, 0 1, 1 A

B

(18)

Complex Systems 18

More Coordination Games

● Unbalanced Coordination Game

● External or social factors may influence which equilibrium is preferred

– In this case, (South, South) may be preferred North South

North 1, 1 0, 0

South 0, 0 2, 2 A

B

(19)

Complex Systems 19

More coordination games

● A couple agreed to meet this evening, but cannot recall if they will be attending the opera or a football match

– The husband would most of all like to go to the football game

– The wife would like to go to the opera

– Both prefer to go to the same place rather than different ones

– If they cannot communicate, where should they go?

Football Opera Football 2, 1 0, 0

Opera 0, 0 1, 2

H u s b an d

Wife

Multiple Nash

equilibria, but

unequal payoff

for the players

(20)

Complex Systems 20

Multiple Equilibria

● Multiple Nash equilibria arise in games where players engage in a “anti-coordination” activity

Hawks (aggressive) versus Doves (passive)

● Two Nash equilibria (Dove, Hawk) and (Hawk, Dove)

– Can be viewed as the Game of Chicken by interpreting the strategies as “Swerve” and “Do not swerve”

Dove Hawk Dove 3, 3 1, 5

Hawk 5, 1 0, 0

A

B

(21)

Complex Systems 21

NetLogo

N-Person Iterated Prisoner's Dilemma

Sample Models → Social Science → Unverified → Prisoner's Dilemma → PD N person iterated

Riferimenti

Documenti correlati

Nevertheless, it is clear that evolution of some animal virus-host interactions has led to benefits in the health of the hosts, as is the case with symbiogenesis and endogenization

A sound performance measurement system (PMS) must be aligned to strategy and must consider all the measures that allow to verify whether management actions accomplish the

The developed chamber (i) integrates two electrodes for the electrical stimulation of 3D cardiac constructs; (ii) fits in an incubator-compatible oscillating perfusion bioreactor

Por ello, todo recorrido marítimo acababa poniendo a prueba los lazos de cohesión de las sociedades afectadas y, sobre todo, su grado de integración en un marco superior (el

[r]

MAS MILIAN, Felix (Universidade Es-.. tadual de Santa Cruz, Brasil) ; MONACO, Vincenzo (Universita e INFN Torino (IT)) ; Dr PATERNOSTER, Giovanni (FBK) ; SACCHI, Roberto (Universita

With this last example, we have shown that sequential bilateral oligopoly in which it is exogenously specified that sellers move first and buyers move second can provide a closed

The lowest average contribution (26.41 experimental coins) corresponds to the treatment with partial information: this figure is statistically different from those