CS599: Algorithm Design in Strategic Settings Fall 2012 Lecture 6: Prior-Free Single-Parameter Mechanism Design (Continued)

Similar documents
CS599: Algorithm Design in Strategic Settings Fall 2012 Lecture 4: Prior-Free Single-Parameter Mechanism Design. Instructor: Shaddin Dughmi

Single-Parameter Mechanisms

Mechanism Design and Auctions

Yao s Minimax Principle

Lecture 5. 1 Online Learning. 1.1 Learning Setup (Perspective of Universe) CSCI699: Topics in Learning & Game Theory

Sublinear Time Algorithms Oct 19, Lecture 1

CS364B: Frontiers in Mechanism Design Lecture #18: Multi-Parameter Revenue-Maximization

CS364A: Algorithmic Game Theory Lecture #3: Myerson s Lemma

The Complexity of Simple and Optimal Deterministic Mechanisms for an Additive Buyer. Xi Chen, George Matikas, Dimitris Paparas, Mihalis Yannakakis

CMSC 858F: Algorithmic Game Theory Fall 2010 Introduction to Algorithmic Game Theory

6.896 Topics in Algorithmic Game Theory February 10, Lecture 3

CSE202: Algorithm Design and Analysis. Ragesh Jaiswal, CSE, UCSD

Day 3. Myerson: What s Optimal

Stochastic Optimization Methods in Scheduling. Rolf H. Möhring Technische Universität Berlin Combinatorial Optimization and Graph Algorithms

Finding Equilibria in Games of No Chance

For every job, the start time on machine j+1 is greater than or equal to the completion time on machine j.

Single Price Mechanisms for Revenue Maximization in Unlimited Supply Combinatorial Auctions

THE growing demand for limited spectrum resource poses

ECON 459 Game Theory. Lecture Notes Auctions. Luca Anderlini Spring 2017

Recharging Bandits. Joint work with Nicole Immorlica.

Lecture 10: The knapsack problem

From Bayesian Auctions to Approximation Guarantees

While the story has been different in each case, fundamentally, we ve maintained:

Regret Minimization and Correlated Equilibria

Maximizing the Spread of Influence through a Social Network Problem/Motivation: Suppose we want to market a product or promote an idea or behavior in

Essays on Some Combinatorial Optimization Problems with Interval Data

Lecture 5: Iterative Combinatorial Auctions

CS364A: Algorithmic Game Theory Lecture #14: Robust Price-of-Anarchy Bounds in Smooth Games

Algorithmic Game Theory

Budget Management In GSP (2018)

On Existence of Equilibria. Bayesian Allocation-Mechanisms

Single Price Mechanisms for Revenue Maximization in Unlimited Supply Combinatorial Auctions

Lecture 11: Bandits with Knapsacks

Lecture 7: Bayesian approach to MAB - Gittins index

Homework #4. CMSC351 - Spring 2013 PRINT Name : Due: Thu Apr 16 th at the start of class

Knapsack Auctions. Gagan Aggarwal Jason D. Hartline

Single Machine Inserted Idle Time Scheduling with Release Times and Due Dates

More Advanced Single Machine Models. University at Buffalo IE661 Scheduling Theory 1

IEOR E4004: Introduction to OR: Deterministic Models

CS 573: Algorithmic Game Theory Lecture date: 22 February Combinatorial Auctions 1. 2 The Vickrey-Clarke-Groves (VCG) Mechanism 3

Near-Optimal Multi-Unit Auctions with Ordered Bidders

Lecture 2: The Simple Story of 2-SAT

CS 573: Algorithmic Game Theory Lecture date: March 26th, 2008

Lecture 19: March 20

Math 167: Mathematical Game Theory Instructor: Alpár R. Mészáros

The Cascade Auction A Mechanism For Deterring Collusion In Auctions

Outline for today. Stat155 Game Theory Lecture 13: General-Sum Games. General-sum games. General-sum games. Dominated pure strategies

Mechanism Design and Auctions

2 Comparison Between Truthful and Nash Auction Games

CS364A: Algorithmic Game Theory Lecture #9: Beyond Quasi-Linearity

Outline Introduction Game Representations Reductions Solution Concepts. Game Theory. Enrico Franchi. May 19, 2010

15-451/651: Design & Analysis of Algorithms November 9 & 11, 2015 Lecture #19 & #20 last changed: November 10, 2015

6.207/14.15: Networks Lecture 10: Introduction to Game Theory 2

From Battlefields to Elections: Winning Strategies of Blotto and Auditing Games

Assortment Optimization Over Time

Lecture 23: April 10

Chapter 5. Continuous Random Variables and Probability Distributions. 5.1 Continuous Random Variables

Max Registers, Counters and Monotone Circuits

Supplementary Material for Combinatorial Partial Monitoring Game with Linear Feedback and Its Application. A. Full proof for Theorems 4.1 and 4.

Optimization in the Private Value Model: Competitive Analysis Applied to Auction Design

CSE 417 Dynamic Programming (pt 2) Look at the Last Element

Mechanism Design and Auctions

Teaching Bandits How to Behave

ECE 586GT: Problem Set 1: Problems and Solutions Analysis of static games

Chapter 15: Dynamic Programming

CS4311 Design and Analysis of Algorithms. Lecture 14: Amortized Analysis I

CSV 886 Social Economic and Information Networks. Lecture 4: Auctions, Matching Markets. R Ravi

Dynamic Resource Allocation for Spot Markets in Clouds. Qi Zhang, Eren Gurses, Jin Xiao, Raouf Boutaba

Algorithmic Game Theory and Applications. Lecture 11: Games of Perfect Information

Characterization of the Optimum

CUR 412: Game Theory and its Applications, Lecture 4

Problem Set 2: Answers

Slides credited from Hsu-Chun Hsiao

CUR 412: Game Theory and its Applications, Lecture 4

Central Limit Theorem for the Realized Volatility based on Tick Time Sampling. Masaaki Fukasawa. University of Tokyo

Can we have no Nash Equilibria? Can you have more than one Nash Equilibrium? CS 430: Artificial Intelligence Game Theory II (Nash Equilibria)

Multiunit Auctions: Package Bidding October 24, Multiunit Auctions: Package Bidding

Martingale Pricing Theory in Discrete-Time and Discrete-Space Models

COMP417 Introduction to Robotics and Intelligent Systems. Reinforcement Learning - 2

Posted-Price Mechanisms and Prophet Inequalities

Lecture outline W.B.Powell 1

Machine Learning in Computer Vision Markov Random Fields Part II

Lecture 9 Feb. 21, 2017

Auction Theory: Some Basics

Practical SAT Solving

CS221 / Spring 2018 / Sadigh. Lecture 9: Games I

Issues. Senate (Total = 100) Senate Group 1 Y Y N N Y 32 Senate Group 2 Y Y D N D 16 Senate Group 3 N N Y Y Y 30 Senate Group 4 D Y N D Y 22

Revenue Maximization with a Single Sample (Proofs Omitted to Save Space)

Mechanism Design For Set Cover Games When Elements Are Agents

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.265/15.070J Fall 2013 Lecture 11 10/9/2013. Martingales and stopping times II

CS224W: Social and Information Network Analysis Jure Leskovec, Stanford University

arxiv: v1 [cs.gt] 12 Aug 2008

Levin Reduction and Parsimonious Reductions

About this lecture. Three Methods for the Same Purpose (1) Aggregate Method (2) Accounting Method (3) Potential Method.

Intro to Decision Theory

Version A. Problem 1. Let X be the continuous random variable defined by the following pdf: 1 x/2 when 0 x 2, f(x) = 0 otherwise.

Virtual Demand and Stable Mechanisms

arxiv: v2 [cs.gt] 11 Mar 2018 Abstract

monotone circuit value

Games of Incomplete Information ( 資訊不全賽局 ) Games of Incomplete Information

Transcription:

CS599: Algorithm Design in Strategic Settings Fall 2012 Lecture 6: Prior-Free Single-Parameter Mechanism Design (Continued) Instructor: Shaddin Dughmi

Administrivia Homework 1 due today. Homework 2 out sometime next week

Outline 1 Recap 2 Scheduling

Outline 1 Recap 2 Scheduling

Recap 2/24 Single-parameter Problems Informally There is a single homogenous resource (items, bandwidth, clicks, spots in a knapsack, etc). There are constraints on how the resource may be divided up. Each player s private data is his value (or cost) per unit resource.

Recap 2/24 Single-parameter Problems Informally There is a single homogenous resource (items, bandwidth, clicks, spots in a knapsack, etc). There are constraints on how the resource may be divided up. Each player s private data is his value (or cost) per unit resource. Formally Set Ω of allocations is common knowledge. Each player i s type is a single real number t i. Player i s type-space T i is an interval in R. Each allocation x Ω is a vector in R n. A player s utility for allocation x and payment p i is t i x i p i.

Recap b 3/24 Myerson s Lemma (Dominant Strategy) A mechanism (x, p) for a single-parameter problem is dominant-strategy truthful if and only if for every player i and fixed reports b i of other players, x i (b i ) is a monotone non-decreasing function of b i p i (b i ) is an integral of b i dx i. Specifically, there is some pivot term h i (b i ) such that bi p i (b i ) = h i (b i ) + b i x i (b i ) x i (b)db b=0 x i (b i )

Recap b 3/24 Myerson s Lemma (Dominant Strategy) A mechanism (x, p) for a single-parameter problem is dominant-strategy truthful if and only if for every player i and fixed reports b i of other players, x i (b i ) is a monotone non-decreasing function of b i p i (b i ) is an integral of b i dx i. Specifically, there is some pivot term h i (b i ) such that bi p i (b i ) = h i (b i ) + b i x i (b i ) x i (b)db b=0 x i (b i )

Recap 4/24 Interpretation of Myerson s Lemma General Interpretation As player increases his reported value per unit of resource, he pays for each additional chunk of resource at a rate equal to the minimum report needed to win that chunk. x i (b i ) b i

Recap 4/24 Interpretation of Myerson s Lemma General Interpretation As player increases his reported value per unit of resource, he pays for each additional chunk of resource at a rate equal to the minimum report needed to win that chunk. x i (b i ) Equivalently... As player decreases his reported cost per unit of work, he is paid for each additional chunk of work at a rate equal to the maximum report at which he gets that chunk. b i

Recap: Knapsack Allocation cost=80 value=10 budget=100 We Showed Exact solution of the problem (in exponential time) gives a monotone algorithm, yielding a truthful mechanism by Myerson s Lemma. The canonical FPTAS is non-monotone, and therefore cannot be turned into a truthful mechanism. We showed a monotone, polynomial-time 2-approximation algorithm, and a corresponding truthful mechanism. Next HW: A truthful FPTAS. Recap 5/24

Recap: Single-minded Combinatorial Allocation We Showed Exact solution of the problem (in exponential time) gives a monotone algorithm, yielding a truthful mechanism by Myerson s Lemma. We showed a monotone, polynomial-time m-approximation algorithm, and a corresponding truthful mechanism. Recap 6/24

Recap 7/24 Next Up We will embark on designing truthul mechanisms that run in polynomial time, for less trivial problems who se non-strategic variant is NP-hard. Knapsack allocation Single-minded combinatorial allocation Scheduling Non-binary Mechanism will be randomized

Outline 1 Recap 2 Scheduling

Scheduling Designer has m jobs, with publicly known sizes p 1,..., p m n players, each own a machine Allocation: schedule mapping jobs onto machines Player i s private data t i is his time (cost) per unit job scheduled on his machine. Objective: Minimize makespan (the maximum, over machines, of time spent processing) Scheduling 8/24

Scheduling Designer has m jobs, with publicly known sizes p 1,..., p m n players, each own a machine Allocation: schedule mapping jobs onto machines Player i s private data t i is his time (cost) per unit job scheduled on his machine. Objective: Minimize makespan (the maximum, over machines, of time spent processing) Modeling Ω R n + is the family of work vectors that can be induced by scheduling jobs with sizes p 1,..., p m. Player s type t i is his cost per unit job, and T i = R +. Utility of player i for load vector x is p i t i x i. (note flipped signs) Scheduling 8/24

Design Goals Scheduling 9/24 Want a mechanism (allocation rule and payment rule) satisfying the following properties: 1 Dominant strategy Truthfulness 2 Payment to a machine receiving no work should be 0 By Myerson s Lemma, these are satisfied if and only if the allocation rule is monotone, and the payment rule is the (unique) one indicated by Myerson s Lemma.

Design Goals Scheduling 9/24 Want a mechanism (allocation rule and payment rule) satisfying the following properties: 1 Dominant strategy Truthfulness 2 Payment to a machine receiving no work should be 0 By Myerson s Lemma, these are satisfied if and only if the allocation rule is monotone, and the payment rule is the (unique) one indicated by Myerson s Lemma. 3 Polynomial time: The allocation algorithm must run in time polynomial in n, and the maximum number of bits in any of the real number inputs.

Design Goals Scheduling 9/24 Want a mechanism (allocation rule and payment rule) satisfying the following properties: 1 Dominant strategy Truthfulness 2 Payment to a machine receiving no work should be 0 By Myerson s Lemma, these are satisfied if and only if the allocation rule is monotone, and the payment rule is the (unique) one indicated by Myerson s Lemma. 3 Polynomial time: The allocation algorithm must run in time polynomial in n, and the maximum number of bits in any of the real number inputs. 4 Worst-case approximation ratio: close to 1. Recall: the approximation ratio of an allocation algorithm is the maximum, over all instances, of the ratio of the makespan of the schedule out by the algorithm to the optimum makespan.

Reinterpreting Myerson s Lemma Myerson s Lemma (Cost Version) A mechanism (x, p) for a single-parameter problem with costs is dominant-strategy truthful if and only if for every player i and fixed reports t i of other players, The workload x i (t i ) of machine i is a non-increasing function of t i. p i (t i ) is an integral of t i dx i. Assuming some t max such that the machine gets no work, and requiring p i (t max ) = 0, gives p i (t i ) = t i x i (t i ) + tmax x i (t)dt. t=t i Scheduling 10/24

Scheduling 11/24 Dropping Polynomial Time Claim The allocation rule that computes a makespan-minimizing schedule, breaking ties via some fixed global order on schedules, is monotone. Computable in time O(m n ) (brute force: try all schedules) The Myerson payment rule can also be computed using brute force in time O(m) O(n).

Proof of Monotonicity Scheduling 12/24 Fix reports t i of machines other than i For every fixed schedule σ with workloads (w 1,..., w n ), makespan of σ as a function of t i is makespan σ (t i ) = max w j t j = max(c σ (t i ), w i t i ) j for C σ (t i ) = max j i w j t j

Proof of Monotonicity Scheduling 12/24 Fix reports t i of machines other than i For every fixed schedule σ with workloads (w 1,..., w n ), makespan of σ as a function of t i is makespan σ (t i ) = max w j t j = max(c σ (t i ), w i t i ) j for C σ (t i ) = max j i w j t j Assume σ with workloads (w 1,..., w n ) is output when machine i bids t i. Consider machine i slowing down from t i to t i = t i + ɛ, and algorithm outputting σ with loads (w 1,..., w n), two cases

Proof of Monotonicity Scheduling 12/24 Fix reports t i of machines other than i For every fixed schedule σ with workloads (w 1,..., w n ), makespan of σ as a function of t i is makespan σ (t i ) = max w j t j = max(c σ (t i ), w i t i ) j for C σ (t i ) = max j i w j t j Assume σ with workloads (w 1,..., w n ) is output when machine i bids t i. Consider machine i slowing down from t i to t i = t i + ɛ, and algorithm outputting σ with loads (w 1,..., w n), two cases 1 Machine i is not the bottleneck in σ (i.e. C σ (t i ) > w i t i ): makespan of σ doesn t change, and makespan of every other schedule gets no better, so by consistent tie-breaking σ = σ

Proof of Monotonicity Scheduling 12/24 Fix reports t i of machines other than i For every fixed schedule σ with workloads (w 1,..., w n ), makespan of σ as a function of t i is makespan σ (t i ) = max w j t j = max(c σ (t i ), w i t i ) j for C σ (t i ) = max j i w j t j Assume σ with workloads (w 1,..., w n ) is output when machine i bids t i. Consider machine i slowing down from t i to t i = t i + ɛ, and algorithm outputting σ with loads (w 1,..., w n), two cases 1 Machine i is not the bottleneck in σ (i.e. C σ (t i ) > w i t i ): makespan of σ doesn t change, and makespan of every other schedule gets no better, so by consistent tie-breaking σ = σ 2 Machine i is the bottleneck in σ: w i t i = makspan σ (t i) > makespan σ (t i) w it i

Computing Payments Observe As t i changes, schedule (and hence load on machine i) changes only when two curves makespan σ (t i ) and makespan σ (t i ) cross, and any pair of such curves cross at most once. Scheduling 13/24

Computing Payments Observe As t i changes, schedule (and hence load on machine i) changes only when two curves makespan σ (t i ) and makespan σ (t i ) cross, and any pair of such curves cross at most once. To integrate the curve, simply enumerate the crossing points and vary t i over all of them. Scheduling 13/24

Computational Complexity Facts Fact Scheduling on related machines is strongly NP-hard. (Reduction from 3D Matching) i.e. unless P = NP, there is no optimal algorithm, or even an FPTAS, that runs in time polynomial in the length of the description of the input. Our previous monotone algorithm can not be implemented in polynomial time, unless P = NP. Scheduling 14/24

Scheduling 14/24 Computational Complexity Facts Theorem (Hochbaum and Shmoys) Scheduling on related machines admits a polynomial-time approximation scheme (PTAS). i.e. A (1 + ɛ)-approximation algorithm running in time polynomial in length of the description of the input, though possibly super-polynomial in 1/ɛ. But, as usual, the original PTAS was non-monotone!

Scheduling 15/24 Next Up A randomized, monotone, polynomial-time, 3-approximation algorithm. But first, a note about randomized mechanisms.

A Note about Randomized Mechanisms So far, we have implicitly only spoken of deterministic mechanisms (x, p). In general, since player utility is linear in amount of work, the following analogues of Myerson s lemma hold by immediately the same analysis. Myerson s Lemma (Value Version) A randomized mechanism (x, p) for a single-parameter problem is dominant-strategy truthful if and only if for every player i and fixed reports b i of other players x i (b i ) is a monotone non-decreasing function of b i p i (b i ) is an integral of b i d x i. Where x i (b i ) and p i (b i ) are the expectations of x i (b i ) and p i (b i ) respectively. Scheduling 16/24

Scheduling 16/24 A Note about Randomized Mechanisms So far, we have implicitly only spoken of deterministic mechanisms (x, p). In general, since player utility is linear in amount of work, the following analogues of Myerson s lemma hold by immediately the same analysis. Myerson s Lemma (Cost Version) A mechanism (x, p) for a single-parameter problem with costs is dominant-strategy truthful if and only if for every player i and fixed reports t i of other players, The expected workload x i (t i ) of machine i is a non-increasing function of t i. p i (t i ) is an integral of t i d x i.

Fractional Schedules Scheduling 17/24 A fractional schedule is one that assigns jobs to machines fractionally. We will discuss later how to interpret a fractional schedule as a real schedule via randomized rounding.

Fractional Schedules A fractional schedule is one that assigns jobs to machines fractionally. We will discuss later how to interpret a fractional schedule as a real schedule via randomized rounding. Valid fractional schedule Given reports t 1,..., t n (times per unit job), we say a fractional schedule σ is T -valid if the makespan of σ is at most T, and moreover whenever part of job j is assigned to machine i, we have p j t j T. In other words, machine i has time to process job j in its entirety within the makespan time. Scheduling 17/24

Scheduling 18/24 Greedy Fractional Scheduling Fix job sizes and machine reports. Given a target makespan of T, the following is the obvious way to construct a fractional schedule satisfying the target Algorithm Greedy-Fractional(T ) 1 Sort jobs in decreasing order of size, and sort machines in increasing order of time per unit job 2 Think of machine i as a bin of capacity c i = T/t i. Bins are sorted in decreasing order of size. 3 Greedily place jobs, in order, in bins, also in order. Fractionally cut jobs when a bin overflows and continue.

Greedy Fractional Scheduling Algorithm Greedy-Fractional(T ) 1 Sort jobs in decreasing order of size, and sort machines in increasing order of time per unit job 2 Think of machine i as a bin of capacity c i = T/t i. Bins are sorted in decreasing order of size. 3 Greedily place jobs, in order, in bins, also in order. Fractionally cut jobs when a bin overflows and continue. Claim If there is a T -valid fractional schedule, then Greedy-Fractional(T ) finds one. Scheduling 18/24

Greedy Fractional Scheduling Proof Assume it doesn t find one. If total capacity of bins is insufficient, then there is no fractional schedule of makespan T. Otherwise, a job j is partially assigned to a machine i on which it does not fit whole i.e. c i < p j. By greedy nature of algorithm, total size of jobs p j or larger exceeds total capacity of bins p j or larger. Therefore, no T -valid fractional schedule exists. Scheduling 18/24

A Monotone, Polynomial-time 2-Approximation Algorithm Algorithm 1 Input: job sizes p 1,..., p m, costs per unit load t 1,..., t n 2 Calculate T : the minimum time T such that a T -valid fractional schedule exists. (Will see how later) 3 Compute σ frac = Greedy-fractional(T ). 4 Randomized Rounding: Assign each job j to machines randomly, with probability proportional to the fractions of the job on each machine in σ frac. Let σ be the resulting (integral) schedule. 5 Output σ Scheduling 19/24

Proof of Approximation Scheduling 20/24 Claim T OP T The optimal integral schedule is OPT-valid.

Proof of Approximation Scheduling 20/24 Claim T OP T The optimal integral schedule is OPT-valid. Claim There are at most two jobs partially to each machine. In particular, the first job and the last job assigned to the machine.

Proof of Approximation Claim T OP T The optimal integral schedule is OPT-valid. Claim There are at most two jobs partially to each machine. In particular, the first job and the last job assigned to the machine. Therefore, Fix any machine. Since each partial job fits on the machine whole (i.e. in time T ), then even if both partial jobs end up on the machine whole, the total time spent processing is at most 3T 3OP T. Scheduling 20/24

Proof of Monotonicity Observe The expected load on each machine is the fractional load in the chosen fractional schedule. For all but possibly the slowest machine, this is c i = T /t i. Scheduling 21/24

Proof of Monotonicity Observe The expected load on each machine is the fractional load in the chosen fractional schedule. For all but possibly the slowest machine, this is c i = T /t i. We are now ready to prove monotonicity of load. We will do it for non-slowest machines (slowest is an easy exercise). Fix t i. Let T be the fractional makespan on report t i, and T be fractional makespan on report t i = (1 + ɛ)t i. Expected load before slowing down was T /t i Observe T T because a machine slowed down. T (1 + ɛ)t : Slowing down one machine by a factor of (1 + ɛ) increases makespan of any schedule by at most (1 + ɛ) factor. New load on machine i after slowing down is at most T /t i (1 + ɛ)t /(1 + ɛ)t i = T /t i Scheduling 21/24

Loose End: Computing T Scheduling 22/24 We still need to show that we can calculate T, the minimum time such that a T -valid fractional schedule exists. Lemma Let jobs be sorted such that p 1... p n, and machines sorted such that t 1... t m. T = Exercise: Prove this! max n j=1 m min i=1 max { p j t i, j k=1 p } k i l=1 1 t i

Computing Payments Scheduling 23/24 Part of next homework...

Scheduling 24/24 Further Results for Related Scheduling Theorem (Dhangwatnotai, Dobzinski, Dughmi, Roughgarden 08) There exists a monotone PTAS for the related scheduling. The associated Myerson payments can be computed in polynomial-time, yielding a dominant-strategy truthful PTAS.

Scheduling 24/24 Further Results for Related Scheduling Theorem (Dhangwatnotai, Dobzinski, Dughmi, Roughgarden 08) There exists a monotone PTAS for the related scheduling. The associated Myerson payments can be computed in polynomial-time, yielding a dominant-strategy truthful PTAS. HW: Improve 3 to 2.