Truthful job scheduling
Truthful job scheduling is a mechanism design variant of the Job shop scheduling problem from operations research.
We have a project composed of several "jobs" (tasks). There are several workers. Each worker can do any job, but for each worker it takes a different amount of time to finis each job. Our goal is to allocate jobs to workers such that the total makespan of the project is minimized. In the standard Job shop scheduling problem, the timings of all workers are known, so we have a standard optimization problem. In contrast, in the truthful job scheduling problem, the timings of the workers are not known. We ask each worker how much time he needs to do each job, but, the workers might lie to us. Therefore, we have to give the workers an incentive to tell us their true timings by paying them a certain amount of money. The challenge is to design a payment mechanism which is incentive compatible.
The truthful job scheduling problem was introduced by Nisan and Ronen in their 1999 paper on Algorithmic mechanism design.[1]
Definitions
There are jobs and workers ("m" stands for "machine", since the problem comes from scheduling job streams to computers). Worker can do job in time . If worker is assigned a set of jobs , then he can execute them in time:
Given an allocation of jobs to workers, The makespan of a project is:
An optimal allocation is an allocation of jobs to workers in which the makespan is minimized. The minimum makespan is denoted by .
A mechanism is a function that takes as input the matrix (the time each worker needs to do each job) and returns as output:
- An allocation of jobs to workers, ;
- A payment to each worker, .
The utility of worker , under such mechanism, is:
I.e, the agent gains the payment, but loses the time that it spends in executing the tasks. Note that payment and time are measured in the same units (e.g, we can assume that the payments are in dollars and that each time-unit costs the worker one dollar).
A mechanism is called truthful (or incentive compatible) if every worker can attain a maximum utility by reporting his true timing vector (i.e, no worker has an incentive to lie about his timings).
The approximation factor of a mechanism is the largest ratio between and (smaller is better; an approximation factor of 1 means that the mechanism is optimal).
The VCG solution
The first solution that comes to mind is VCG mechanism, which is a generic truthful mechanism. A VCG mechanism can be used to minimize the sum of costs. Here, we can use VCG to find an allocation which minimizes the "make-total", defined as:
Here, minimizing the sum can be done by simply allocating each job to the worker who needs the shortest time for that job. To keep the mechanism truthful, each worker that accepts a job is paid the second-shortest time for that job (like in a Vickrey auction).
Let OPT be an allocation which minimizes the makespan. Then:
(where the last inequality follows from the pigeonhole principle). Hence, the approximation factor of the VCG solution is at most - the number of workers.
The following example shows that the approximation factor of the VCG solution can indeed be exactly . Suppose there are jobs and the timings of the workers are as follows:
- Worker 1 can do every job in time 1.
- The other workers can do every job in time , where is a small constant.
Then, the VCG mechanism allocates all tasks to worker 1. Both the "make-total" and the makespan are . But, when each job is assigned to a different worker, the makespan is .
This seems like a poor approximation factor, and many researchers have tried to improve it over the following years.
References
- ^ Nisan, Noam; Ronen, Amir (2001). "Algorithmic Mechanism Design". Games and Economic Behavior. 35: 166. doi:10.1006/game.1999.0790.