Abstract
The Gittins index policy has long been considered the optimal solution for minimizing mean completion time in stochastic scheduling. However, its optimality is predicated on the assumption that job size distributions are known with perfect precision. This paper demonstrates that the Gittins policy is surprisingly brittle: even minor discrepancies between predicted and true distributions can lead to catastrophic performance degradation. To address this, we introduce the Robust Gittins (RG) algorithm and a novel $α$-close distance measure, providing the first provable performance guarantees for scheduling under distributional uncertainty.
Introduction
In stochastic scheduling, the goal is to sequence a set of jobs on a single machine to minimize the average time to completion. When the probability distribution of each job's size is known, the Gittins index policy provides the optimal solution. It operates by calculating a "rank" for each job based on its probability of finishing per unit of work invested and prioritizing the job with the highest rank.
In practice, however, these distributions are rarely known exactly. They are typically estimated from historical data, leading to "best guess" distributions. This paper identifies a critical failure mode: the Gittins policy is not robust. Small errors in the tail of a distribution can lead to a mean completion time that is infinitely worse than the true optimum. We propose a framework to quantify this error and an algorithm to mitigate its effects.
The Brittleness of Conditional Probability
The failure of the Gittins policy stems from its heavy reliance on conditional expectations. For example, the policy asks: "Given a job has already run for $t$ minutes, what is the probability it finishes in the next $δ$ minutes?"
The authors prove that tiny errors in the tail of a predicted distribution can cause these conditional probabilities to swing wildly. This can trick the scheduler into stopping a job just moments before it would have completed, simply because the prediction suggested a lower probability of immediate completion. The paper establishes that for any error $α > 1$, there exist cases where the standard Gittins policy results in a mean completion time that is $Ω(n)$ times worse than the optimal, where $n$ is the number of jobs.
Methodology: $α$-Closeness and Robust Gittins
To solve this, the authors introduce a new distance metric called $α$-closeness. Two distributions are considered $α$-close if the ratio of their upper tails is bounded by $α$:
$$\frac{1}{α} \leq \frac{P(X > t)}{P(\hat{X} > t)} \leq α$$
This multiplicative error measure is more natural for scheduling than standard additive metrics; a one-second error is negligible for an hour-long job but catastrophic for a sub-second task. Furthermore, the symmetry of this measure allows for a cleaner mathematical comparison of policy performance across different distributions.
The Robust Gittins (RG) Algorithm
The proposed RG algorithm modifies the standard Gittins Index Priority Policy (GIPP) with a simple but powerful heuristic:
- Calculate Quanta: Determine the optimal Gittins time slices (quanta) based on the predicted distribution.
- Extend Execution: Instead of running a job for the predicted quantum length $q$, the scheduler runs it for an extended length $α \cdot q$.
This "extra time" acts as a buffer, preventing the scheduler from prematurely de-prioritizing a job that is near completion but was slightly mispredicted.
Theoretical Results
As a theoretical contribution to computer science, this work utilizes mathematical proofs and worst-case analysis rather than empirical datasets. The authors prove several key properties of the RG algorithm:
- Performance Guarantee: The RG algorithm is an $α^6$-approximation. If predictions are nearly perfect ($α = 1 + ε$), the performance is within a factor of approximately $(1 + 6ε)$ of the true optimum.
- Finite Support: Under the $α$-close assumption, the RG policy is guaranteed to finish all jobs, even if the true distributions have larger support than the predicted ones.
Conclusion and Future Work
This research bridges the gap between theoretical stochastic optimization and practical scheduling. By acknowledging the inherent uncertainty in job size distributions, the authors provide a framework for building more resilient systems.
Several open questions remain. The current RG algorithm requires the error bound $α$ to be known a priori; developing a "distortion-oblivious" algorithm is a primary goal for future research. Additionally, while this study focuses on the "no-arrival" setting where all jobs are available at time zero, extending these robust guarantees to the M/G/1 queue (where jobs arrive over time) and broader fields like Multi-armed Bandits remains a significant challenge.
Summary updated