Non-Clairvoyant Scheduling with Predictions Revisited

Alexander Lindermayr, Nicole Megow

TL;DR

This paper introduces a novel "permutation prediction" model for non-clairvoyant scheduling, which predicts job order rather than exact processing times. This new approach, combined with a generalized learning-augmented framework, yields the first strong performance guarantees for scheduling with predictions on complex machine settings like unrelated machines and weighted jobs with release dates.

What Problem Does This Paper Address?

In the realm of computer systems, scheduling jobs efficiently is crucial. "Non-clairvoyant scheduling" deals with a challenging scenario where the exact processing time of a job is unknown beforehand. The goal is to minimize the total weighted completion time of all jobs. This problem has been extensively studied, but a recent trend is to augment online algorithms with "predictions" about the input. However, existing methods often predict exact processing times, which can be brittle. This paper tackles the limitations of existing prediction models by proposing a new "permutation prediction" model that predicts the relative order of jobs, which is more akin to predicting algorithmic actions. This new model is then integrated into a generalized framework for learning-augmented scheduling, extending previous work to more complex scenarios like unrelated machines and weighted jobs.

Methods

The core of this paper lies in two main contributions:

  1. Permutation Prediction Model: Instead of predicting precise job lengths, the authors propose a model that predicts a permutation (an ordered list) of jobs. This is inspired by the fact that for many scheduling objectives, the relative order of jobs (e.g., by their weight-to-processing-time ratio) is more critical than the exact processing times. They also introduce a new error measure that quantifies the impact of prediction errors on the objective function, which is shown to have desirable properties like monotonicity and Lipschitzness.
  2. Generalized Preferential Time Sharing Framework: The authors extend the "Preferential Time Sharing" (PTS) framework, originally proposed for simpler scheduling problems. This framework combines a "prediction-clairvoyant" algorithm (which uses predictions) with a robust non-clairvoyant algorithm. By carefully selecting these components and leveraging their new prediction model and error measure, they derive strong performance guarantees for various complex scheduling settings, including:
  3. Single machine with weighted jobs.
  4. Identical parallel machines with release dates and weighted jobs.
  5. Unrelated machines with release dates and weighted jobs.

Datasets

The paper does not introduce new datasets. Instead, it focuses on generating synthetic instances for experimental evaluation. These instances are created with:

  • Pareto distribution: For job processing requirements (shape 1.1, scale 1), weights (shape 2, scale 1), and release dates. This distribution is chosen because it's commonly used to model real-world scenarios with many small jobs and few large jobs.
  • Exponential and Weibull distributions: Also used for processing requirements in some experiments.

The experiments involve generating predictions by adding Gaussian noise to the true processing requirements, with varying noise levels and parameters to test sensitivity and online learning scenarios.

Key Insights and Ideas

  • Order Matters More Than Exactness: The key insight is that for many scheduling problems, predicting the relative order of jobs is more robust and informative than predicting their exact processing times. This "permutation prediction" is more aligned with how scheduling algorithms actually operate.
  • New Error Measure is Crucial: The proposed error measure is designed to capture the impact of prediction errors on the scheduling objective, rather than just the numerical difference in predicted vs. actual values. This leads to more meaningful performance guarantees.
  • Generalization is Powerful: The generalized Preferential Time Sharing framework allows for the first time to derive strong, error-dependent performance guarantees for complex scheduling scenarios like unrelated machines, which were previously challenging to address with predictions.
  • Learnability is Practical: The paper demonstrates that these permutation predictions are not only theoretically learnable but also practically learnable, with implemented algorithms showing significant performance improvements even with limited training data.

Key Results

The paper presents several theoretical and empirical results:

  • Theoretical Guarantees: They derive competitive ratios for learning-augmented algorithms on various scheduling problems, with bounds that smoothly degrade with prediction quality. For instance, for unrelated machines, they achieve a competitive ratio of approximately 5.8284 plus a term dependent on the prediction error.
  • First Results for Complex Settings: This work provides the first learning-augmented scheduling results for weighted jobs and unrelated machines.
  • Empirical Validation: Experiments on single-machine and parallel-machine settings show that their proposed algorithms (PTS) perform well, often outperforming existing methods, especially in scenarios with moderate prediction noise. They demonstrate that even a single sample can significantly improve performance in their setup.

Limitations and Future Work

  • Computational Complexity: While the permutation prediction model is theoretically PAC-learnable, achieving this with polynomial running time for the more complex settings (especially with unrelated machines and many jobs/machines) remains an open question.
  • Exploiting Slower Rates: The authors suggest exploring whether better guarantees can be achieved by exploiting the fact that processing jobs at a slower rate might make them "earlier" available.
  • Adaptive Algorithms: Investigating more adaptive algorithms that can better respond to prediction inaccuracies is also mentioned as a future direction.
  • Combined Algorithm Communication: Exploring how combined algorithms within the PTS framework can communicate or adapt to each other could lead to improved performance.

Summary updated

BibTeX
@inproceedings{lindermayr2022non,
  author = {Alexander Lindermayr and Nicole Megow},
  title = {{Non-Clairvoyant Scheduling with Predictions Revisited}},
  booktitle = {SPAA},
  year = {2022},
  doi = {10.1145/3490148.3538579},
}
Figure