cs.LGSep 29, 2026

Nonpreemptive Scheduling While Learning Context-Dependent Service Rates

Authors: Wansoo Choi, Seoungbin Bae, Dabeen Lee

Organizations: Department of Mathematical Sciences, Seoul National University · Department of Industrial & Systems Engineering, KAIST

Abstract

We study nonpreemptive contextual queueing bandits in a single-server system. Each job is represented by a dd-dimensional context vector; in each round, a job may arrive with its context drawn from an unknown distribution D\mathcal{D}, and its departure probability is determined by a logistic model of that context vector with an unknown parameter θ∗θ^*. The server learns from service outcomes while deciding which waiting job to serve and whether to idle, aiming to minimize queue-length regret, the gap between its expected terminal queue length and the minimum achievable by an admissible policy. Once selected, a job must be served until completion, and we refer to this as the nonpreemptive setting. A central challenge is that, even with full model knowledge, the optimal policy cannot in general be characterized by a simple myopic rule, since the optimal action can change with the remaining horizon at the same queue state. Nevertheless, when the model and horizon are known, the optimal action can be obtained through a finite-horizon Bellman recursion. Motivated by this, we propose Learn--Clear--Plan (LCP), which estimates the system and uses the resulting Bellman recursion to make horizon-dependent decisions. LCP achieves O~(d/T)\widetilde{O}(\sqrt{d/T}) queue-length regret, while a lower-bound construction gives Ω(min⁡{1/d,d/T})Ω(\min\{1/\sqrt{d},\sqrt{d/T}\}) regret for every learning policy on some instance, establishing optimality up to polylogarithmic factors when T≥d2T\ge d^2. When the horizon is unknown, no horizon-independent policy achieves vanishing regret against the finite-horizon optimum. We therefore use SEPT, the policy that serves a waiting job with the highest probability of departure, as a fixed reference, and suggest an estimated-SEPT algorithm that achieves a tracking error of O~(d/t)\widetilde{O}(\sqrt{d/t}) without knowing the model.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Learning While Scheduling Jobs under Context-Dependent Service Rates: An Anytime Rate-Optimal Algorithm

    Oct 5, 2026Seoungbin Bae, Dabeen LeeMulti-Armed BanditsContextual Bandits

  2. Algorithm for Contextual Queueing Bandits with Rate-Optimal Queue Length Regret

    Jun 8, 2026Seoungbin Bae, Dabeen LeeExploration-Exploitation TradeoffRegret Minimization

  3. Learning to Route and Schedule LLMs from User Retrials via Contextual Queueing Bandits

    Feb 2, 2026Seoungbin Bae, Junyoung Son, Dabeen LeeLLM ServingLLM Routing