Speed Predictions for Online Energy-Efficient Scheduling

Eric Balkanski, Jingwei Li, Clifford Stein, Cherlin ZhuNeurIPS 2026

TL;DR

Data centers burn massive amounts of electricity, and scheduling jobs to minimize energy requires a tricky balancing act: run your servers too fast and power spikes exponentially; run too slow and a sudden burst of arrivals forces a costly sprint to meet deadlines. While recent "learning-augmented" schedulers try to predict every future job's exact arrival, size, and deadline up front, this paper flips the script: stop predicting the messy inputs (the jobs), and just predict the output (the machine's speed). Doing so requires vastly less data, works dynamically on the fly, and still gives you near-optimal energy savings when the predictions are good—plus a mathematical safety net when they go completely off the rails.

What Problem Does This Paper Address?

In online speed scaling, an operating system controls a processor's speed $s(t)$ to finish incoming jobs between their release times and deadlines. Because power scales convexly with speed—modeled as $s(t)^\alpha$ for $\alpha > 1$ (often $\alpha \approx 3$)—running at a steady, moderate pace is vastly cheaper than alternating between idle and turbo.

Purely online algorithms assume the future is a total mystery, making them overly conservative. Recently, researchers introduced algorithms with predictions—feeding ML forecasts into classic algorithms to get the best of both worlds: consistency (near-optimal performance when predictions are right) and robustness (bounded worst-case damage when predictions hallucinate).

However, prior work required predicting the entire future input at time $t = 0$: every job's arrival time, workload, and deadline. In real systems, predicting thousands of multi-parameter jobs upfront is brittle, data-hungry, and makes defining "prediction error" a mathematical headache. The authors ask: Can we get the same theoretical guarantees by only predicting the machine speed itself?

Methods

The authors introduce three succinct speed-prediction models:

  1. Dynamic machine speed: At each moment $t$, the predictor just tells you what speed $\hat{s}(t)$ to run right now, allowing forecasts to adapt to live traffic.
  2. Offline machine speed: The full speed curve $\hat{s}$ is given at $t = 0$.
  3. Dynamic job speed: When a job arrives, you get a prediction of its ideal constant execution speed.
Table 1: Guarantees with a con-competitive online subroutine, for fixed α > 1 and ε ∈(0, 1). The O(·) notation hides only constants depending on α; OA gives con = αα.

Instead of blindly trusting the forecast, the proposed algorithms partition incoming jobs into two buckets: a "predicted" set ($J^{\text{p}}$) run using the speed forecast, and a fallback "online" set ($J^{\text{on}}$) handed to a trusted, prediction-free online algorithm like Optimal Available (OA). A trust hyperparameter $\lambda$ governs how much energy cost $J^{\text{on}}$ is allowed to absorb.

  • For Dynamic Machine Speeds (Algorithm 1): Because you only see $\hat{s}(t)$ in the moment, the algorithm maintains a forecast schedule (the cheapest valid schedule consistent with history and predictions so far) and a robust forecast schedule bounded against the true cost of jobs already seen. If the robust speed is too slow to finish $J^{\text{p}}$, a clever REASSIGN subroutine slices a job mid-execution and hands the remainder to the safe online algorithm.
  • For Offline Machine & Dynamic Job Speeds (Algorithm 2): What if a speed prediction is slightly too slow, missing a deadline by a hair? Instead of declaring its cost infinite, the authors introduce a feasibility projection (MakeFeas)—an online wrapper that nudges predicted speeds up just enough to meet impending deadlines. Algorithm 2 then balances $J^{\text{on}}$ and $J^{\text{p}}$ against this projected schedule.
Shared framework for smooth speed scheduling (Algorithm 2)

Datasets

To test scheduling performance (rather than predictor training), the authors evaluate on two setups:

  • Synthetic Power-Law Workloads: 100-job instances with uniform deadlines and power-law job sizes (many tiny tasks, a few massive ones). Predictions are generated by perturbing 20% of workloads with Gaussian noise—a sparse error setup deliberately chosen to favor full-input baselines like TPE, which require exact parameter matches.
  • Brightkite Check-in Dataset (SNAP): 851 days of real location check-ins aggregated into 10-minute job intervals with random same-day deadlines. Here, the "predictor" is delightfully naive: it simply uses yesterday's optimal speed profile to schedule today.

Key Insights and Ideas

  • Less is exponentially more learnable: Predicting an optimal speed schedule over $k$ discrete time steps requires learning $O(k)$ speed values. Predicting the job inputs requires learning workloads for all release-deadline pairs—$\Theta(k^2)$ values. Using PAC-learning theory, the authors prove speed predictions cut sample complexity from quadratic ($O(k^2)$) to linear ($O(k)$).
  • Error-free "Smoothness": Previously, proving an algorithm degraded gracefully ("smoothness") required inventing complex, often incomparable distance metrics for multi-parameter job errors. By projecting output predictions onto the nearest feasible schedule (MakeFeas), smoothness simply becomes: your energy cost is within $(1+\varepsilon)$ of running the projected prediction, sidestepping custom error metrics entirely.

Key Results

  • Theoretical Guarantees: For any $\varepsilon \in (0,1)$, Algorithm 1 achieves $(1+\varepsilon)$-consistency and $O(1)$-robustness using only live speed hints. Algorithm 2 upgrades consistency to $(1+\varepsilon)$-smoothness while keeping $O(1)$-robustness.
  • Synthetic Benchmarks: At low noise ($\eta \le 0.08$), all three proposed algorithms beat pure online OA; at high noise ($\eta \ge 0.07$), they beat raw projected predictions (MakeFeas). In the sweet spot $\eta \in [0.07, 0.08]$, they outperform both simultaneously. When noise cranks up to $\eta = 0.4$, MakeFeas balloons to $12\times$ OA's energy cost, while the authors' algorithms stay flat and bounded.
  • Real-World Traces (Brightkite): Using yesterday's trace as a crude forecast, Alg 4-J (15.09M energy units), Alg 1 (15.79M), and Alg 4-M (17.05M) cut energy consumption by more than half compared to OA (35.03M) and the full-input baseline TPE (35.03M, which degrades to OA because yesterday's jobs rarely match today's exact parameters). While raw MakeFeas averages 17.95M, bad prediction days cause massive spikes (max 528.19M vs. Alg 1's 195.63M).

Limitations and Future Work

  • The Dynamic Smoothness Gap: Achieving $(1+\varepsilon)$-smoothness currently requires either knowing the future speed curve upfront (offline machine speed) or knowing per-job speeds at arrival. Designing a smooth algorithm for the dynamic machine speed model—where neither future speeds nor job allocations are known—remains an open problem.
  • Trace Realism & Learning Scope: The PAC-learning bounds assume discrete time grids and bounded speeds/workloads, and the Brightkite experiments pair real arrival volumes with synthetic deadlines rather than live cluster traces.

Summary updated

Abstract

We consider the scheduling problem of online speed scaling where the goal is to minimize the energy consumption of a machine that controls the speed at which jobs are processed. Recent work has leveraged the learning-augmented framework, where the algorithm is provided with predictions about jobs that will arrive in the future, to manage power usage more efficiently. This paper proposes a novel prediction model for speed scaling where the predictions are about the machine speed (the output), instead of the jobs (the input). Machine speed predictions have multiple advantages: they are succinct, admit strong PAC-learnability guarantees, can be provided dynamically, and lead to a natural definition of smoothness. We give an algorithm for dynamic machine speed predictions that is $(1+\epsilon)$-consistent and $O(1)$-robust. For offline machine speed predictions and job speed predictions, we provide an algorithm that achieves the stronger guarantee of $(1+\epsilon)$-smoothness, while maintaining $O(1)$-robustness. These guarantees are comparable to previous work, but do not require predicting the entire input.
BibTeX
@inproceedings{balkanski2026speed,
  author = {Eric Balkanski and Jingwei Li and Clifford Stein and Cherlin Zhu},
  title = {{Speed Predictions for Online Energy-Efficient Scheduling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=wSAlwori4a},
}
Figure