1
Announcements
ØHW1 grading will be out next Tuesday, and sample solution is out
- n Collab
ØHW 2 is due next Tuesday
Announcements HW1 grading will be out next Tuesday, and sample - - PowerPoint PPT Presentation
Announcements HW1 grading will be out next Tuesday, and sample solution is out on Collab HW 2 is due next Tuesday 1 CS6501: T opics in Learning and Game Theory (Fall 2019) Mechanism Design from Samples Instructor: Haifeng Xu Outline
1
ØHW1 grading will be out next Tuesday, and sample solution is out
ØHW 2 is due next Tuesday
CS6501: T
(Fall 2019) Mechanism Design from Samples
Instructor: Haifeng Xu
3
Ø Optimal Auction and its Limitations Ø The Sample Mechanism and its Revenue Guarantee
4
𝑤" ∼ 𝑔
" independently, the following auction is BIC and optimal:
1. Solicit buyer values 𝑤%, ⋯ , 𝑤( 2. Transform 𝑤" to “virtual value” 𝜚"(𝑤") where 𝜚" 𝑤" = 𝑤" −
%./0(10) 20(10)
3. If 𝜚" 𝑤" < 0 for all 𝑗, keep the item and no payments 4. Otherwise, allocate item to 𝑗∗ = arg max
"∈[(] 𝜚"(𝑤") and charge him
the minimum bid needed to win, i.e., 𝜚"
.% max max ?@"∗ 𝜚?(𝑤?) , 0
.
Ø Recall, “regular” means 𝜚" 𝑤" is monotone non-decreasing Ø Will always assume distributions are regular and “nice” henceforth
5
An important special case: 𝑤" ∼ 𝐺 i.i.d.
ØThe second-price auction with reserve 𝜚.%(0) is optimal
"∈[(] 𝑤" and charge him the minimum
bid needed to win, i.e., max( max
?@"∗ 𝑤? , 𝜚.% 0
)
6
An important special case: 𝑤" ∼ 𝐺 i.i.d.
ØThe second-price auction with reserve 𝜚.%(0) is optimal
"∈[(] 𝑤" and charge him the minimum
bid needed to win, i.e., max( max
?@"∗ 𝑤? , 𝜚.% 0
)
Intuitions about why second-price auction with reserve is good
à second highest bid is pretty much the best choice Ø Incentive compatibility requires payment to not depend on bidder’s
Ø Use the reserve to balance between “charging a higher price” and “disposing the item”
7
Myerson’s Lemma is central to the proof
and interim payment 𝑞, normalized to 𝑞" 0 = 0. The expected revenue of 𝑁 is equal to the expected virtual welfare served ∑"F%
(
𝔽10∼20 𝜚" 𝑤" 𝑦"(𝑤")
8
ØIn this lecture, we will keep Assumption 1, but relax Assumption 2
1. Buyer’s value 𝑤" is assumed to be drawn from a distribution 𝑔
"
2. The precise distribution 𝑔
" is assumed to be known to seller
9
ØIn this lecture, we will keep Assumption 1, but relax Assumption 2 ØThis is precisely the machine learning perspective
1. Buyer’s value 𝑤" is assumed to be drawn from a distribution 𝑔
"
2. The precise distribution 𝑔
" is assumed to be known to seller
10
ØWill focus on setting with 𝑜 buyer, i.i.d. values ØBuyer value 𝑤" is drawn from regular distribution 𝑔, which is
unknown to the seller Goal: design an auction that has revenue close to the optimal revenue when knowing 𝑔 Ø Optimal auction is a second-price auction with reserve 𝜚.%(0) Ø “Closeness” will be measured by guaranteed approximation ratio
11
ØWill focus on setting with 𝑜 buyer, i.i.d. values ØBuyer value 𝑤" is drawn from regular distribution 𝑔, which is
unknown to the seller Goal: design an auction that has revenue close to the optimal revenue when knowing 𝑔 Ø Optimal auction is a second-price auction with reserve 𝜚.%(0) Ø “Closeness” will be measured by guaranteed approximation ratio But wait . . . we cannot have any guarantee without assumptions
12
ØSince 𝑤"’s are all drawn from 𝑔, these 𝑜 i.i.d. samples can be used
to estimate 𝑔
ØThis results in the following “empirical Myerson” auction
Empirical Myerson Auction
𝑔
𝜚.%(0) where J 𝜚 is calculated using ̅ 𝑔 instead Q: does this mechanism work?
No, may fail in multiple ways
13
ØNot incentive compatible – reserve depends on bidder’s report
where samples are assumed to be correctly given
Empirical Myerson Auction
𝑔
𝜚.%(0) where J 𝜚 is calculated using ̅ 𝑔 instead problematic
14
ØNot incentive compatible – reserve depends on bidder’s report
where samples are assumed to be correctly given
ØEven bidders report true values, ̅
𝑔 may not be regular
ØEven ̅
𝑔 is regular, J 𝜚.%(0) may not be close to 𝜚.%(0)
Empirical Myerson Auction
𝑔
𝜚.%(0) where J 𝜚 is calculated using ̅ 𝑔 instead problematic
15
Ø Optimal Auction and its Limitations Ø The Sample Mechanism and its Revenue Guarantee
16
ØWant to use second-price auction with an estimated reserve ØLesson from previous example – if a bidder’s bid is used to
estimate the reserve, we cannot use this reserve for him
ØMain idea: pick a “reserve buyer” à use his bid to estimate the
reserve but never sell to this buyer
17
ØWant to use second-price auction with an estimated reserve ØLesson from previous example – if a bidder’s bid is used to
estimate the reserve, we cannot use this reserve for him
ØMain idea: pick a “reserve buyer” à use his bid to estimate the
reserve but never sell to this buyer
Q: why only pick one reserve buyer, not two or more?
We have to give up revenue from reserve buyers, better not too many
18
ØWant to use second-price auction with an estimated reserve ØLesson from previous example – if a bidder’s bid is used to
estimate the reserve, we cannot use this reserve for him
ØMain idea: pick a “reserve buyer” à use his bid to estimate the
reserve but never sell to this buyer
Q: why only pick one reserve buyer, not two or more?
We have to give up revenue from reserve buyers, better not too many
Q: which buyer to choose as the reserve buyer?
A-priori, they are the same à pick one uniformly at random
19
ØWant to use second-price auction with an estimated reserve ØLesson from previous example – if a bidder’s bid is used to
estimate the reserve, we cannot use this reserve for him
ØMain idea: pick a “reserve buyer” à use his bid to estimate the
reserve but never sell to this buyer
Q: how to use a single buyer’s value to estimate reserve?
Not much we can do . . . just use his value as reserve
20
Second-Price auction with Random Reserve (SP-RR)
among bidders in 𝑜 ∖ 𝑘 .
21
Second-Price auction with Random Reserve (SP-RR)
among bidders in 𝑜 ∖ 𝑘 .
For any bidder 𝑗 Ø If 𝑗 is picked as reserve, his bid does not matter to him, so truthful bidding is an optimal strategy Ø If 𝑗 is not picked, he faces a second-price auction with
22
at least
% M ⋅ (.% ( fraction of the optimal expected revenue.
Remarks
Ø
% M ⋅ (.% ( is a worst-case guarantee
ØThe first time we use approximation as a lens to analyze
algorithms in this class
ØIt is possible to have a good auction even without knowing 𝐺
23
at least
% M ⋅ (.% ( fraction of the optimal expected revenue.
ØEquivalently, SP-RR is a second-price auction for (𝑜 − 1) i.i.d.
bidders, with a reserve 𝑠 drawn from 𝐺.
ØTo prove its revenue guarantee, we have to argue
1.
Discarding one buyer does not hurt revenue much (the
(.% (
term)
2.
Using a random 𝑤 ∼ 𝐺 as an estimated reserve is still good (the
% M
term)
24
at least
% M ⋅ (.% ( fraction of the optimal expected revenue.
Next, we will give a formal proof
25
Step 1: discarding a buyer does not hurt revenue much
Proof: use Myerson’s Lemma
ØExpected revenue for 𝑜 buyers is ∑"F%
(
𝔽10∼20 𝜚" 𝑤" 𝑦"
( 𝑤"
(() = interim allocation of the optimal auction for 𝑜 buyers
ØBy symmetry of the auction and buyer values, each buyer’s interim
allocation must be the same, i.e., 𝑦"
( (𝑤) = 𝑦(()(𝑤) for some 𝑦(()
ØThus, optimal revenue with 𝑜 bidders is
Lemma 1. The expected optimal revenue for an environment with (𝑜 − 1) buyers is at least
(.% (
fraction of the optimal expected revenue for 𝑜 buyers. 𝑆 𝑜 = ∑"F%
(
𝔽10∼20 𝜚" 𝑤" 𝑦"
( 𝑤"
= 𝑜 ⋅ 𝔽1∼2 𝜚 𝑤 𝑦 ( 𝑤
26
Step 1: discarding a buyer does not hurt revenue much
Proof: use Myerson’s Lemma
ØDue to less competition, we have 𝑦((.%) 𝑤 ≥ 𝑦(()(𝑤)
has more chance to win
ØTherefore,
Lemma 1. The expected optimal revenue for an environment with (𝑜 − 1) buyers is at least
(.% (
fraction of the optimal expected revenue for 𝑜 buyers. 𝑆 𝑜 − 1 = 𝑜 − 1 ⋅ 𝔽1∼2 𝜚 𝑤 𝑦 (.% 𝑤 ≥ 𝑜 − 1 ⋅ 𝔽1∼2 𝜚 𝑤 𝑦 ( 𝑤 ≥ 𝑜 − 1 𝑜 𝑆(𝑜)
27
Lemma 2. Rev(SP-RR) ≥
% M Rev(SP-OR) for any 𝑜 and regular 𝐺.
Consider the following two auctions for i.i.d. bidders with 𝑤" ∼ 𝐺 Ø SP-OR: second price auction with optimal reserve 𝑠∗ = 𝜚.%(0) Ø SP-RR: second price auction with random reserve 𝑠 ∼ 𝐺 Note: this completes our proof of the theorem
28
Lemma 2. Rev(SP-RR) ≥
% M Rev(SP-OR) for any 𝑜 and regular 𝐺.
29
Lemma 2. Rev(SP-RR) ≥
% M Rev(SP-OR) for any 𝑜 and regular 𝐺.
Step 1: characterize how much revenue 𝑗 contribute in each auction Let us focus on SP-OR first Ø Fix 𝑤.", buyer 𝑗 contributes to revenue only when he wins Ø Whenever 𝑗 wins, he pays 𝑞 = max(𝑢, 𝑠∗) where t = max 𝑤." and 𝑠∗ = 𝜚.% 0 Ø Conditioning on 𝑤.", 𝑗 contributes the following amount to revenue 𝑞 1 − F p = W 𝑆 𝑞 = W 𝑆 max 𝑢, 𝑠∗ Ø In expectation, 𝑗 contributes 𝔽1X0[ W 𝑆 max 𝑢, 𝑠∗ ]
30
Lemma 2. Rev(SP-RR) ≥
% M Rev(SP-OR) for any 𝑜 and regular 𝐺.
Step 1: characterize how much revenue 𝑗 contribute in each auction In expectation, 𝑗 contributes 𝔽1X0[ W 𝑆 max 𝑢, 𝑠∗ ] in SP-OR
31
Lemma 2. Rev(SP-RR) ≥
% M Rev(SP-OR) for any 𝑜 and regular 𝐺.
Step 1: characterize how much revenue 𝑗 contribute in each auction What about SP-RR? Ø Similar argument, but use a random reserve 𝑠 instead Ø In expectation, 𝑗 contributes 𝔽Y∼/𝔽1X0[ W 𝑆 max 𝑢, 𝑠 ] In expectation, 𝑗 contributes 𝔽1X0[ W 𝑆 max 𝑢, 𝑠∗ ] in SP-OR
32
Lemma 2. Rev(SP-RR) ≥
% M Rev(SP-OR) for any 𝑜 and regular 𝐺.
Step 1: characterize how much revenue 𝑗 contribute in each auction What about SP-RR? Ø Similar argument, but use a random reserve 𝑠 instead Ø In expectation, 𝑗 contributes 𝔽Y∼/𝔽1X0[ W 𝑆 max 𝑢, 𝑠 ] In expectation, 𝑗 contributes 𝔽1X0[ W 𝑆 max 𝑢, 𝑠∗ ] in SP-OR
33
Lemma 2. Rev(SP-RR) ≥
% M Rev(SP-OR) for any 𝑜 and regular 𝐺.
Step 1: characterize how much revenue 𝑗 contribute in each auction What about SP-RR? Ø Similar argument, but use a random reserve 𝑠 instead Ø In expectation, 𝑗 contributes 𝔽Y∼/𝔽1X0[ W 𝑆 max 𝑢, 𝑠 ] In expectation, 𝑗 contributes 𝔽1X0[ W 𝑆 max 𝑢, 𝑠∗ ] in SP-OR Step 2: prove 𝔽Y∼/[ W 𝑆 max 𝑢, 𝑠 ≥
% M W
𝑆 max 𝑢, 𝑠∗ for any 𝑢
This proves Lemma 2
34
ØNote: this is really the fundamental reason for why using uniform
reserve is not bad
ØProof is based on an elegant geometric argument
𝑆 max 𝑢, 𝑠 ] ≥
% M W
𝑆 max 𝑢, 𝑠∗ for any 𝑢.
35
ØNote: this is really the fundamental reason for why using uniform
reserve is not bad
ØProof is based on an elegant geometric argument ØRecall W
𝑆 𝑞 = 𝑞 ⋅ (1 − 𝐺(𝑞)). The (not so) magic step: change variable for function W 𝑆 𝑞
𝑆 𝑞 (when 𝑟 = 1 − 𝐺(𝑞))
ØIt turns out that 𝑆(𝑟) is concave if and only if 𝐺 is regular
𝑆 max 𝑢, 𝑠 ] ≥
% M W
𝑆 max 𝑢, 𝑠∗ for any 𝑢.
36
Calculating derivative of 𝑆 𝑟 = 𝑟 ⋅ 𝐺.%(1 − 𝑟):
𝑆 max 𝑢, 𝑠 ] ≥
% M W
𝑆 max 𝑢, 𝑠∗ for any 𝑢. 𝑒 𝑆(𝑟) 𝑒 𝑟 = 𝐺.% 1 − 𝑟 + 𝑟 ⋅ 𝑒 𝐺.%(1 − 𝑟) 𝑒 𝑟 = 𝐺.% 1 − 𝑟 − 𝑟 ⋅ 1 𝑔(𝐺.%(1 − 𝑟)) Derive on the board
37
Calculating derivative of 𝑆 𝑟 = 𝑟 ⋅ 𝐺.%(1 − 𝑟):
𝑆 max 𝑢, 𝑠 ] ≥
% M W
𝑆 max 𝑢, 𝑠∗ for any 𝑢. 𝑒 𝑆(𝑟) 𝑒 𝑟 = 𝐺.% 1 − 𝑟 + 𝑟 ⋅ 𝑒 𝐺.%(1 − 𝑟) 𝑒 𝑟 = 𝐺.% 1 − 𝑟 − 𝑟 ⋅ 1 𝑔(𝐺.%(1 − 𝑟)) = 𝑞 − (1 − 𝐺(𝑞)) ⋅ 1 𝑔(𝑞) Use the equation 1 − 𝐺 𝑞 = 𝑟
38
Calculating derivative of 𝑆 𝑟 = 𝑟 ⋅ 𝐺.%(1 − 𝑟):
𝑆 max 𝑢, 𝑠 ] ≥
% M W
𝑆 max 𝑢, 𝑠∗ for any 𝑢. 𝑒 𝑆(𝑟) 𝑒 𝑟 = 𝐺.% 1 − 𝑟 + 𝑟 ⋅ 𝑒 𝐺.%(1 − 𝑟) 𝑒 𝑟 = 𝐺.% 1 − 𝑟 − 𝑟 ⋅ 1 𝑔(𝐺.%(1 − 𝑟)) = 𝑞 − (1 − 𝐺(𝑞)) ⋅ 1 𝑔(𝑞) = 𝜚(𝑞) Use the equation 1 − 𝐺 𝑞 = 𝑟 Ø Regularity means 𝜚(𝑞) is increasing in 𝑞 Ø Moreover, 𝑞 is decreasing in 𝑟, so 𝑆′(𝑟) is decreasing in 𝑟 Ø This implies 𝑆(𝑟) is concave
39
𝑆 max 𝑢, 𝑠 ] ≥
% M W
𝑆 max 𝑢, 𝑠∗ for any 𝑢. 𝑠∗ satisfies 𝜚 𝑠∗ = 0, i.e., the point where derivative of 𝑆 𝑟 is 0
Here: 1 − 𝐺 𝑠∗ = 𝑟∗
40
𝑆 max 𝑢, 𝑠 ] ≥
% M W
𝑆 max 𝑢, 𝑠∗ for any 𝑢. First, prove the 𝑢 = 0 case. Claim (when 𝒖 = 𝟏). 𝔽Y∼/[ W 𝑆 𝑠 ] ≥
% M W
𝑆 𝑠∗ . Proof Ø 𝔽Y∼/ W 𝑆 𝑠 = 𝔽`∼a[b,%][𝑆 𝑟 ] by variable change 𝑟 = 1 − 𝐺(𝑠)
Ø 𝔽`∼a[b,%][𝑆 𝑟 ] is precisely the area under the 𝑆(𝑟) curve Ø W 𝑆 𝑠∗ = 𝑆(𝑟∗) is precisely the area of the rectangle Ø By geometry, 𝔽Y∼/[ W 𝑆 𝑠 ] ≥
% M W
𝑆 𝑠∗
41
𝑆 max 𝑢, 𝑠 ] ≥
% M W
𝑆 max 𝑢, 𝑠∗ for any 𝑢. For general 𝑢 Ø If 𝑢 ≤ 𝑠∗, left-hand side increases, right-hand side no change Ø If 𝑢 > 𝑠∗, W 𝑆 max 𝑢, 𝑠∗ = W 𝑆 𝑢 𝔽Y∼/ W 𝑆 max 𝑢, 𝑠 = Pr 𝑠 ≤ 𝑢 ⋅ W 𝑆 𝑢 + Pr 𝑠 > 𝑢 ⋅ 𝔽Y∼/|hij W 𝑆 𝑠 Similar geometric argument shows 𝔽Y∼/|hij W 𝑆 𝑠 ≥
% M W
𝑆(𝑢) ≥ Pr 𝑠 ≤ 𝑢 ⋅ W 𝑆 𝑢 + Pr 𝑠 > 𝑢 ⋅ 1 2 W 𝑆(𝑢) ≥ 1 2 W 𝑆(𝑢)
42
ØApproximation ratio can be improved to
% M (i.e. without the (.% (
term)
another buyer’s bid as the reserve for him
Ø
% M approximation is the best possible guarantee for SP-RR
43
ØIf we have sufficiently many bidders (more than Θ(𝜗.n ln 𝜗.%) many),
can obtain 𝜗-optimal auction
reserve
reserve bidders’ values
ØThese results can all be generalized to “single-parameter” settings
ØMany open questions in this broad field of learning optimal auctions
Haifeng Xu
University of Virginia hx4ad@virginia.edu