Download Understanding Vickrey Auctions: Rational Agents and Nash Equilibria in Market Mechanisms and more Study notes Software Engineering in PDF only on Docsity!
Distributed Software Development^ Self-interested Agents
Chris BrooksDepartment of Computer ScienceUniversity of San Francisco
Department of Computer Science — University of San Francisco – p. 1/
??
23-2:^ Engineering systems vs Engineering agents^ •^ Recall that at the end of Thursday’s class, we were talkingabout ant algorithms.^ ◦^ By specifying a simple set of rules, we can achieveinteresting large-scale behavior.^ •^ Ant-type approaches lead us to think about how we can buildsystems that produce the effects we want.^ •^ “Given that agents will act in a particular way, how can weconstrain the environment to achieve a desirable outcome?”^ •^ This method of problem solving is best applied to problemsinvolving self-interested agents.
Department of Computer Science — University of San Francisco – p. 2/
??
23-3:^ Preferences and Utility^ •^ Agents will typically have preferences over outcomes^ ◦^ This is declarative knowledge about the relative value ofdifferent states of the world.^ ◦^ “I prefer ice cream to spinach”^ •^ Often, the value of an outcome can be quantified (perhaps inmonetary terms.)^ •^ This allows the agent to compare the utility (or expected utility)of different actions.^ •^ A rational agent is one that maximizes expected utility.^ •^ Self-interested agents each have their own utility function.
Department of Computer Science — University of San Fra
23-4:^ Rationality and protocol design^ •^ By treating participants as rational agents, we can exploittechniques from game theory and economics.^ •^ Assume everyone will act to maximize their own payoff^ •^ How do we structure the rules of the game so that this behaviorleads to a desired outcome?^ •^ This approach is called
mechanism design
. Department of Computer Science — University of San Francisco – p. 4/
??
23-5:^ Example: Clarke tax^ •^ Assume that we want to find the shortest path through a graph.^ •^ Each edge is associated with an agent.^ •^ Each edge has a privately known transmission cost.^ ◦^ Agents might choose to lie about their transmission cost.^ •^ How can we find the shortest path?
Department of Computer Science — University of San Francisco – p. 5/
??
23-6:^ Clarke tax^ •^ Rule:^ ◦^ Accept each agent’s bid.^ ◦^ If they are not on the shortest path, they get 0.^ ◦^ If they are on the shortest path, they get:^ •^
Cost of next shortest path - (cost of shortest path withouttheir contribution).
Department of Computer Science — University of San Fra
23-7:^ Example t^ t^ sar
fi ni^ sh
5 (f)
3 ( )^ g
4 (d)^
7 (h) 4 ( e)
2 ( )^ a
2 (b)
2 (^ )c
-^ Assume each agent bids truthfully. •^ Agents A, B, and C are each paid 8 - (6 - 2) = 4^ ◦^ This is their contribution to the ’best solution’ •^ Other agents are paid nothing.
Department of Computer Science — University of San Francisco – p. 7/
??
23-8:^ Example^ •^ Why is truth-telling a dominant strategy?^ ◦^ What if a underbids?^ •^
A bids 1: paid 8 - (5 - 1) = 4. No benefit. ◦ What if A overbids? • A bids 3: paid 8 - (7 - 3) = 4. No benefit. • A bids 5. No longer on the shortest path, so A gets 0. ◦ What if d underbids? • D bids 3: no change. • D bids 1: paid 6 - (5 - 1) = 2. But his cost is 4. ◦ D overbids: no change.
Department of Computer Science — University of San Francisco – p. 8/
??
23-9:^ Solution concepts^ •^ So how do we evaluate an algorithm or protocol involvingself-interested agents?^ •^ Some solutions may be better for some agents and worse forothers.^ ◦^ Example: cake-cutting problem^ •^ We know that each agent will try to maximize its own welfare^ •^ What about the system as a whole?
Department of Computer Science — University of San Fra
23-10:^ Solution concepts^ •^ There are a number of potential solution concepts we can use:^ ◦^ Social welfare - sum of all agent utility.^ ◦^ Pareto efficiency^ •^
Is there a solution that makes one agent better off withoutmaking anyone worse off? ◦ Individual rationality • An agent who participates in the solution should be betteroff than if it hadn’t participated. ◦ Stability • The mechanism should not be able to be manipulated byone or more agents. • It’s not usually possible to optimize all of these at the sametime.
Department of Computer Science — University of San Francisco – p. 10/
??
23-11:^ Stability^ •^ Ideally, we can design mechanisms with
dominant strategies
◦^ A dominant strategy is the best thing to do no matter whatany other agent does. ◦^ In the previous example, truth-telling was a dominantstrategy. ◦^ We would say that the mechanism is non-manipulable.(lying can’t break it.) • Unfortunately, many problems don’t have a dominant strategy. • Instead, the best thing for agent 1 to do depends on whatagents 2,3,4,... do.
Department of Computer Science — University of San Francisco – p. 11/
??
23-12:^ Nash equilibrium^ •^ This leads to the concept of a
Nash equilibrium
-^ A set of actions is a Nash equilibrium if, for every agent, giventhat the other agents are playing those actions, it has noincentive to change. •^ Example: big monkey and little monkey^ ◦^ Monkeys usually eat ground-level fruit^ ◦^ Occasionally they climb a tree to get a coconut (1 per tree)^ ◦^ A Coconut yields 10 Calories^ ◦^ Big Monkey expends 2 Calories climbing the tree.(net 8calories)^ ◦^ Little Monkey expends 0 Calories climbing the tree. (net 10calories)
Department of Computer Science — University of San Fran
23-19:^ Auctions^ •^ An auction is a negotiation mechanism where:^ ◦^ The mechanism is well-specified (it runs according toexplicit rules)^ ◦^ The negotiation is mediated by an intermediary^ ◦^ Exchanges are market/currency-based^ •^ Agents place bids on items or collections of items.^ •^ An auctioneer determines how goods are allocated.^ •^ Requirements: the auction should be fair, efficient, easy to use,and computationally efficient.^ •^ We’ll need to trade these against each other.
Department of Computer Science — University of San Francisco – p. 19/
??
23-20:^ Auctions^ •^ Private-value auctions are easier to think about at first.^ •^ In this case, the value agent A places on a job has nothing todo with the value that agent B places on the object.^ ◦^ For example, an hour of computing time.^ •^ In common-value auctions, the value an agent places on anitem depends on how much others value it.^ ◦^ Example: art, collectibles, precious metals.
Department of Computer Science — University of San Francisco – p. 20/
??
23-21:^ English auctions^ •^ An English (or first-price) auction is the kind we’re most familiarwith.^ •^ Bids start low and rise. All agents see all bids.^ •^ May be a reserve price involved.^ •^ Dominant strategy: bid
ǫ^ more than the highest price, until your threshold is reached. • Problems: requires multiple rounds, not efficient for the seller,requires agents to reveal their valuations to each other. • There may be technical problems to solve with making sure allagents see all bids within a limited period of time.
Department of Computer Science — University of San Fran
23-22:^ First-price sealed-bid auction^ •^ Each agent submits a single sealed bid. Highest wins and payswhat they bid.^ ◦^ This is how you buy a house.^ •^ Single round of bidding. All preferences remain private.^ •^ Problems: No Nash equilibrium - agents need tocounterspeculate. Item may not go to the agent who valued itmost. (inefficient).
Department of Computer Science — University of San Francisco – p. 22/
??
23-23:^ Dutch auction^ •^ Prices start high and decline.^ •^ First agent to bid wins.^ •^ Strategically equivalent to first-price sealed-bid.^ •^ In practice, closes quickly.
Department of Computer Science — University of San Francisco – p. 23/
??
23-24:^ Vickrey auction^ •^ The Vickrey, or second-price, auction, has a number ofappealing aspects from a computational point of view.^ •^ Single round of bidding.^ •^ Efficient allocation of goods.^ •^ Truth-telling is the dominant strategy.^ •^ Rule: each agent bids. Highest bid wins, but pays the secondprice.^ ◦^ (the example we used earlier is isomorphic to the Vickreyauction).
Department of Computer Science — University of San Fran
23-25:^ Example^ •^ Angel, Buffy and Cordelia are bidding on a sandwich.^ ◦^ Angel is willing to pay $5, Buffy $3, and Cordelia $2.^ •^ Each participant bids the amount they’re willing to pay.^ •^ Angel gets the sandwich and pays $3.
Department of Computer Science — University of San Francisco – p. 25/
??
23-26:^ Proof^ •^ Let’s prove that truth-telling is a dominant strategy.^ •^ Angel:^ ◦^ If he overbids, he still pays $3. No advantage.^ ◦^ If he bids between $3 and $5, he still pays $3. Noadvantage.^ ◦^ If he bids less than $3, then he doesn’t get the sandwich -but he was willing to pay $5, so this is a loss.
Department of Computer Science — University of San Francisco – p. 26/
??
23-27:^ Proof^ •^ Buffy (the same reasoning will hold for Cordelia)^ ◦^ If she bids less than $3, she still doesn’t get the sandwich.(notice that we assume she doesn’t care how much Angelpays.)^ ◦^ If she bids between $3 and $5, she still doesn’t get thesandwich. No benefit.^ ◦^ If she bids more than $5, she gets the sandwich and pays$5. But she was only willing to pay $3, so this is a loss.
Department of Computer Science — University of San Fran
23-28:^ Vickrey Auctions in real life^ •^ Because of these properties, Vickrey auctions have beenadopted for:^ ◦^ Allocation of computer resources^ ◦^ Distribution of electrical power^ ◦^ Bandwidth allocation^ ◦^ Scheduling problems.^ •^ Interestingly, they are not widely used in human auctions.^ ◦^ Perhaps people are not rational ...
Department of Computer Science — University of San Francisco – p. 28/
??
23-29:^ Advantages and disadvantages^ •^ Advantages of the Vickrey auction/Clarke tax:^ ◦^ Truth-telling as a dominant strategy^ •^
Easy for participants, no need for multiple rounds ofbidding. • Most efficient solution is always discovered. ◦ Disadvantages: • Leaves money ’on the table’ (payments are more thancost of job) • Payments are a function of the quality of the second-bestsolution. • Not intuitive for humans.
Department of Computer Science — University of San Francisco – p. 29/
??
23-30:^ Common and correlated-value auctions^ •^ Everything we’ve said so far applies only to private valueauctions.^ •^ Common or correlated-value auctions are much lesspredictable.^ •^ In particular, common-value auctions are subject to the
winner’s
curse^ ◦^ As soon as you win a common-value auction, you knowyou’ve paid too much.
Department of Computer Science — University of San Fran
23-37:^ Winner-determination problem^ •^ Other solutions:^ ◦^ Limiting the sorts of bundles allowed.^ ◦^ OR bids and XOR bids.^ •^
This transforms the problem into the knapsack problem. • Still NP-hard, but good heuristics exist • Limiting size of bundles. • Approximation algorithms
Department of Computer Science — University of San Francisco – p. 37/
??
23-38:^ Current research issues^ • •^ Auctions are a particularly hot area of research.^ •^ Topics include:^ ◦^ Information revelation - how can we preserve thetruth-telling strategy of Vickrey without agents revealing theirpreferences to each other?^ ◦^ Winner determination.^ ◦^ Languages for expressing more complex constraints.^ ◦^ Preventing collusion and false-name bids.^ ◦^ ’online’ auctions^ •^
Not “on the Internet” - meaning agents continuously arriveand leave.
Department of Computer Science — University of San Francisco – p. 38/
??
23-39:^ Summary^ •^ Vickrey auctions are particularly appealing from acomputational standpoint.^ ◦^ Easy for participants to decide how to act.^ ◦^ Hard to manipulate.^ •^ Resources always allocated to the agent that values them themost.^ •^ Challenges:^ ◦^ Dealing with imperfect information^ ◦^ Combinatorial auctions run us up against NP-completeness(again).
Department of Computer Science — University of San Fran