TL;DR
This paper tackles the challenge of scheduling jobs with unknown, context-dependent service rates in a nonpreemptive setting, where tasks cannot be interrupted once started. The authors introduce the Learn–Clear–Plan (LCP) algorithm, which achieves near-optimal regret for known horizons, and prove that for unknown horizons, tracking a fixed reference policy like SEPT (Shortest-Expected-Processing-Time) is the best achievable goal.
What Problem Does This Paper Address?
In many modern systems—from cloud computing to online service platforms—a scheduler must manage a queue of heterogeneous jobs. The time it takes to complete a job often depends on observable features (contexts), but the exact relationship between context and service rate is initially unknown. The scheduler must "learn while doing": estimating the service model from outcomes while simultaneously minimizing the number of unfinished jobs (queue-length regret).
Previous research largely focused on preemptive settings, where a scheduler can stop a job mid-service to start a more promising one. However, in the real world, many tasks (like physical repairs or complex computations) are nonpreemptive. This constraint fundamentally changes the game. In preemptive systems, a simple "myopic" rule—always serve the job with the highest departure probability—is optimal. In nonpreemptive systems, this rule fails because starting a job commits the server for an uncertain duration, potentially blocking it from handling better jobs that might arrive later.
Methods
The authors model the system as a single-server queue where job departure probabilities follow a logistic model based on a $d$-dimensional context vector. They address two main scenarios:
- Known Horizon ($T$): They propose the Learn–Clear–Plan (LCP) algorithm.
- Learn: Uses a First-Come-First-Served (FCFS) policy to collect initial data and estimate the model parameters.
- Clear: Waits for the queue to become empty to provide a clean slate.
- Plan: Uses the estimated model to solve a finite-horizon Bellman recursion, making decisions that account for the remaining time in the horizon.
- Unknown Horizon: Since the optimal action depends on the remaining time, the authors prove it's impossible to achieve vanishing regret against a finite-horizon optimum without knowing the horizon. Instead, they propose an estimated-SEPT algorithm that tracks the SEPT policy, updating its estimates only between "busy periods" to maintain statistical independence.
A key technical innovation is the use of workload-based arrival analysis. By focusing on the total "workload" (sum of service times) rather than just the number of jobs, the authors can analyze the system's stability and performance independently of the specific scheduling policy used.
Datasets
The paper is primarily theoretical and does not use real-world datasets. Instead, it utilizes synthetic "hard instances"—specifically designed mathematical scenarios—to prove lower bounds and demonstrate that myopic policies can be suboptimal.
Key Insights and Ideas
- The Failure of Myopia: In nonpreemptive scheduling, the "best" job right now isn't always the best job to start. If you have a job that is likely to take a long time and only a few rounds left in your "workday," it might be better to idle and wait for a faster job to arrive.
- Horizon-Dependence: The optimal policy is not stationary. The best action at a given queue state changes as the remaining time ($T-t$) decreases.
- Impossibility of Anytime Optimality: The authors establish a significant "impossibility result": no single policy can be optimal for all possible horizons simultaneously. This justifies the shift toward "tracking" a fixed reference policy (like SEPT) in anytime settings.
- Workload as a Tool: Workload analysis provides a way to bypass the complexities of nonpreemptive scheduling by looking at the total service demand, which is invariant to the order in which jobs are served (as long as the server isn't idle when work is available).
Key Results
The paper's main findings are summarized in the table below:
- Known Horizon: The LCP algorithm achieves a regret of $\widetilde{O}(\sqrt{d/T})$. The authors provide a lower bound of $\Omega(\min\{1/\sqrt{d}, \sqrt{d/T}\})$, showing that LCP is optimal (up to logarithmic factors) when the horizon $T$ is sufficiently large ($T \ge d^2$).
- Unknown Horizon: The estimated-SEPT algorithm achieves a tracking error of $\widetilde{O}(\sqrt{d/t})$, effectively matching the performance of the true SEPT policy as time progresses.
Limitations and Future Work
The primary limitation acknowledged is the focus on a single-server system. Extending these results to multi-server environments is significantly more difficult because the workload contributed by a job becomes policy-dependent (it depends on which server eventually processes it).
Future research directions include:
- Developing regret bounds for multi-server nonpreemptive settings.
- Exploring settings where the context distribution $\mathcal{D}$ might change over time.
- Investigating the computational efficiency of the Bellman recursion in LCP for very large state spaces.
Summary updated