Manuscript Offprint
arXiv:2610.32503Pareto-optimal Scheduling with Predictions
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
We study preemptive single-machine scheduling with predictions, where a prediction of the order of the jobs (or of their sizes) is available, and the objective is to minimize the total completion time. An algorithm is c-consistent if it is c-competitive when the prediction is correct, and R-robust if it is R-competitive whatever the prediction. Since the introduction of this problem as one of the first examples of learning-augmented algorithms, the best possible trade-off between consistency and robustness has remained open. We determine it exactly for deterministic algorithms. For every , we give an R-robust algorithm whose consistency is
and we prove that no deterministic -robust algorithm, with either predicted order or predicted job sizes, has better consistency. In particular, consistency is achievable with robustness , whereas all previous algorithms required robustness . Our algorithm is greedy: it follows the predicted order as fast as possible, subject to the invariant that the cost paid so far is at most times the optimum of the instance in which every unfinished job would end immediately. The matching lower bound rests on the observation that every robust deterministic algorithm must satisfy the same invariant along its run on correct predictions.
1 Introduction
Non-clairvoyant scheduling is a fundamental problem in online optimization and competitive analysis [BE98], with applications ranging from operating systems to cloud computing and data centers. In the single-machine setting, n jobs with unknown processing times are given, and the goal is to schedule them preemptively to minimize the sum of their completion times . Jobs can be interrupted and resumed later, and the machine can be shared among several jobs. If the processing times are known, the optimal solution is to run the jobs in increasing order of their sizes. This rule is known as Shortest Processing Time first (SPT), or Smith's rule [Smi56]. In the non-clairvoyant setting, however, the scheduler only learns the processing time of a job when it completes. The objective is then to have an algorithm that minimizes the competitive ratio [BE98], which is the worst-case ratio between the cost of the online algorithm and that of SPT. The optimal algorithm in this setting is Round-Robin (RR), which allocates the same amount of computing power to all unfinished jobs, and it is 2-competitive [MPT94].
The factor 2 is a worst-case guarantee, and it is overly pessimistic in many practical scenarios where some information about the jobs is available. For example, job sizes can be estimated by machine learning models trained on past executions. This setting is captured by the framework
This work was conducted outside of Amazon.
of learning-augmented algorithms (aka algorithms with predictions) [LV21, PSK18, MV22], where the algorithm receives a prediction without any guarantee on its accuracy. An algorithm is c-consistent if it is c-competitive when the prediction is perfect, and R-robust if it is R-competitive for arbitrarily bad predictions. Blindly following the prediction yields a consistency of 1 but an arbitrarily bad robustness, whereas ignoring it yields a robustness of 2 without any improvement when the prediction is accurate. The goal is therefore to understand the trade-off between these two criteria. More precisely, for any consistency c, what is the best robustness achievable by a non-clairvoyant algorithm? This defines the Pareto frontier of the problem.
Non-clairvoyant scheduling is one of the first problems studied in the learning-augmented framework. Purohit, Svitkina, and Kumar [PSK18] considered predictions of the job sizes, and showed that running Round-Robin and the schedule suggested by the predictions in parallel, at suitable rates, yields a c-consistent and -robust algorithm [PSK18, Theorem 3.4]. Lindermayr and Megow [LM22] later introduced a weaker prediction model, where the algorithm only receives a predicted order of the jobs. Wei and Zhang [WZ20] established a lower bound on the trade-off, showing that any c-consistent algorithm has robustness at least . They also characterized the exact trade-off for two jobs. The best known algorithm [BCLS25] achieves a robustness of . Therefore, for a consistency of , the known lower bound on robustness is , and the best known algorithm is -robust. The exact Pareto frontier for more than two jobs remained open.
We introduce a new algorithm Maximal Robust Commitment (MRC , Algorithm 1), which only uses the predicted order. At any time t, it greedily keeps the cost paid so far within a factor R of what the optimum would be if every unfinished job ended exactly at time t, which immediately gives robustness R. Subject to this invariant, it commits as much as possible to the job that the prediction says to run next: it runs this job alone whenever this preserves the invariant, and otherwise runs it together with Round-Robin on the other jobs, with processing rates that keep the invariant tight.
Our main result is a characterization of the consistency and robustness of , followed by a matching lower bound for any deterministic algorithm using either predicted order or predicted sizes.
Theorem 1.1 (Upper bound). For every , is -robust and -consistent, where
Theorem 1.2 (Lower bound). For every , every deterministic -robust algorithm has consistency at least , even if it receives the predicted sizes instead of the predicted order.
Theorem 1.1 is proved in Appendices B to D (Theorems C.1 and D.6) and Theorem 1.2 in Appendix E (Theorem E.2). Together, they show that is exactly the best consistency of a deterministic R-robust algorithm, and that this optimum is attained greedily. Since the lower bound holds even with exact predicted sizes and the upper bound uses only their order, predicted sizes are worth exactly as much as a predicted order for this trade-off. The lower bound rests on the fact that every deterministic R-robust algorithm must satisfy the robustness invariant of at every moment of its run on correct predictions (Theorem E.1), and is the algorithm that saturates this constraint. This extends the adversary argument of Wei and Zhang [WZ20]

Figure 1: Deterministic consistency–robustness trade-offs for non-clairvoyant scheduling. Upper bounds (algorithms): time sharing between the predicted schedule and Round-Robin [PSK18], robustness ; the delayed-predictions algorithm [BCLS25], robustness ; and MRC , which attains the optimal trade-off (Theorems 1.1 and 1.2). The previous lower bound combines [MPT94] and [WZ20].
from the first completion to every moment of the run. Fig. 1 compares the obtained consistency–robustness trade-off with previous results. Writing for the smallest robustness compatible with consistency , its behavior near consistency 1 is (Theorem F.1)
a quadratic improvement over the robustness of previous algorithms. In simulations (Section 5), is close to following the predictions when they are accurate, and far better than previous algorithms with the same robustness.
Organization. Section 2 introduces the model and the two quantities that drive the analysis. Section 3 presents and its robustness. Section 4 gives an overview of the proofs of consistency and of the lower bound. Section 5 reports experiments, and Section 6 discusses the frontier and open problems. All proofs are in the appendix.
1.2 Key ideas and technical challenges
The robustness invariant. A robust algorithm must hedge against predictions that are wrong, that is, process jobs before their turn in the predicted order. How much hedging is necessary? Time sharing [PSK18] hedges at a fixed rate, independently of the state of the schedule, which is wasteful. Our starting point is the robustness invariant: the cost paid so far stays within a factor R of the optimum of the instance in which every unfinished job ends now. It is necessary for R-robustness, because at any time t an adversary can declare that every unfinished job ends right after t, and a deterministic algorithm cannot distinguish this instance from the current one before time t. This adversary is the one used by Wei and Zhang [WZ20] at the first completion. The invariant is also sufficient, and it quantifies how much hedging is needed at every moment.
Algorithm analysis. The robustness of follows directly from its definition. Consistency is harder to analyze. The run of is explicit, but on a general instance it depends on all job sizes in an intricate way: whether the algorithm commits or hedges at a given moment depends on the sizes of all completed jobs. We decompose the cost into contributions of layers of elapsed time. On a correct order, a layer costs more when more jobs are still unfinished as the schedule passes it. We compare the run with a target, which prescribes, for every layer, the fraction of jobs that may still be unfinished at that point, and which is admissible if a schedule following it would satisfy the invariant. A first-violation argument shows that is never behind any admissible target. The consistency analysis then reduces to finding the best admissible target, a one-dimensional problem that is the same for all instances, and whose solution yields the consistency bound .
A matching lower bound. Our lower bound extends the argument of Wei and Zhang [WZ20]. On equal jobs, the robustness invariant yields one constraint at each of the completion times. Wei and Zhang use the first of them, which gives the right order but not the exact frontier, since an algorithm can spread its hedging between completions. We use all constraints. Bounding the concave optimum of the instance in which all unfinished jobs end immediately by a linear function, each constraint shows that the hedging forced at a completion grows with the hedging already done. This gives a simple recursion, which is a discrete version of the differential equation that determines the optimal target. Solving it gives a bound on the excess cost which, divided by OPT, converges to .
1.3 Related work
Learning-augmented algorithms. Since the work of Lykouris and Vassilvitskii [LV21] on caching and of Purohit, Svitkina, and Kumar [PSK18] on ski rental and scheduling, the framework of algorithms with predictions has been applied to a wide range of online problems, including caching [LV21, Wei20], metrical task systems [ACE 23], online primal-dual algorithms [BMS20], speed scaling [BMRS20, AJS22], online search [Ang23, BP25], knapsack [IKMP21b], online allocation problems [MSVV07, BJN07], and matching [JM22]; see [MV22] for a survey. Other lines of work within this literature study multiple predictors [DIL 22] and learnable predictors [EKMM24].
Scheduling with predictions. After [PSK18], non-clairvoyant scheduling with predictions has been studied with predicted sizes and refined error measures [IKMP21a], with predicted orders [LM22], with untrusted predictions in further scheduling models [BDK 22], with predictions available for only some of the jobs [BP24], with progress bars that reveal partial information during processing [BCLS25], and with stochastic signals [CLLS26]. Related models include flow time with uncertain processing times [ALT21, ALT22], jobs with online precedence constraints [LLMS23], queueing with predicted service times [Mit20], and online makespan scheduling with learned weights [LLMV20]. All previously known algorithms for our problem achieve robustness for consistency , and the algorithm of [BCLS25] is the best known.
Optimal consistency–robustness trade-offs. Exact Pareto frontiers are known for only a few problems, among them ski rental [WZ20, ADJ 20], online conversion and one-way trading [SLH 21], online search [LSHL24], two-stage matching [JM22] and metrical task systems [CSW23]; near-optimal trade-offs are known for online knapsack [DKL 25]. Wei and Zhang [WZ20] studied non-clairvoyant scheduling and solved the case of two jobs. We solve the general case of any number of jobs.
Threat-based algorithms. belongs to the family of threat-based online algorithms, introduced by El-Yaniv, Fiat, Karp, and Turpin [EFKT01] for one-way trading. Such algorithms act greedily while maintaining a guarantee against the most pessimistic continuation of the input. The approach was extended to k-search [LPS09], and has been used for Pareto-optimal conversion with predictions [SLH 21], convex function chasing with long-term constraints [LCS 24], online allocation with deadlines [LCS 25], and robustification of learned online policies [LYR23, LYWR23, RCMW23].
2 Preliminaries
Model. There are jobs with sizes , all available at time 0. At every time , the algorithm chooses rates with . The elapsed time of job at time is the processing it has received so far,
and job j completes at the time when reaches
The algorithm learns only at time . The prediction is either an order of the jobs, which is correct if , or a vector of sizes , which is correct if . The consistency cons(A) of an algorithm is the supremum of over all instances with a correct prediction, and its robustness is the supremum over all instances and all predictions. Both suprema range over all numbers of jobs.
The cost paid so far. Let be the number of unfinished jobs at time t. During a short time dt, the sum of completion times increases by , so the cost paid up to time t is
This identity is standard in the analysis of online scheduling, for instance in amortized local competitiveness [IMP11].
Hedging. An algorithm hedges when it processes a job while some job before it in the predicted order is unfinished. When the prediction is correct, hedging is what makes the cost exceed OPT, and conversely it is what guarantees robustness when predictions are adversarial.
The frozen instance. At time t, the algorithm knows the sizes of the completed jobs, and every unfinished job could end immediately. The frozen instance at time t is the instance in which job k has size . Its optimal total completion time [Smi56, MPT94] is given by
We call the terms the diagonal terms of , and the terms its pair terms. Every instance that the algorithm cannot yet distinguish from the true one has the same sizes for the completed jobs and sizes at least for the others. Since is non-decreasing in each coordinate, its optimum is at least . At the end, . The ratio is the competitive ratio that the algorithm would have if all unfinished jobs ended at time .
3 Maximal Robust Commitment
Before formally defining our Maximal Robust Commitment (MRC ) algorithm, we give an overview of the main ideas and invariants it maintains.
The robustness invariant. satisfies at all times the invariant
Since increases at rate whatever the algorithm does, increases at rate . To preserve (2) when it is tight, the algorithm must therefore make grow at rate at least . The intuition behind the algorithm rests on the following observation.
If a deterministic algorithm is R-robust, then along every run, and in particular along its run on correct predictions, at every time (Theorem E.1).
Indeed, stop the run at time , and consider the adversarial instance in which every unfinished job has size for an arbitrarily small , while completed jobs keep their sizes. Up to time the algorithm observes exactly the same completions, so, being deterministic, it behaves in the same way. It has paid , and the adversarial instance has optimum close to . Wei and Zhang [WZ20] use this adversary at the first completion of the run, while we use it here at any time . Therefore, every -robust deterministic algorithm must satisfy the invariant (2), even on correct predictions. , described in Algorithm 1, greedily follows the predictions as much as possible while satisfying the invariant.
Committing and Round-Robin. We call the committed job j the first unfinished job in the predicted order, and the waiting jobs are the other unfinished jobs. In a run of , the waiting jobs always have a common elapsed time , which we call the level, and the committed job has (Theorem B.1). The algorithm combines two moves: committing, i.e. running j alone, and Round-Robin on the waiting jobs. To compute how fast each move makes grow, note that a diagonal term grows at the rate at which its job is processed, and a pair term grows at the rate of the job with the smaller elapsed time, or at the smaller of the two rates if the elapsed times are equal.
- When runs alone at rate 1, its diagonal term grows at rate 1, and so does its pair term with every job with , and no other term changes. Therefore grows at the commit rate
Completed jobs are included in this count, with elapsed time equal to their size: a completed job longer than is delayed by j in the optimal run of the frozen instance.
- When the waiting jobs share the machine equally, their diagonal terms grow at total rate 1, their pair terms with the jobs above the level grow at total rate (+1 accounts for ), and the pair terms among them grow at total rate . So grows at the Round-Robin rate
In this count is treated as above the level, which is exact in every move of the algorithm, since always runs faster than the waiting jobs (Theorem B.1(b)).
Algorithm 1: Maximal Robust Commitment MRC
Input: predicted order , parameter
1 while some job is unfinished do
2 number of unfinished jobs; first unfinished job in ;
3 if then run j until it completes, and stop;
4 the common elapsed time of the waiting jobs; // the level
5 ; ;
6 if or then // committing is safe
7 ;
8 else // commit as much as allows
9 ; // so that
10 run j at rate a and each waiting job at rate until the next event: a job completes; increases to 0 (from a negative value); or or reaches the size of a completed job that it did not equal at the start of the step;
Round-Robin is always a safe move, as for , because every unit of processing spread over the waiting jobs raises all pair terms among them. Committing can be unsafe: if no job has more elapsed time than , then and grows at rate . Committing is what consistency needs, and Round-Robin is what robustness needs.
The algorithm. is fully described in Algorithm 1. We call the slack of the algorithm. In the commit branch, commits, and it does so whenever this preserves the invariant, i.e. if or . Otherwise it is in the mixing branch, where and , and in this case it gives the largest rate that keeps , namely the solution of , and shares the rest of the machine equally among the waiting jobs. All rates are constant between consecutive events, and there are of them (Theorem B.3).
4 Overview of the analysis
By definition of , we have in the commit branch that either , and the step ends as soon as increases to 0, or grows at rate . In the mixing branch, grows at rate exactly , so stays at 0. Hence at all times. At the end , so (Theorem C.1), giving the robustness bound. The rest of this section explains the proofs of the consistency of and of the lower bound.
4.1 The cost of MRC layer by layer
Fix an instance with a correct order, and relabel the jobs so that . On such an instance, we prove that completes the jobs in this order: at every time the completed jobs are the shortest ones, is committed, and the other unfinished jobs wait at the level (Theorem D.1).
We cut the elapsed-time axis into layers , and say that a job crosses layer s when its elapsed time passes s (Fig. 2). Let be the number of jobs of size larger than s. Fix a time t, and let be the level attained by the waiting jobs at this time. Moving one job through layer s uses ds units of machine time, during which the total completion time increases by N ds. Charging the layer s: jobs are longer than s;
have crossed it by commitments

Figure 2: Layers of elapsed time. Jobs are columns of height , sorted by size and filled up to their elapsed time. A layer above the level has been crossed only by commitments; a layer below the level has been crossed by some commitments and then by one Round-Robin pass of the jobs unfinished at that moment.
cost in this way to layers gives
where is the sum of N over the crossings of layer s, and is the number of jobs that have crossed layer s (Theorems A.1 and D.2).
A layer s below the level has been crossed by all jobs longer than s: first by commitments, one at a time, and then by the jobs still unfinished when the level reached s, whose number we denote by . By analyzing the order in which the jobs cross layer s, we prove in Theorem D.2 that
A layer above the level has been crossed only by commitments, one at a time, as in SPT. At the end of the run, integrating these gives the cost formula (Theorem D.3)
4.2 Reduction to a one-dimensional problem
To compare layers of different instances, we measure the position of layer s by the fraction of OPT contributed by the layers below it,
We still assume that the predicted order is correct. Let be the fraction of the jobs longer than that are already completed when the level reaches . By (3), the cost is, up to lower-order terms,
For the slack , when the level is at , a layer below the level contributes , and a layer above the level, crossed by a fraction of the jobs longer than it, contributes , where
The completed jobs are the shortest ones, so a higher layer has been crossed by a smaller fraction of its jobs, and is increasing on , where . For a function on , let
Then, on every instance with a correct order, as long as ,
In this sense, the consistency and robustness of on any instance reduce respectively to the bounds (4) and (5), which depend only on the function .
Comparison with a target. These approximate relations are made rigorous by comparing with a fixed function , a target, rather than with its own fraction , which is unknown. A target prescribes the fraction of jobs that should be completed when the level is at . It is admissible if it is a non-decreasing, right-continuous function from to that stays below until some point and equals 1 afterwards, and satisfies (with a boundary condition at , see (10)). Theorem D.4 shows that, on every instance with a correct predicted order,
The proof defines the budget of layer and shows that in almost every layer. Then, (6) follows from (3) and . The argument is by contraposition: raises its level only when committing is unsafe, so it is never over budget. Consider the first time at which raises its level while , i.e. while its number of unfinished jobs is over the budget of the layer at the level. All layers below the level were passed within budget, so they contribute to at most what the target allows; and since the number of unfinished jobs is over budget, few jobs have crossed the layers above the level. Summing, committing at that time would keep below . But raises its level only when committing alone would make positive, which is a contradiction.
4.3 The optimal target
By (6), it remains to find an admissible target with a small value of . To make this integral small, should be as large as possible, subject to . Since and on , the target starts at . For a differentiable target,
where and . The first term, due to the level rising, is negative. The second, due to committing, is positive as long as . Keeping , that is, committing as fast as the constraint allows, gives the differential equation
until reaches . From then on, committing decreases , and the target can jump to 1. The solution of this equation, the profile , is given implicitly by
This derivation only serves to find . Theorem D.5 verifies directly that is admissible and computes
which, with (6), proves the consistency bound of Theorem 1.1.
4.4 The lower bound
Consider jobs of size 1 with correct predicted sizes, and a deterministic -robust algorithm. By the robustness invariant, must hold at each completion time of its run. Let be the hedging done before the -th completion, that is, the processing received by the jobs that are still unfinished at that time, and the cumulated hedging. Every unit of delays the completions, so . Bounding each pairwise minimum in by an average, the constraint at the -th completion becomes
for explicit and : the hedging forced at a completion grows with the hedging already done. This recursion is used until the completed fraction reaches , and the constraint at that point bounds the hedging of the remaining jobs. Unrolling the recursion and letting shows that the relative excess cost is at least an explicit integral, which equals . Hence the consistency of the algorithm is at least (Theorem E.2).
Remark 4.1. Near consistency 1, the smallest robustness compatible with consistency satisfies (Theorem F.1). At consistency , previous algorithms achieve robustness (time sharing [PSK18]) and [BCLS25]. The frontier is of order , like the lower bound of [WZ20], which is asymptotically smaller than by a factor .
5 Experiments
We compare with previous algorithms on random instances, following the setups of [PSK18, LM22, BP24]. Job sizes are drawn independently from the exponential distribution with mean 1, from the Pareto distribution with scale 1 and shape 1.1, or from the Weibull distribution with scale 2 and shape 0.5 [LM22]. The predicted size of job is , where the noise terms are independent normal variables with mean 0 and standard deviation , and the predicted order sorts the jobs by . Each point averages 2000 independent instances.

Figure 3: Empirical ratio to OPT as a function of the noise level (logarithmic scale), for and , with 2000 independent instances per point. The bands ( standard error) are mostly thinner than the lines.
We compare with two other R-robust algorithms, time sharing [PSK18] and the delayed-predictions algorithm of [BCLS25], and with three algorithms that do not depend on R: Round-Robin (prediction agnostic), following the predicted order (not robust), and the randomized combining algorithm of [BCLS25], which selects Round-Robin or the predicted order based on a random sample of jobs. We use R = 3 and n = 100 jobs (details in Appendix G); Fig. 3 shows the results.
With accurate predictions, is close to following the predictions on all three distributions, and far below time sharing. Delayed predictions, with the parameters that give it the best consistency at robustness 3, approaches Round-Robin as soon as . For large , the predicted order is essentially random. On exponential sizes, all algorithms then approach Round-Robin. On Pareto and Weibull sizes, following the predictions and the combining algorithm become clearly worse than Round-Robin, while the 3-robust algorithms level off below their guarantee. There, ends above time sharing, because it uses more of the slack allowed by the robustness constraint to follow the predictions, but still falls below its nominal robustness.
6 Discussion
In this work, we showed that, with predicted job sizes as well as with a predicted order, the best consistency of a deterministic R-robust algorithm is . The Pareto-optimal trade-off is therefore the curve , and it is attained by , which only uses the predicted order. We conclude with some open questions.
Smoothness. Consistency and robustness describe the two extremes of correct and adversarial predictions. In between, the cost should ideally degrade gracefully with the prediction error, for instance as OPT plus a multiple of the inversion error over the pairs predicted in the wrong order [LM22]. This is the smoothness criterion for learning-augmented algorithms. An algorithm is called brittle if an arbitrarily small prediction error can raise its cost from the consistency bound to the robustness bound, and Pareto-optimal algorithms can be brittle [EADL24, BP25]. Whether is smooth is open. If it is not, is there a Pareto-optimal algorithm that is smooth? And what is the best smoothness guarantee subject to Pareto-optimality of the consistency and robustness?
Other scheduling models. The robustness invariant extends to weighted completion times, release dates and parallel machines: the frozen instance is still well defined, and is still necessary and sufficient for R-robustness. Its optimum is computed by Smith's ratio rule for weighted jobs [Smi56], by the shortest remaining processing time rule with release dates [Sch68], and by SPT on identical parallel machines [McN59]. We expect our greedy algorithm, and possibly its layer-based analysis, to extend to these variants.
Randomized algorithms. Without predictions, randomization does not help, as the optimal competitive ratio of 2 is attained by Round-Robin, which is deterministic. With predictions, the question is open. The randomized combining algorithm of [BCLS25] has expected cost at most plus an additive term, which is on instances with . On such instances, it is therefore -consistent and -robust. Our lower bound is proved on unit jobs, for which , so it holds on this class of instances as well. Hence, on this class, randomized algorithms strictly beat the deterministic frontier . Determinism is used in our proof only to show that the robustness invariant is necessary, since an oblivious adversary cannot stop a randomized algorithm at its worst moment. Whether randomization improves the trade-off on general instances, and whether consistency with robustness is achievable there, remains open.
References
[ACE 23] A. Antoniadis, C. Coester, M. Eliás, A. Polak, and B. Simon. Online metric algorithms with untrusted predictions. ACM Trans. Algorithms, 19(2):19, 2023. Conference version in ICML 2020.
[ADJ 20] S. Angelopoulos, C. Dürr, S. Jin, S. Kamali, and M. Renault. Online computation with untrusted advice. In ITCS, LIPIcs 151, pages 52:1–52:15, 2020.
[AJS22] A. Antoniadis, P. Jabbarzade, and G. Shahkarami. A novel prediction setup for online speed-scaling. In SWAT, LIPIcs 227, pages 9:1–9:20, 2022.
[ALT21] Y. Azar, S. Leonardi, and N. Touitou. Flow time scheduling with uncertain processing time. In STOC, 2021.
[ALT22] Y. Azar, S. Leonardi, and N. Touitou. Distortion-oblivious algorithms for minimizing flow time. In SODA, 2022.
[Ang23] S. Angelopoulos. Online search with a hint. Information and Computation, 295, 2023. Conference version in ITCS 2021.
[BCLS25] Z. Benomar, R. Cosson, A. Lindermayr, and J. Schlöter. Non-clairvoyant scheduling with progress bars. In NeurIPS, 2025. arXiv:2509.19662.
[BDK 22] E. Bampis, K. Dogeas, A. Kononov, G. Lucarelli, and F. Pascual. Scheduling with untrusted predictions. In IJCAI, pages 4581–4587, 2022.
[BE98] A. Borodin and R. El-Yaniv. Online Computation and Competitive Analysis. Cambridge University Press, 1998.
[BJN07] N. Buchbinder, K. Jain, and J. Naor. Online primal-dual algorithms for maximizing ad-auctions revenue. In ESA, 2007.
[BMRS20] E. Bamas, A. Maggiori, L. Rohwedder, and O. Svensson. Learning augmented energy minimization via speed scaling. In NeurIPS, 2020.
[BMS20] E. Bamas, A. Maggiori, and O. Svensson. The primal-dual method for learning augmented algorithms. In NeurIPS, 2020.
[BP24] Z. Benomar and V. Perchet. Non-clairvoyant scheduling with partial predictions. In ICML, 2024.
[BP25] Z. Benomar and V. Perchet. On tradeoffs in learning-augmented algorithms. In AIS-TATS, 2025.
[CLLS26] R. Cosson, J. Li, A. Lindermayr, and J. Schlöter. Online scheduling with a stochastic signal, 2026. arXiv:2607.17784.
[CSW23] N. Christianson, J. Shen, and A. Wierman. Optimal robustness-consistency tradeoffs for learning-augmented metrical task systems. In AISTATS, PMLR 206, 2023.
[DIL 22] M. Dinitz, S. Im, T. Lavastida, B. Moseley, and S. Vassilvitskii. Algorithms with prediction portfolios. In NeurIPS, 2022.
[DKL 25] M. Daneshvaramoli, H. Karisani, A. Lechowicz, B. Sun, C. Musco, and M. Hajiesmaili. Near-optimal consistency-robustness trade-offs for learning-augmented online knapsack problems. In ICML, 2025.
[EADL24] A. Elenter, S. Angelopoulos, C. Dürr, and Y. Lefki. Overcoming brittleness in pareto-optimal learning augmented algorithms. In NeurIPS, 2024.
[EFKT01] R. El-Yaniv, A. Fiat, R. M. Karp, and G. Turpin. Optimal search and one-way trading online algorithms. Algorithmica, 30(1):101–139, 2001.
[EKMM24] M. Eliáš, H. Kaplan, Y. Mansour, and S. Moran. Learning-augmented algorithms with explicit predictors. In NeurIPS, 2024.
[IKMP21a] S. Im, R. Kumar, M. Montazer Qaem, and M. Purohit. Non-clairvoyant scheduling with predictions. In SPAA, 2021. Journal version: ACM Trans. Parallel Comput., 10(4):19, 2023.
[IKMP21b] S. Im, R. Kumar, M. Montazer Qaem, and M. Purohit. Online knapsack with frequency predictions. In NeurIPS, 2021.
[IMP11] S. Im, B. Moseley, and K. Pruhs. A tutorial on amortized local competitiveness in online scheduling. SIGACT News, 42(2):83–97, 2011.
[JM22] B. Jin and W. Ma. Online bipartite matching with advice: tight robustness-consistency tradeoffs for the two-stage model. In NeurIPS, 2022.
[LCS 24] A. Lechowicz, N. Christianson, B. Sun, N. Bashir, M. Hajiesmaili, A. Wierman, and P. Shenoy. Chasing convex functions with long-term constraints. In ICML, PMLR 235, 2024.
[LCS 25] A. Lechowicz, N. Christianson, B. Sun, N. Bashir, M. Hajiesmaili, A. Wierman, and P. Shenoy. Learning-augmented competitive algorithms for spatiotemporal online allocation with deadline constraints. Proc. ACM Meas. Anal. Comput. Syst., 9(1):8, 2025.
[LLMS23] A. Lassota, A. Lindermayr, N. Megow, and J. Schlöter. Minimalistic predictions to schedule jobs with online precedence constraints. In ICML, 2023.
[LLMV20] S. Lattanzi, T. Lavastida, B. Moseley, and S. Vassilvitskii. Online scheduling via learned weights. In SODA, 2020.
[LM22] A. Lindermayr and N. Megow. Permutation predictions for non-clairvoyant scheduling. In SPAA, 2022. Journal version: ACM Trans. Parallel Comput., 12(2):4, 2025.
[LPS09] J. Lorenz, K. Panagiotou, and A. Steger. Optimal algorithms for k-search with application in option pricing. Algorithmica, 55(2):311–328, 2009.
[LSHL24] R. Lee, B. Sun, M. Hajiesmaili, and J. C. S. Lui. Online search with predictions: Pareto-optimal algorithm and its applications in energy markets. In ACM e-Energy, 2024.
[LV21] T. Lykouris and S. Vassilvitskii. Competitive caching with machine learned advice. J. ACM, 68(4):24, 2021.
[LYR23] P. Li, J. Yang, and S. Ren. Robustified learning for online optimization with memory costs, 2023. arXiv:2305.00677.
[LYWR23] P. Li, J. Yang, A. Wierman, and S. Ren. Robust learning for smoothed online convex optimization with feedback delay. In NeurIPS, 2023.
[McN59] R. McNaughton. Scheduling with deadlines and loss functions. Management Science, 6(1):1–12, 1959.
[Mit20] M. Mitzenmacher. Scheduling with predictions and the price of misprediction. In ITCS, LIPIcs 151, pages 14:1–14:18, 2020.
[MPT94] R. Motwani, S. Phillips, and E. Torng. Nonclairvoyant scheduling. Theoretical Computer Science, 130(1):17–47, 1994.
[MSVV07] A. Mehta, A. Saberi, U. Vazirani, and V. Vazirani. Adwords and generalized online matching. J. ACM, 54(5):22, 2007.
[MV22] M. Mitzenmacher and S. Vassilvitskii. Algorithms with predictions. Commun. ACM, 65(7):33–35, 2022.
[PSK18] M. Purohit, Z. Svitkina, and R. Kumar. Improving online algorithms via ml predictions. In NeurIPS, 2018.
[RCMW23] D. Rutten, N. Christianson, D. Mukherjee, and A. Wierman. Smoothed online optimization with unreliable predictions. Proc. ACM Meas. Anal. Comput. Syst., 7(1):12, 2023.
[Sch68] L. Schrage. A proof of the optimality of the shortest remaining processing time discipline. Operations Research, 16(3):687–690, 1968.
[SLH 21] B. Sun, R. Lee, M. Hajiesmaili, A. Wierman, and D. H. K. Tsang. Pareto-optimal learning-augmented algorithms for online conversion problems. In NeurIPS, 2021.
[Smi56] W. E. Smith. Various optimizers for single-stage production. Naval Research Logistics Quarterly, 3(1–2):59–66, 1956.
[Wei20] A. Wei. Better and simpler learning-augmented online caching. In AP-PROX/RANDOM, LIPIcs 176, pages 60:1–60:17, 2020.
[WZ20] A. Wei and F. Zhang. Optimal robustness-consistency trade-offs for learning-augmented online algorithms. In NeurIPS, 2020.
Appendix: complete proofs
The appendix proves the upper bound (Theorem 1.1) and the lower bound (Theorem 1.2) in separate sections. Appendix A collects the model, the notation (Table 1) and the layer representation of . Appendix B proves the properties of the run of used by both parts of the upper bound; Appendix C proves robustness (Theorem C.1) and Appendix D consistency (Theorem D.6). Appendix E proves the lower bound (Theorem E.2). Finally, Appendix F derives the behavior of the trade-off near consistency 1 (Theorem F.1), and Appendix G describes the experimental setup.
A Preliminaries
Model. An instance has jobs with sizes , and is its optimal total completion time, attained by SPT. The prediction is a permutation of the jobs, a predicted order; it is correct if . (Predicted sizes are only needed for the lower bound, and are introduced in Appendix E.) A deterministic algorithm knows and , and at any time knows which jobs have completed and when. Formally, it assigns to every completion history , with (simultaneous completions listed by index; for the empty history), a measurable rate function on , with non-negative rates summing to at most 1 and supported on the jobs not in . The run is defined by induction over completions: after the -th completion, the algorithm follows the rate function of the current history until the next completion. Writing for the total completion time of the run of on sizes with prediction ,
Notation. For let
Smith’s rule [Smi56] gives (see also [MPT94]). A schedule assigns to every job a measurable rate , with . It is non-idling if for almost every at which some job is unfinished. We write
for the elapsed time of job j (the processing it has received by time t), its completion time, and the number of unfinished jobs. The cost so far is
Since , we have : the total completion time increases at rate . Each run of a deterministic algorithm is a schedule in this sense; on it depends only on the prediction and on the completions that occurred in .
Table 1 collects the notation used in the appendix.
| notation | meaning |
|---|---|
| elapsed time of job : processing received up to time | |
| number of unfinished jobs at time | |
| cost so far, ; at the end, | |
| optimum of the frozen instance, in which job has size | |
| slack ; keeps | |
| committed job | first unfinished job in the predicted order |
| waiting jobs | unfinished jobs other than |
| level | common elapsed time of the waiting jobs |
| committing | running alone |
| Round-Robin | sharing the machine equally among the waiting jobs |
| commit rate and Round-Robin rate of (Theorem B.2) | |
| layer | a value of elapsed time; a job crosses it when its elapsed time passes |
| number of jobs with size , resp. with elapsed time | |
| number of unfinished jobs when the level first reaches | |
| fraction of OPT contributed by the layers below | |
| target , | a function on and the quantity bounded in (10) |
| budget of layer | |
| the profile, the target used for the consistency bound (Appendix D.3) |
Table 1: Notation used in the appendix.
Lemma A.1 (Layer representation). For and , let be the number of jobs whose elapsed time exceeds , and . Then
Proof. Every real satisfies . Applied to and to , with , this gives
Summing over and over pairs , and exchanging the finite sums with the integral,
Fix and write . The first sum counts the jobs with , so it equals . The second sum counts the pairs of jobs that both have elapsed time , so it equals . Hence the integrand is .
B The run of
This section collects the properties of the run of that the robustness and consistency proofs use. Throughout, , as in Algorithm 1, and the predicted order is arbitrary (not necessarily correct). Theorem B.1 shows that the waiting jobs always share a common level, with the committed job at or above it; Theorem B.2 computes how fast grows; Theorem B.3 shows that the run is well defined, with in the mixing branch.
Notation. At time t, the committed job j is the first unfinished job in (throughout, j denotes this job), N is the number of unfinished jobs, and the waiting jobs are the N - 1 unfinished jobs other than j. A job i is completed if and only if ; it receives no processing afterwards. Algorithm 1 uses the common elapsed time of the waiting jobs, the level (Theorem B.1 shows that they always have one), and the rates
where the counts include completed jobs. We write , the slack; the invariant (2) is . Since increases at rate , changes at rate .
The run, interval by interval. Let . Given the state at an event time with , the algorithm computes its branch and ( in the commit branch, in the mixing branch), and runs at rate and each waiting job at rate until , the first time at which one of the following events occurs:
• a job completes;
• D reaches 0 (only if );
• reaches the size of a completed job with ;
• reaches the size of a completed job with .
If at , the last job runs alone until it completes, and there are no further events (this final completion is not counted as an event). Let
Lemma B.1 (Structure of the run). For every instance and every , at every time with :
(a) the waiting jobs all have the same elapsed time , and ; while a given job is the committed job, is strictly increasing. Consequently, the jobs counted in and in are completed jobs;
(b) in the mixing branch, , so a is well defined and , and .
Moreover each interval is non-empty and .
Proof. Step 1: (b) in a state as in (a). Let , so . In the mixing branch (the branch condition), and
since . So the numerator and the denominator of a are positive, and . For : since and ,
which holds because . Finally . Step 2: induction over the intervals. At time 0 all elapsed times are 0, so (a) holds. Suppose (a) holds at , with . Each event says that a continuous function of reaches a value that it does not have at , so ; and , since runs at rate (by Step 1 in the mixing branch) and completes at the latest at time . On the waiting jobs run at the common rate , so they keep a common elapsed time ; and (in the commit branch ; in the mixing branch by Step 1), so is strictly increasing. At , if completes, the new committed job is the first unfinished job in , which is a waiting job, at elapsed time ; if waiting jobs complete, the other waiting jobs stay at . In both cases (a) holds at (if there). By induction, (a) holds as long as the run is defined, and (b) holds by Step 1.
The consequence in (a). The waiting jobs have elapsed time , so they are counted neither in nor in , and is not counted in either set. So only completed jobs are counted.
Lemma B.2 (Growth rate of ). Consider the state of the run at a time with . Suppose that, from this state, runs at rate and each waiting job at rate , where . Then has right derivative . In particular, committing makes grow at rate .
Proof. By Theorem B.1(a), the waiting jobs have a common elapsed time , , and the jobs counted in are completed. is a sum of diagonal terms and pair terms . Under constant rates , the right derivative of is ; that of is if (the minimum stays for a short time), and if . Here , the waiting jobs have rate , and completed jobs have rate 0; note that . Term by term:
• diagonal terms: ;
- pairs with completed: rate if , and if (then has the smaller or equal elapsed time and rate ). These jobs are exactly the jobs counted in , so the total is ;
• pairs with waiting and completed: rate if , and otherwise; in total ;
- the pairs of two waiting jobs: equal elapsed times and equal rates, so rate b each; in total ;
• pairs with waiting: rate if , and if (the instant becomes the committed job); in total ;
• pairs of two completed jobs: rate 0.
Adding up, and writing the first term 1 as ,
Lemma B.3 (Events). For every instance and every , the run of has events and is defined at all times, so is the last event time; in particular Theorems B.1 and B.2 apply at every time with . Moreover:
(a) between consecutive events, , and are constant, and is affine, with slope in the commit branch and in the mixing branch. Hence in the commit branch and in the mixing branch;
(b) at the last event time at most one job is unfinished; if one is, it runs alone until it completes.
Proof. Step 1: between consecutive events. On the rates are constant, and is constant since completions are events. The jobs counted in and in are completed jobs (Theorem B.1(a)), with fixed elapsed times equal to their sizes. Inside the interval, and do not reach any of these sizes (this would be an event); a completed job with is not counted in at , nor afterwards, as increases, and similarly for and . So and are constant on . Since ( in the commit branch, and Theorem B.1(b) in the mixing branch), Theorem B.2 gives the right derivative of at every point of the interval, a constant. A continuous function with constant right derivative on an interval is affine there, so is affine with slope in the commit branch ( ) and
in the mixing branch, by the choice of a. Since , this gives the values of .
Step 2: counting events. Call a commit episode the time during which a given job is the committed job; there are at most episodes. Fix one. During it, is strictly increasing () and is non-decreasing, so each of them reaches each of the at most sizes of completed jobs at most once; together with the at most completions in total, this gives events of these types, and between two consecutive ones and are constant. In between, there is at most one event “ reaches 0”: it occurs in the commit branch with and , so afterwards and , the algorithm mixes, and keeps , until or changes. Hence each episode has events, and the run has events.
Step 3: after the last event. At the last event time (the completion of a job running alone is not an event): otherwise the construction would continue, since exists and is finite (Theorem B.1). If , the last job runs alone until it completes. So the run is defined at all times, and Theorem B.1 holds at all times.
C Robustness of
This section proves that is -robust: for every instance and every predicted order, OPT. The argument is short: in the mixing branch grows at exactly the required rate , so stays constant, and the commit branch is used only when or when committing alone keeps .
Theorem C.1 (Robustness for every prediction). Let . For every instance and every permutation , maintains for all . In particular .
Proof. is continuous, and . By Theorem B.3, there are finitely many events; we show by induction that implies on . On this interval is affine (Theorem B.3(a)).
- . The algorithm commits. If , stays negative. If , the interval ends at the latest when reaches 0, since this is an event.
• , commit branch. The branch condition gives , so .
• , mixing branch. .
After the last event (Theorem B.3(b)), at most one job is unfinished and runs alone at rate 1. All terms of are non-decreasing and the diagonal term grows at rate 1, so grows at rate at least 1, and ; after the last completion is constant. Hence at all times. When the last job completes, , so .
D Consistency of
This section proves that is -consistent (Theorem D.6): for every and every instance with a correct predicted order, OPT. Throughout, . The proof has three parts.
-
Appendix D.1 computes the cost of on a correct order: it is OPT plus a Round-Robin overhead, , where is the number of unfinished jobs when the level reaches (Theorem D.3).
-
Appendix D.2 bounds this overhead layer by layer, by comparing with a target: a function that prescribes, for each layer, how many jobs may still be unfinished when the level reaches it. For every target that satisfies the conditions (10), we get (Theorem D.4).
-
Appendix D.3 exhibits the target for which this bound is OPT (Theorem D.5), which proves Theorem D.6.
From the earlier sections we use the layer representation of (Theorem A.1), the structure of the run (Theorems B.1 to B.3) and the invariant (Theorem C.1).
D.1 The cost of on a correct order
Fix an instance and a correct predicted order , and relabel the jobs so that is the identity; then . For let
be the number of jobs of size > s; it is right-continuous and non-increasing in s, and since the sizes are sorted, the jobs of size > s are the last jobs, .
Layers. We call a value of elapsed time a layer (think of the slice ), and say that job crosses layer when its elapsed time passes . By Theorem A.1, with , where is the number of jobs that have crossed layer . Theorem D.2 below writes the cost in the same way, by charging each unit of processing to the layer at which it is given. We first record how the run looks on a correct order.
Lemma D.1 (MRC on a correct order). Let and consider the run of MRC on the relabelled instance.
(a) The jobs complete in the order , at distinct times. Hence, while job i is the committed job, the unfinished jobs are exactly , and .
(b) Let be the first time with (an event time, by Theorem B.3(b)), and define the level by for and for . Then is continuous and non-decreasing, , and while it is the level of Appendix B. The level rises only in the mixing branch. At every time, the unfinished jobs other than the committed job have elapsed time , and the committed job, if any, has elapsed time at least .
Proof. (a). The committed job is the first unfinished job in . By Theorem B.1(a) (which holds at all times, by Theorem B.3), as long as is unfinished the other unfinished jobs are at the level , and their sizes are at least ; so none of them completes before . Nor at the same time: while is committed, is strictly increasing (Theorem B.1(a)), and when becomes committed, so when completes; the other unfinished jobs are then at elapsed time , below their sizes. Hence the jobs complete in the order of , at distinct times, and while job is committed the completed jobs are .
(b). While , job , the last in , is not the committed job, so by Theorem B.1(a) it is at the level: , which is continuous and non-decreasing. In the commit branch the waiting jobs do not run, so the level rises only in the mixing branch. For the level is constant, and at most job is unfinished; if it is, it is the committed job, with elapsed time . For the last claim is Theorem B.1(a).
The counts . For a value that the level reaches, let be the first time with , and let be the number of unfinished jobs at that moment. If the level never reaches , set . The level is constant on finitely many time intervals of positive length: by Theorem D.1(b) these are the commit-branch intervals between consecutive events, finitely many by Theorem B.3, and . We call regular if it is not a job size and not one of the finitely many values taken by the level on these intervals. If a regular is reached by the level, then for and for ; moreover , so and .
Lemma D.2 (Layer accounting). Let and , and write , and . Then
where, for all but finitely many s,
Proof. The formula for . By Theorem A.1, with for every . For we have : a job with elapsed time > has size ; conversely, a job with has elapsed time if it is complete, and at least otherwise (Theorem D.1(b)).
Charging the cost to layers. For let
be the time at which job crosses layer ; by continuity, . By Theorem B.3, splits into finitely many intervals on each of which the rates and are constant; write and for their values on , and for . On , the elapsed time is linear, from to :
Let , then there is a unique with . We have that and , hence
The run is non-idling (the rates sum to while , and the last job runs alone at rate 1), so whenever . Hence, using (7),
where
is the sum, over the jobs that have crossed layer , of the number of unfinished jobs at the moment they crossed it. It remains to compute for regular outside the finite set of values .
Crossing while committed. If job crosses layer at time while it is the committed job, then by Theorem D.1(a). Writing the jobs of size as , , the -th of them contributes . A job that crosses at a time with does so while committed: it is unfinished at (as ) and above the level, whereas the other unfinished jobs are at the level (Theorem D.1(b)).
Layers . Let be one of the jobs with ; then , and crossed at , when the level was ; so it crossed while committed. If is another job of size , then was complete when was committed (Theorem D.1(a)), so . Hence the jobs that crossed layer are the first jobs of size , and they contribute :
Layers . The level is continuous with , so it reached , at time . As shown above, all jobs of size have crossed layer . The jobs unfinished at are the last ones, (Theorem D.1(a)).
-
The jobs are complete at . Each crossed at a time (as and is continuous), when , hence while committed, and contributes . Together they contribute .
-
The waiting jobs at time have elapsed time . At every time , each of them has elapsed time : at least if it is unfinished, and its size if it is complete, which exceeds since the job was unfinished at with elapsed time . So they cross layer at time , and each contributes .
-
The committed job at time has elapsed time . If it equals , the job crosses at time , for the same reason as the waiting jobs; otherwise it crossed at a time , while committed, and contributes . In both cases it contributes .
Adding up,
Corollary D.3 (Cost of ). Let . On a correct order,
The jobs still unfinished when the level reaches cross layer together, in Round-Robin. In SPT, of each pair of these jobs only one waits for the other while the layer is processed; in Round-Robin both wait. So each of the pairs pays extra at layer , and this is the whole excess cost of over OPT.
Proof. Let be a time at which all jobs are complete. Then , , and . Apply Theorem D.2 at time . For , . For , every job has elapsed time , so and ; moreover the level never reaches , so . So for all but finitely many . Integrating, and using (Theorem A.1 with , for which ), gives
D.2 Comparison with a target
For let
The function is concave, with ; it is increasing on , decreasing on , and is its maximum. Also .
Theorem D.4 (Comparison with a target). Let . Let be non-decreasing and right-continuous, and let be such that for and for . For let
and suppose that
Then, on every instance with a correct predicted order,
The function is a target: it prescribes, in a coordinate defined in Step 1 below, the fraction of jobs that should have been completed when the level is at . On jobs of size 1, a schedule that commits in this way has cost and when the level is at , up to (Section 4); so (10) says that this schedule keeps . does not know or the sizes. The proof shows that, at the first time it would fall behind the target, committing would keep , so it would have committed.
Proof. Relabel the jobs as in Appendix D.1, so that , and let be the level and the counts of the run of . The branch at time is the branch chosen at the last event time ; it is used on all of . By Theorem A.1 with , we can write
Step 1: the coordinate w and the budget. For let
be the fraction of OPT contributed by the layers below . It is continuous and non-decreasing, with and for , and for every that is not a job size. So : for every bounded Borel function on and every , the change of variables gives
For we define the budget as
We will prove that
which gives the theorem by Theorem D.3 and (11). The function is non-increasing, since is non-increasing (as is) and is non-decreasing with values in . It is right-continuous, since is (as is) and is: if then , and is right-continuous.
Step 2: the first violation. Let be the set of times at which , the branch is mixing, and . We show two things: if then (12) holds, and if then it has a least element . Steps 3–7 then show that such a cannot exist.
-
If , then (12) holds. Let be regular. If the level never reaches , then . Otherwise it reaches at time , with and . Let be consecutive event times. The level exceeds just after , so it is not constant on ; since it does not move in the commit branch (Theorem D.1(b)), the branch at is mixing. So means exactly .
-
If , it has a least element. Let , and let be consecutive event times. Since is the infimum, meets for every , hence meets , on which and the branch are constant; so and the branch at is mixing. The function is non-increasing and right-continuous on , since is continuous and non-decreasing and is non-increasing and right-continuous. Taking along times of in , where ,
Therefore, it holds that .
Suppose, for a contradiction, that . The rest of the proof shows that committing at time would keep , whereas mixes at , which means that committing alone would make positive.
Step 3: the state at . Let and . By Theorem D.1, the committed job is , the unfinished jobs are , the waiting jobs have elapsed time , and . We use three facts about this time.
- The past is within budget: for every regular . Indeed, the level reached at a time , since is continuous and non-decreasing; as in Step 2, the branch at is mixing and , and by minimality of .
• The present is over budget: , since .
- Committing alone is too slow: and , with evaluated at . Indeed, let be consecutive event times. The mixing branch was chosen at , so the commit condition failed there: and . By Theorem C.1, , so ; by Theorem B.3(a), on , so , and .
Step 4: a hypothetical commit. Suppose that, from time , the algorithm ran alone until its elapsed time reached , for some . The elapsed times would become , equal to except . All jobs would stay unfinished during that time ( completes at the end if ), so the cost so far would become . Let
be the value that would have after this commit. Then . Raising from at rate 1 is committing from the state at time , so by Theorem B.2 (with ) has right derivative at , and has right derivative there (Step 3). Since , for some . We now show that for every , which is a contradiction.
We write layer by layer. Let be the number of jobs with elapsed time > s after the commit, and before it. By Theorem A.1, , and by Theorem D.2 at time , . The commit changes only the layers : there , and , because the jobs of size > s are the u unfinished jobs (all of size ) and the complete jobs of size > s, while j and the waiting jobs have elapsed time . So , and on
For the commit changes nothing, and . Hence, with the formulas of Theorem D.2,
The first integral depends only on the past, the second only on the state after the commit. We bound them in Steps 5 and 6.
Step 5: the layers below the level. For every regular , the past is within budget (Step 3), so the integrand of the first integral in (13) is at most
The function is bounded and Borel ( is monotone), so (11) with bounds the first integral by
Step 6: the layers above the level. Let and
In both cases , as is increasing on . We show that, for every , the integrand of the second integral in (13) is at most .
Fix and write and . After the commit, a complete job has elapsed time , the waiting jobs have elapsed time , and has elapsed time .
-
If , then , the smallest unfinished job, is not among the last jobs, so ; every complete job has , and . So , the integrand is 0, and .
-
If , the unfinished jobs are among the jobs of size , so of these are complete; the waiting jobs have elapsed time , so . If we conclude as before. If , let , then . Since , it follows that
So it remains to show in this case.
If , then , so
Otherwise, if , then with , and we show , using that the present is over budget: . We have that
Both and are non-negative, so , i.e.
Since (as ), , and dividing by ,
If , then , as is increasing on . Otherwise ; since is concave it lies below its tangent at , and , so
using . In both cases .
So in both cases the integrand is at most for every , and by (11) the second integral in (13) is at most .
Step 7: committing would be safe. Adding the bounds of Steps 5 and 6,
If , then and the right side is by (10). If , then , and for ; splitting the integral at and writing , the right side equals
by (10). In both cases for every , which contradicts Step 4. Hence , and (12) holds by Step 2.
Step 8: the cost. By Theorem D.3, (12), and (11) with , and , and noting that for (where ), we deduce that
D.3 The profile
In this section we define a target , show that it satisfies the conditions of Theorem D.4, and that , which proves the consistency bound. Recall that , and let
All of lie in , and . Define on
the profile
and
Lemma D.5 (The profile). With the definitions above, it holds that
(a) W is and strictly increasing on , with , and
Consequently is well defined, non-decreasing and right-continuous, with on .
(b) satisfies (10) with equality: on , and .
(c)
Proof. (a). On we have and , so and is . Taking logarithms
then differentiating gives
Since and , the numerator is , which gives the formula for . On every factor of is positive, and ; so is strictly increasing on , and . Also because . Hence is a continuous increasing bijection , so is well defined, continuous and increasing on , with values in . At it jumps to 1 and stays there. So is non-decreasing and right-continuous.
(b). For let
We have , and is with
Expanding, and observing that with and , we deduce
With the formula for from (a),
therefore and on .
Now let and . Since is a increasing bijection and for , the change of variables gives
For , and . For , and
(c). Since on , only contributes. Substituting , , and integrating by parts with , and ,
By definition of , . At , where , this gives . For the integral, since ,
Therefore, using
we obtain that
Finally, , hence
and by (1).
Theorem D.6 (Consistency of ). Let and let be given by (1). If is correct, then OPT.
Proof. By Theorem D.5(a) and (b), satisfies the hypotheses of Theorem D.4, with the of (15). So by Theorem D.5(c).
E The lower bound
This section proves the lower bound (Theorem E.2): for every , any deterministic -robust algorithm has consistency at least , given by (1), even if it receives the predicted sizes and not only their order.
Plan. Appendix E.1 proves that the robustness invariant is necessary (Theorem E.1): an R-robust deterministic algorithm must keep along every run, in particular along its run on correct predictions. Appendix E.2 applies it to the run on n jobs of size 1, turns the resulting constraints into a recursion, and lets . In the proof, we reuse the constants of (9) and (14), and the identity of Theorem D.5.
Predicted sizes. In this model the prediction is a vector , correct if . The algorithm knows and , and its consistency and robustness are defined as in Appendix A, with in place of . Given an algorithm for predicted orders, sorting (ties by index) and running gives an algorithm for predicted sizes, and since a correct induces a correct order,
So it suffices to prove the lower bound for predicted sizes. Below, the prediction y may be an order or a vector of sizes.
E.1 The robustness invariant is necessary
Lemma E.1 (Necessity of the robustness invariant). Let A be a deterministic algorithm, any instance (sizes and predictions), and . Let and be the elapsed times and the cost so far of the run of A on . If , then
The proof generalizes the adversary of Wei and Zhang [WZ20, Theorem 1.3], who end the unfinished jobs at the first completion. In Appendix E.2 we apply it to the perfect run, the run on in which the predictions are correct.
Proof. For a time , the idea is to consider the adversarial instance where every unfinished job ends right after time . Fix and define the sizes by
Write for the rates, elapsed times and completion times of the run on , and for those of the run on . Let
Then almost everywhere on , and therefore on , since elapsed times are integrals of rates. The two runs also have the same completions in :
- a job j that is unfinished at time t in the run on satisfies, for every ,
so it is unfinished at time u in both runs,
- a job that is complete at time has , and on . So it completes in in one run if and only if it does in the other, and then at the same time, the first time at which the same function reaches the same value.
Suppose that . Each run has at most completions, so there is with such that neither run has a completion in . On both runs have the same completion history, so they follow the same rate function, as the algorithm is deterministic and the predictions are the same. Hence on , which contradicts the definition of . Therefore : the two runs coincide on , with the same completions.
A job that is complete at time in the run on has . Every other job has, at time , elapsed time , so . There are such jobs. Since job is unfinished exactly during ,
and we deduce that
Consequently, by definition of (arbitrary predictions are allowed) and by Smith's rule,
A job that is complete at time has : its elapsed time reached at , and it receives no processing afterwards. So as , and by continuity of . Hence , and dividing by gives the claim.
E.2 The lower bound on equal sizes
Theorem E.2 (Lower bound). Let and let be given by (1). Every deterministic algorithm with satisfies , whether it receives a predicted order or predicted sizes.
We consider n jobs of size 1 with correct predictions. By the robustness invariant, the algorithm must hedge (process jobs before their turn) before every completion, and the hedging forced at a completion grows with the hedging already done. Theorem E.3 writes these constraints, Theorem E.4 turns them into a recursion on the cumulative hedging, and Theorem E.5 solves it. Letting gives an integral, computed in Theorem E.6.
Setting. Let be a deterministic algorithm with , receiving predicted sizes. Fix , so that . Consider jobs with predicted sizes that are exactly correct, . Then . Label the jobs by their order of completion in the perfect run of (ties broken arbitrarily), and let be the completion times. For let
be the elapsed time of job at the -th completion. If because of a tie, then . Since elapsed times are non-decreasing in and is non-decreasing in , is non-decreasing in for fixed . Let
so that is the total processing received by jobs at time , that is, the hedging done before the -th completion. Also and .
Lemma E.3 (Constraints of the perfect run). It holds that
Moreover, defining
then for every ,
Proof. (a) At time the jobs have received processing and jobs have received . The machine processes at rate at most 1, so . Summing over , and using and , we obtain (17).
(b) By Theorem E.1 at (note that ), . Since job is unfinished during , and by (a),
Now let us bound . Recall that
The jobs have elapsed time 1 and the jobs have elapsed time . The diagonal terms give , the pairs of completed jobs give , the pairs of a completed job and a job give , in total , and the pairs give . Hence , which gives (18).
Constants. Recall , and from (9) and (14). Let
The constraints at the first completions are used one by one, through a recursion, and the jobs that remain after the -th completion are handled at once (Theorem E.4). The value of is the largest for which this second step works, and , the completed fraction at which the profile of Appendix D.3 jumps to 1, that is, at which stops hedging on equal sizes. Since , we have , and . For let
Expanding, with ,
Lemma E.4 (Recursion). For every ,
Moreover,
Proof. We bound in two ways. Since , and each job belongs to pairs,
This bound is tight when the unfinished jobs have the same elapsed time, as during Round-Robin. Since for , and job is the larger index in pairs,
The recursion. Insert the first bound in (18), and use . The constant terms give , the terms with give , and the coefficient of is . This gives (19), for every .
The tail. The recursion alone does not suffice: processing given to a job before the -th completion is counted again in at every later completion until completes, and the first bound ignores this. The quantity counts it, with the number of completions that each job waits for. Insert the second bound in (18) at :
For and , we have , and a job appears in for the values . Hence , and by (17),
The last term is non-negative because , which is where the choice of is used.
Lemma E.5 (Solving the recursion).
Proof. Let . By (19), . Since and , Bernoulli's inequality with gives . As , it follows that
Dividing by , the sequence satisfies , with . Summing over and multiplying by gives the claim.
The limit. Recall from (9), and let
At , is the continuous version of , and that of .
Lemma E.6 (The integral).
Proof. Since , , and , an integration by parts gives
Since , we have , so the left side of the claim equals .
To compute , we substitute , , where
Then
So, up to the factor , the integrand of is . Integrating term by term, with , an antiderivative is
since and . Hence
At the upper end, and , so
At the lower end, and , so
Altogether, with , by (16) and Theorem D.5(c),
Proof of Theorem E.2. First let A receive predicted sizes. By Theorems E.4 and E.5, and dividing by ,
We let . Uniformly in , with ,
since , , and all denominators divided by are at least . The sum is therefore a Riemann sum of the continuous function over , up to an error that tends to 0, and it converges to . Also . The unit jobs with correct predictions are an instance in the definition of cons(A), so, by Theorem E.6,
Now let be an -robust algorithm for predicted orders. The algorithm that sorts the predicted sizes and runs is -robust for predicted sizes, with consistency at most . Hence .
F The trade-off near consistency 1
For , let be the infimum of over the deterministic algorithms with , in either prediction model. Theorems C.1, D.6 and E.2 show that the optimal trade-off is the curve . This section computes its behavior near consistency 1.
Corollary F.1 (Robustness near consistency 1). In both prediction models, as .
The proof only needs the expansion of as . By (1), with ,
Lemma F.2 (Expansion of c). as .
Proof. Put . Then and , so
By (21), .
Proof of Theorem F.1. For and small , let . Then , and by Theorem F.2,
uniformly in . Hence there is such that, for small enough and ,
Upper bound. By Theorems C.1 and D.6, has consistency and robustness , in both models, since it only uses the order. So .
Lower bound. Let be a deterministic algorithm with . Then is -robust, so Theorem E.2 gives . So .
Hence
G Experimental setup
Instances. Each point averages 2000 independent instances (sizes and predictions); every algorithm, including the randomized one, is run once on each instance.
Algorithms. For a robustness parameter , the -robust algorithms are time sharing [PSK18], which runs the job with the smallest predicted size at rate and Round-Robin at rate ; the delayed-predictions algorithm of [BCLS25], which runs Shortest Elapsed Time First and, when job reaches elapsed time , runs it alone until its elapsed time is ; and . Delayed predictions is -consistent and -robust for [BCLS25]; at robustness , the best consistency is obtained with and , which we use. The other algorithms do not depend on : Round-Robin; following the predictions, which runs the jobs one after the other in the predicted order and is not robust; and the randomized combining algorithm of [BCLS25], which runs random pairs of jobs to completion, and then follows Round-Robin or the predicted order, whichever has the smaller pairwise delay on the sample.