cs.LGSep 7, 2026

Learning Adaptive SED for heterogeneous load balancing

Authors: Sanne van Kempen, Jaron Sanders, Fiona Sloothaak, Maarten G. Wolf

Abstract

We study a two-server load balancing system with heterogeneous service rates that are a priori unknown to the dispatcher. The goal is to route customers according to the Shortest--Expected--Delay (SED) policy, but this requires knowledge of the service rates. Empirical policies that route based on estimates perform poorly: due to estimation error, the empirical policy disagrees with the oracle on an infinite region of the state space. We propose an online learning algorithm that converges to SED while learning the service rates. The algorithm carefully balances empirical SED routing with forced exploration phases that guarantee sufficient sampling of both servers. We prove that our algorithm achieves finite regret; this differs from classical Multi-Armed Bandit settings where regret typically grows logarithmically in time. Finally, numerical experiments demonstrate the performance of our algorithm and highlight the regimes in which forced exploration is especially beneficial.

Figures & tables

Explore similar work

Sep 29, 2026

Nonpreemptive Scheduling While Learning Context-Dependent Service Rates

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.
Jul 30, 2026

Learning-Augmented and Randomized Algorithms for Line Aggregation with Delays

This paper studies learning-augmented and randomized online aggregation with delays on a line metric. We consider advice given as online suggested service lengths, and evaluate the algorithms in terms of robustness and consistency. For each λ∈(0,1]λ\in (0,1], we first propose a deterministic learning-augmented Balance algorithm that is (4/λ+1/λ2)(4/λ+1/λ^2)-robust and (4+λ)(4+λ)-consistent. We also propose a randomized algorithm for the problem in the classical adversarial model, which is (e+1)(e+1)-competitive against an oblivious adversary, improving over the deterministic 55-competitive Balance benchmark~\cite{bienkowski2013chain}. Notably, this competitive ratio is even lower than the lower bound of 44 for deterministic online algorithms. Moreover, we establish a lower bound of ee on the competitive ratio of randomized online algorithms, improving the previous lower bound of e/(e−1)e/(e-1). Besides, we combine the two ideas and obtain a randomized learning-augmented algorithm that is (e/λ+1/λ2)(e/λ+1/λ^2)-robust and (e+λ)(e+λ)-consistent. Finally, we conduct numerical experiments to complement our theoretical analysis and evaluate the empirical performance of our algorithms.
Oct 5, 2026

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

We study contextual queueing bandits, where a learner schedules jobs while learning unknown service rates modeled by logistic functions of job-server features. Performance is measured by queue length regret, the expected excess queue length at round tt relative to an oracle that knows the service rates. Existing decaying-regret guarantees either have a suboptimal decay rate or require a known fixed horizon. They also assume context-wise slack and a strictly positive minimum eigenvalue of the feature covariance. In this paper, we propose WISE (Widest Interval Selection with Elimination), achieving rate-optimal O~(t−1/2)\widetilde{\mathcal O}(t^{-1/2}) queue length regret at every sufficiently large time without knowing the horizon. We assume capacity slack, meaning that expected incoming workload under best-server service is below service capacity, and impose no covariance lower bound. Our analysis uses a workload potential measuring the expected service attempts needed by waiting jobs on their best servers. Its drift on nonempty rounds combines a negative term ensured by capacity slack with errors from suboptimal service choices. Then an elliptical potential count bounds how often WISE selects wide confidence intervals, thereby limiting the number of rounds with large service errors. We also sharpen the arrival-rate dependence of an existing lower bound and make its dependence on feature dimension and server count explicit. We prove another lower bound that quantifies the increase in regret as the normalized capacity slack decreases; to our knowledge, this is the first such lower bound for CQB. Simulations show small regret even when context-wise slack fails.