Abstract
Non-clairvoyant scheduling, where job lengths are unknown until completion, is a fundamental challenge in computer systems. This paper introduces a learning-augmented framework that utilizes machine-learned predictions of job durations to improve performance. We propose algorithms that are both consistent (near-optimal when predictions are accurate) and robust (guaranteed to perform well even if predictions are completely wrong). By combining prediction-based strategies with classic Round Robin, we bridge the gap between theoretical online algorithms and real-world ML-driven systems.
Introduction
In classic scheduling theory, we often face a "non-clairvoyant" setting: a machine has a list of jobs to do, but it doesn't know how long each job will take until the job actually completes. Standard strategies like Round Robin are "safe" but often inefficient compared to an "offline" optimal strategy that knows everything in advance.
With the rise of machine learning, we can now predict job durations. However, ML models are "untrusted"—they can be highly accurate or wildly incorrect. The challenge is: how do we design an algorithm that reaps the benefits of good predictions without suffering catastrophic delays when the predictor fails? This paper focuses on minimizing the sum of completion times for two scenarios: single machines with arbitrary release dates and multiple identical machines where all jobs are available at the start.
Methodology
The authors employ a "Learning-Augmented" framework involving two main steps:
- Designing a Consistent Algorithm: They propose SRPPT (Shortest Remaining Predicted Processing Time) for single machines and SPPT(m) for multiple machines. These algorithms prioritize jobs based on their predicted remaining time.
- Creating a Preferential Hybrid: To ensure robustness, they combine their prediction-based algorithms with the classic, prediction-blind Round Robin (RR) algorithm. By using a "Preferential Algorithm" framework, they can run both strategies simultaneously (conceptually) and switch between them. This creates a hybrid that stays close to the optimal if predictions are good, but never performs significantly worse than standard Round Robin if predictions are bad.
A key theoretical contribution is the proof of performance bounds using a novel two-step transformation technique. This allows the authors to bound the "cost of ignorance" precisely by iteratively refining schedules to account for over- and under-estimated job lengths.
Experimental Evaluation
The paper evaluates the algorithms using artificially generated instances:
- Job Lengths: Drawn from a Pareto distribution ($\alpha = 1.1$), common for modeling computer job durations (many short jobs, few very long ones).
- Prediction Errors: Generated using a normal distribution with mean 0 and varying standard deviation to simulate different levels of "trustworthiness."
- Release Times: Drawn uniformly from an interval scaled by a parameter $\tau$, testing how arrival density impacts performance.
Key Results and Insights
The theoretical analysis shows that for the single machine case, the SRPPT algorithm achieves a competitive ratio of $1 + 2\eta/n$, where $\eta$ is the total prediction error and $n$ is the number of jobs. Experimental results confirm that the hybrid approach provides a "best of both worlds" outcome.
As shown in the figure, when the prediction error is low, the hybrid Preferential Round Robin (PRR) tracks the optimal schedule closely (consistency). When the error becomes massive, PRR's performance plateaus, remaining competitive with standard Round Robin rather than following the bad predictions into extreme inefficiency (robustness).
Additionally, the authors found that the algorithms are most challenged when all jobs arrive at the same time ($\tau = 0$). As jobs become more sparsely distributed over time, the performance gap between the algorithms shrinks because the machine has fewer choices to make at any given moment.
Conclusion and Future Work
This research demonstrates that untrusted predictions can be safely integrated into scheduling systems to achieve significant performance gains. However, the model currently assumes that preemption and migration are instantaneous and free, which may not hold in real data centers. Future work includes extending the multi-machine analysis to arbitrary release dates and exploring more efficient ways to merge predicted and robust strategies to further tighten the consistency-robustness trade-off.
Summary updated