if two heads are better than one, how about 2000? vicki allan multi-agent systems

64
If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Upload: hilary-clarke

Post on 17-Dec-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

If two heads are better than one, how about 2000?

Vicki AllanMulti-Agent Systems

Page 2: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Goal of Presentation• Give Overview of Multi Agent System

issues• Give specific research ideas• Welcome you to join me in research

– interesting projects– supportive major professor– hands on– travel opportunities– independent study opportunities next

semester (CS 5600 a prerequisite)

Page 3: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Strategic Form Games

Competition

Page 4: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Prisoners’ dilemma

-10, -10 0, -30

-30, 0 -1, -1

Confess

Confess

Don’t Confess

Don’t Confess

Ned

Kelly

Page 5: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Prisoners’ dilemma

-10, -10 0, -30

-30, 0 -1, -1

Confess

Confess

Don’t Confess

Don’t Confess

Ned

Kelly

Note that no matter what Ned does, Kelly is better off if she confesses than if she does not confess. So ‘confess’ is a dominant strategy from Kelly’s perspective. We can predict that she will always confess.

Page 6: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Prisoners’ dilemma

-10, -10 0, -30

Confess

Confess

Don’t Confess

Don’t Confess

Ned

Kelly

The same holds for Ned.

Page 7: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Prisoners’ dilemma

-10, -10

Confess

Confess

Don’t Confess

Don’t Confess

Ned

Kelly

So the only outcome that involves each player choosing their dominant strategies is where they both confess.

Solve by iterative elimination of dominant strategies

Page 8: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

What is bothersome?

Page 9: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Example: Prisoner’s Dilemma• Two people are arrested for a crime. If neither suspect confesses,

both get light sentence. If both confess, then they get sent to jail. If one confesses and the other does not, then the confessor gets no jail time and the other gets a heavy sentence.

• (Actual numbers vary in different versions of the problem, but relative values are the same)

-10,-10 0,-30

-30,0 -1,-1

Confess

Confess

Don’tConfess

Dom. Str. Eq not pareto optimal

Optimal Outcome

Don’tConfess

Pareto optimal

Page 10: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Game of Chicken• Consider another type of encounter — the game of chicken:

• (Think of James Dean in Rebel without a Cause)• Difference to prisoner’s dilemma:

Mutually going straight is most feared outcome.(Whereas sucker’s payoff is most feared in prisoner’s dilemma.)

straight swerve

straight -10, -10 10, 5

swerve 5, 10 7, 7

Kelly

Ned

Page 11: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Game of Chicken

Is there a dominant strategy?

Is there a pareto optimal (can’t do better without making someone worse)?

Is there a “Nash” equilibrium – knowing what my opponent is going to do, would I be happy with my decision?

straight swerve

straight -10, -10 10, 5

swerve 5, 10 7, 7

Page 12: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Monetary Auction

• Object for sale: a bill

• Rules– Highest bidder gets it– Highest bidder and the second highest bidder

pay their bids– New bids must beat old bids by 5¢.– Bidding starts at 5¢. – What would your strategy be?

Page 13: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Give Away

• Have bag of candy to give away

• If everyone in the class says “share”, the candy is split equally.

• If only one person says “I want it”, he/she gets the candy to himself.

• If more than one person says “I want it”, I keep the candy.

Page 14: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Cooperation

• Hiring a new professor this year.

• Committee of three people to make decision

• Have narrowed it down to four.

• Each person has a different ranking for the candidates.

• How do we make a decision?

Page 15: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Binary ProtocolOne voter ranks c > d > b > aOne voter ranks a > c > d > bOne voter ranks b > a > c > d

winner (c, (winner (a, winner(b,d)))=awinner (d, (winner (b, winner(c,a)))=d

winner (d, (winner (c, winner(a,b)))=c

winner (b, (winner (d, winner(c,a)))=b

surprisingly, order of pairing yields different winner!

Page 16: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Borda protocol

assigns an alternative |O| points for the highest preference, |O|-1 points for the second, and so on

The counts are summed across the voters and the alternative with the highest count becomes the social choice

16

Page 17: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

reasonable???

Page 18: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Borda Paradox

• a > b > c >d • b > c > d >a• c > d > a > b• a > b > c > d• b > c > d> a• c >d > a >b• a <b <c < da=18, b=19, c=20,

d=13

Is this a good way?

Clear loser

Page 19: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Borda Paradox – remove loser (d), winner changes

• a > b > c >d • b > c > d >a• c > d > a > b• a > b > c > d• b > c > d> a• c >d > a >b• a <b <c < da=18, b=19, c=20,

d=13

a > b > c b > c >a c > a > b a > b > c b > c > a c > a >b a <b <c

a=15,b=14, c=13

When loser is removed, second worst becomes winner!

Page 20: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Open Problems in Multi-Agent Systems

Page 21: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Group Detection

• GOAL: Organize large groups of agents into coalitions or subgroups.

• Can have similar interests or complementary skills.

• Application – distributed formation of peer-to-peer information retrieval systems.

• Agents use explicit information about other agents’ interests and qualifications

Page 22: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

On Line Auctions

• How to make online auctions fair

Page 23: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Entity Resolution• Identifying sets of nodes within a graph

that actually refer to the same object.• Trust, reputation, authentication. • Repeat offenders – low levels of trust who

leave a community and then rejoin with a new identity

• Agent pose as multiple agents – eBay, post positive feedback, bidding up their own items

• Possible approach – data base

Page 24: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Link Prediction

• Inferring the existence of a link (relationship) in a graph that was not previously known

• Agent Organized Networks – discover or create new links within a larger community

• Discover relationships between other agents – collusion detection

Page 25: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Graph Classification

• Judge Organization – efficient or non-efficient

• Uses: determine when to join an open networked multi-agent system such as a supply chain network.

Page 26: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Generative Models for Graphs

• Understand effects of real-world networked structures and compare to agent organized networks.

• How and why agent networks evolve.

Page 27: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Who Works Together in Agent Coalition Formation?

Vicki Allan – Utah State UniversityVicki Allan – Utah State University

Kevin Westwood – Utah State UniversityKevin Westwood – Utah State University

Presented September 2007, NetherlandsPresented September 2007, Netherlands

CIA 2007CIA 2007

Page 28: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Overview

• Tasks: Various skills and numbers

• Agents form coalitions

• Agent types - Differing policies

• How do policies interact?

Page 29: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Multi-Agent Coalitions

• “A coalition is a set of agents that work together to achieve a mutually beneficial goal” (Klusch and Shehory, 1996)

• Reasons agent would join Coalition– Cannot complete task alone– Complete task more quickly

Page 30: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Skilled Request For Proposal (SRFP) Environment

Inspired by RFP (Kraus, Shehory, and Taase 2003)• Provide set of tasks T = {T1…Ti…Tn}

– Divided into multiple subtasks– In our model, task requires skill/level– Has a payment value V(Ti)

• Service Agents, A = {A1…Ak…Ap}– Associated cost fk of providing service– In the original model, ability do a task is determined probabilistically – no two agents alike.– In our model, skill/level– Higher skill is more flexible (can do any task with lower level skill)

Page 31: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Why this model?• Enough realism to be interesting

– An agent with specific skills has realistic properties.

– More skilled can work on more tasks, (more expensive) is also realistic

• Not too much realism to harm analysis– Can’t work on several tasks at once – Can’t alter its cost

Page 32: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Auctioning Protocol• Variation of a reverse auction

– Agents compete for opportunity to perform services– Efficient way of matching goods to services

• Central Manager (ease of programming)1) Randomly orders Agents

2) Each agent gets a turn• Proposes or Accepts previous offer

3) Coalitions are awarded task

• Multiple Rounds {0,…,rz}

Page 33: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Agent Costs by Level

0

10

20

30

40

50

60

0 1 2 3 4 5 6 7 8 9 10

Skill Level

Co

sts

General upward trend

Page 34: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

05

10152025

3035

Agent 3 Agent 2 Agent 5

Costs

Agent Cost Profit

0

5

10

15

20

25

30

35

Agent 11 Agent 2 Agent 5

Costs

Agent Cost Profit

Agent costAgent costBase cost derived from skill and skill levelBase cost derived from skill and skill level Agent costs deviate from base cost Agent costs deviate from base cost

Agent paymentAgent paymentcost + proportional portion of net gaincost + proportional portion of net gain

Only Change in coalition

Page 35: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

How do I decide what to propose?

Page 36: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Decisions

If I make an offer…• What task should I propose doing?• What other agents should I

recruit?If others have made me an offer…• How do I decide whether to

accept?

Page 37: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Coalition Calculation Algorithms• Calculating all possible coalitions

– Requires exponential time– Not feasible in most problems in which

tasks/agents are entering/leaving the system

• Divide into two steps1) Task Selection

2) Other Agents Selected for Team– polynomial time algorithms

Page 38: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Task Selection- 4 Agent Types1. Individual Profit – obvious, greedy

approach

Competitive: best for me

Why not always be greedy?• Others may not accept – your membership is

questioned• Individual profit may not be your goal

2. Global Profit

3. Best Fit

4. Co-opetitive

Page 39: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Task Selection- 4 Agent Types

1. Individual Profit

2. Global Profit – somebody should do this task

I’ll sacrificeWouldn’t this always be a noble thing to do?• Task might be better done by others• I might be more profitable elsewhere

3. Best Fit – uses my skills wisely

4. Co-opetitive

Page 40: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Task Selection- 4 Agent Types1. Individual Profit

2. Global Profit

3. Best Fit – Cooperative: uses skills wisely

Perhaps no one else can do it

Maybe it shouldn’t be done

4. Co-opetitive

Page 41: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

4th type: Co-opetitive Agent

• Co-opetition– Phrase coined by business professors

Brandenburger and Nalebuff (1996), to emphasize the need to consider both competitive and cooperative strategies.

• Co-opetitive Task Selection– Select the best fit task if profit is within P% of

the maximum profit available

Page 42: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

What about accepting offers?Melting – same deal gone later

• Compare to what you could achieve with a proposal

• Compare best proposal with best offer

• Use utility based on agent type

Page 43: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Some amount of compromise is necessary…

We term the fraction of the total possible you demand – the compromising ratio

Page 44: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Resources Shrink

• Even in a task rich environment the number of tasks an agent has to choose from shrinks– Tasks get taken

• Number of agents shrinks as others are assigned

Page 45: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Resources Task Rich

010

2030

4050

6070

80

1 2 3 4 5 6 7 8 9 10 11 12

Rounds

Availab

le R

eso

urc

es

My Tasks

Total Tasks

Total Agents

My tasks parallel total tasks

Task Rich: 2 tasks for every agent

Page 46: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Scenario 1 – Bargain Buy

• Store “Bargain Buy” advertises a great price

• 300 people show up

• 5 in stock

• Everyone sees the advertised price, but it just isn’t possible for all to achieve it

Page 47: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Scenario 2 – selecting a spouse

• Bob knows all the characteristics of the perfect wife

• Bob seeks out such a wife

• Why would the perfect woman want Bob?

Page 48: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Scenario 3 – hiring a new PhD

• Universities ranked 1,2,3

• Students ranked a,b,c

Dilemma for second tier university

• offer to “a” student

• likely rejected

• delay for acceptance

• “b” students are gone

Page 49: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Affect of Compromising Ratio

• equal distribution of each agent type

• Vary compromising ratio of only one type (local profit agent)

• Shows profit ratio = profit achieved/ideal profit (given best possible task and partners)

Page 50: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Local Profit Agents (Task Rich)

0

0.1

0.2

0.3

0.4

0.5

0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95

Compromising Ratio of Local Profit

Pro

fit/

Idea

l Agent/Task .5

Agent/Task 1

Agent/Task 2

Agent/Task 3

Achieved/theoretical bestNote how profit is affect by load

Page 51: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Profit only of scheduled agents

Scheduled Agent Profit (Task Rich)

0.440.46

0.480.5

0.520.54

0.560.58

0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95

Compromising Ratio of Local Profit

Pro

fit/

Idea

l LocalProf

GlobProf

Coopet

BestFit

Only Local Profit agentschange compromising ratio

Yet others slightly increase too

Page 52: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Note

• Demanding local profit agents reject the proposals of others.

• They are blind about whether they belong in a coalition.

• They are NOT blind to attributes of others.

• Proposals are fairly good

Page 53: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Balanced Proposers

0

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

LocalProf GlobProf Coopet BestFit

Rat

io t

o E

xpec

ted

LocalProf

GlobProf

Coopet

BestFit

For every agent type, the most likely proposer For every agent type, the most likely proposer was a Local Profit agent.was a Local Profit agent.

Page 54: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Balanced Proposers

0

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

LocalProf GlobProf Coopet BestFit

Rat

io t

o E

xpec

ted

LocalProf

GlobProf

Coopet

BestFit

No reciprocity: Coopetitive eager to accept Local Profit proposals, No reciprocity: Coopetitive eager to accept Local Profit proposals, but Local Profit agent doesn’t acceptbut Local Profit agent doesn’t acceptCoopetitive proposals especially wellCoopetitive proposals especially well

Page 55: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Balanced Proposers

0

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

LocalProf GlobProf Coopet BestFit

Rat

io t

o E

xpec

ted

LocalProf

GlobProf

Coopet

BestFit

For every agent type,For every agent type,Best Fit is a strong acceptor.Best Fit is a strong acceptor.

Perhaps because it isn’t accepted well as a proposerPerhaps because it isn’t accepted well as a proposer

Page 56: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Coopetitive agents function better as proposers to Local Profit agents in balanced or task rich environment.– When they have more choices, they tend to

propose coalitions local profit agents like– More tasks give a Coopetitive agent a better

sense of its own profit-potential

Load balance seems to affect rolesLoad balance seems to affect roles

Coopetitive Agents look Coopetitive Agents look at fit as long as it isn’t too bad at fit as long as it isn’t too bad

compared to profit.compared to profit.

Page 57: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Agent rich: 3 agents/task

Agent Rich Proposers

0

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

LocalProf GlobProf Coopet BestFit

LocalProf

GlobProf

Coopet

BestFit

Coopetitive accepts most proposals Coopetitive accepts most proposals from agents like itselffrom agents like itself

in agent rich environmentsin agent rich environments

Page 58: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

• Do agents generally want to work with agents of the same type? – Would seem logical as agents of the same

type value the same things – utility functions are similar.

– Coopetitive and Best Fit agents’ proposal success is stable with increasing percentages of their own type and negatively correlated to increasing percentages of agents of other types.

Page 59: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Look at function with increasing numbers of one other type.

Local Profit, Task Rich

0123456

Proposers

Joiners

Page 60: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

What happens as we change relative percents of each agent?

• Interesting correlation with profit ratio.

• Some agents do better and better as their dominance increases. Others do worse.

Page 61: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Individual Profit Ratio (std dev 5)

0.58

0.59

0.6

0.61

0.62

0.63

0.64

0% 20% 40% 60% 80% 100%

Agent %

Ind

ivid

ual

Pro

fit

Rat

io

Individual Profit

Global Profit

Best Fit

Co-opetitive

shows relationship if all shows relationship if all equal percentequal percent

Best fit Best fit does better does better and better and better as more as more

dominant in dominant in setset

Best fit Best fit does better does better and better and better as more as more

dominant in dominant in setset

Local ProfitLocal Profitdoes better whendoes better whenit isn’t dominantit isn’t dominant

Page 62: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

So who joins and who proposes?

• Agents with a wider range of acceptable coalitions make better joiners.

• Fussier agents make better proposers.

• However, the joiner/proposer roles are affected by the ratio of agents to work.

Page 63: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Conclusions

• Some agent types are very good in selecting between many tasks, but not as impressive when there are only a few choices.

• In any environment, choices diminish rapidly over time.

• Agents naturally fall into role of proposer or joiner.

Page 64: If two heads are better than one, how about 2000? Vicki Allan Multi-Agent Systems

Future Work

• Lots of experiments are possible

• All agents are similar in what they value. What would happen if agents deliberately proposed bad coalitions?