arXiv:2610.01343cs.LGOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.01343

Robust Non-Clairvoyant Scheduling with Classification Models

Anthony Dugois, Vincent Fagnon, Giorgio Lucarelli

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We study the classical single-machine scheduling problem of minimizing the sum of completion times of jobs in a non-clairvoyant setting, where the processing time of each job remains unknown until its completion. This is a hard problem for which no constant competitive algorithm is possible. Inspired by robust optimization and learning-augmented algorithms, we introduce a novel robustness framework that leverages structural information provided by a classification model to overcome this limitation. Specifically, we assume that jobs are partitioned into classes and we have access to the confusion matrix of the classifier, whose entry (k,ℓ)(k, \ell) indicates the number of jobs predicted to belong to class k but that actually belong to class ℓ\ell. In this manner, we are able to characterize uncertainty as a set of permutations within each predicted class, rather than as a collection of discrete numerical scenarios, avoiding the computational difficulty of classical robust metrics, such as Min-Max and Min-Max Regret. In addition to these worst-case metrics, we also consider the expected objective over all scenarios. We first propose an optimal non-adaptive strategy that is oblivious with respect to all three robust criteria. We then investigate adaptive and randomized algorithms, showing that they can outperform the optimal non-adaptive strategy when the matrix exhibits particular structural properties.

Keywords: Scheduling, Robustness, Non-Clairvoyant, Classification, Confusion Matrix

1 Introduction

Scheduling problems, where one seeks to schedule a set of jobs on a set of resources in order to optimize a given objective function, are known to be particularly sensitive to uncertainty. The various applications of scheduling are often subject to different sources of variability, making the perfect knowledge of input parameters extremely challenging. Typically, it is common that the exact processing time of a task cannot be known with full precision before its completion. As a consequence, algorithms leveraging this information are more difficult to use in practice. Several approaches have been proposed to deal with this uncertainty, among which online/non-clairvoyant optimization [1, 2, 3], stochastic optimization [4, 5, 6, 7, 8], robust optimization [9, 10, 11], or learning-augmented algorithms [12, 13, 14, 15, 16].

In the latter approach, one has access to an oracle that predicts the values of the unknown parameters. These predictions are subject to errors, typically summarized by a single scalar η\eta, which represents the “overall quality” of the oracle on a given instance. The goal is then to design an algorithm with a formal guarantee (e.g., a competitive ratio) that depends on η\eta. The oracle is often seen as a black box, in the sense that no assumptions are made about its behavior. However, in many practical applications, predictions may exhibit specific patterns that could be exploited by optimization algorithms. For example, an expert may specialize in recognizing a particular class of items, providing near-perfect predictions for the corresponding parameters while producing less accurate predictions for other types of items. Similarly, an oracle may be guaranteed never to overestimate (or underestimate) parameters values. Unfortunately, the single-scalar error representation used in the classical learning-augmented framework is generally too coarse to capture such structured prediction patterns in optimization problems.

In this paper, we introduce a novel robustness analysis framework based on classification models, which assign objects to discrete categories. If we note X⊆RnX \subseteq \mathbb{R}^n the features describing the objects to classify and Y={c1,c2,…,cK}Y = \{c_1, c_2, \ldots, c_K\} a finite set of KK class labels (representing the possible categories for our objects), a classifier is a function C:X→Y\mathcal{C} : X \to Y mapping each vector x∈Xx \in X to a class label y∈Yy \in Y. Such classifiers may be obtained through (un)supervised machine learning methods (e.g., Support Vector Machines, Decision Trees, Neural Networks, k-Nearest Neighbors, etc.), probabilistic data structures (e.g., Bloom Filters, Count-Min Sketch, etc.), or represent a human expert predicting the category of an object from simple observation. What makes classifiers interesting in our context is that they are typically evaluated through their confusion matrix, which is obtained by running the model on the testing set. For a classifier C\mathcal{C} on KK classes, a confusion matrix is a K×KK \times K matrix ECE_C where each entry eije_{ij} indicates the number of items of class cjc_j that C\mathcal{C} predicted as cic_i. In other words, the rows of ECE_C correspond to the predicted classes, while the columns correspond to the true classes of the items 1^1. Fig. 1 illustrates the confusion matrix of a binary classifier.

Interestingly, it is possible to infer the performance of a classifier on unlabeled data [17, 18], and in particular to estimate its confusion matrix. We therefore propose to leverage such confusion matrices in scheduling problems. Suppose we are given a set of jobs partitioned into K classes, where all jobs within the same class have identical processing times. The objective is to schedule these jobs non-preemptively on a single machine so as to minimize the sum of completion times. In the clairvoyant setting, it is well-known that the Shortest Processing Time (SPT) policy is optimal [19]. In the non-clairvoyant setting, the class of each job is unknown, and since preemption is not allowed, the best strategy is simply to execute the jobs in an arbitrary order [20]. The worst case outcome is then a Longest Processing Time (LPT) schedule.

Now suppose we have access to a classifier C that predicts the class of each job, and that its

1^{1}Depending on the definition, the predictions may appear in the columns instead of the rows of the confusion matrix; everything is equivalent by taking the transpose of ECE_{C}.

Figure

Figure 1: Confusion matrix of a binary classifier (2 classes). The entry on row i and column j indicates the number of items of class cjc_j predicted as cic_i. The entries highlighted in red (first column) represent the 6 items actually in class c1c_1 (among which 2 are correctly classified and 4 are misclassified in c2c_2). Those highlighted in blue (second row) represent the 9 items classified as c2c_2 (among which 4 are actually in c1c_1).

confusion matrix on the problem instance is known in advance. For example, consider the two-class setting illustrated in Fig. 1. Although we do not know whether any particular job is small or large, among the jobs that C predicts to be large (the blue entries in Fig. 1), we do know how many are actually small and how many are actually large. This additional information makes it possible to decide whether the classifier should be trusted, while always avoiding the worst-case LPT schedule. This naturally raises the question of whether the information captured by the confusion matrix can be exploited to guarantee the robustness of scheduling algorithms. The remainder of this paper is devoted to answering this question by developing a framework that explicitly leverages confusion matrices.

References (33)