cs.GTOct 13, 2026

Learning in Strategic Queuing with Geometric Recharge: From Bandits to Systems

Authors: Cristian Palma Foster, Eva Tardos

Organizations: Cornell University

Abstract

We study packet routing in queuing systems where queues act as selfish, myopic agents that use no-regret learning algorithms to select servers with unknown service rates. To model the small buffers used in data centers, we assume that each server has a single-packet buffer. Even such a tiny buffer already captures the features of buffering: routers can exploit multiple servers while accepted packets remain in service, but packets can occupy servers for multiple rounds, complicating future service and learning. We first analyze a single queue routing packets to mm buffered servers with service rates μ1,…,μmμ_1, \dots, μ_m. This setting is equivalent to an instance of the recharging bandits problem with geometric recharge. We prove that any no-regret learner achieves a long-run average throughput of at least the Hamacher sum of the server rates, and that this bound is tight. Consequently, a single no-regret queue is stable if and only if its arrival rate is below the Hamacher sum of the server rates. Moreover, comparing against an optimal policy, we show that any no-regret learner is at least 0.770.77-competitive, which is also tight. We then study multi-queue systems where nn queues with arrival rates λ1,…,λnλ_1, \dots, λ_n, each at most λmax⁡λ_{\max}, compete for service from mm buffered servers. We show that the smallest overprovisioning factor that guarantees the system to be stable under high-probability no-regret learning is 11−λmax⁡\frac{1}{1-λ_{\max}}. Equivalently, in terms of the total arrival and service rates, the condition ∑i=1nλi<(1−λmax⁡)∑j=1mμj\sum_{i=1}^n λ_i < (1-λ_{\max})\sum_{j=1}^m μ_j is sufficient, and sometimes necessary, for stability under no-regret learning. In particular, for λmax⁡=1/2λ_{\max} = 1/2, this improves the upper bound of Abel et al. (EC 2026) from 33 to 22, matching their lower bound and resolving their open question.

Figures & tables

Explore similar work

May 30, 2026

Online Packet Scheduling with Deadlines and Learning

Network routers that enforce Quality-of-Service (QoS) guarantees must decide, at every clock cycle, which expiring packet of information to transmit, even when the value of the packet is unknown until it is processed. We frame this problem as the Online Packet Scheduling with Deadlines (OPSD) problem under Partial Feedback: packets arrive at every clock cycle, with different deadlines, but the weights are only observed after execution. Under a stochastic assumption on the unknown weights, we explore different variants of the OPSD problem with bandit feedback. We establish a connection between our setting and the sleeping bandits problem, and set our learning goal to αα-regret minimization. We provide algorithms with provable αα-regret guarantees under different spans of slackness, distinguishing systems allowing for randomization and systems that do not. In every scenario, our algorithms achieve an αα-regret upper bound of O~(KT)\widetilde{\mathcal{O}}\left(\sqrt{KT}\right), matching the lower bound for the standard bandit setting. In the practically relevant case of 22-bounded deadline instances, where the deadline is set at most one clock cycle away from the arrival, our deterministic algorithm achieves the provably tightest possible competitive ratio. Remarkably, when the number of distinct packet types K≥2K\ge 2 is finite, it is possible to break the well-established Φ=1+52Φ= \frac{1+\sqrt{5}}{2} competitive ratio barrier and attain a tighter competitive ratio θKθ_K ranging in [2,Φ)[\sqrt{2}, Φ).
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.
Dec 13, 2021

Learning to Schedule in Parallel-Server Queues with Stochastic Bilinear Rewards

We consider the problem of scheduling in multi-class, parallel-server queuing systems with uncertain rewards from job-server assignments. In this scenario, jobs incur holding costs while awaiting completion, and job-server assignments yield observable stochastic rewards with unknown mean values. The mean rewards for job-server assignments are assumed to follow a bilinear model with respect to features that characterize jobs and servers. Our objective is to minimize regret by maximizing the cumulative reward of job-server assignments over a time horizon, while keeping the total job holding cost bounded to ensure the stability of the queueing system. This problem is motivated by applications requiring resource allocation in network systems. A central challenge is to control the tradeoff between reward maximization and fair allocation for the stability of the underlying queuing system (i.e., maximizing network throughput). To address this challenge, we propose a scheduling algorithm based on a weighted proportional fair criteria augmented with marginal costs for reward maximization, incorporating a bandit algorithm tailored for bilinear rewards. Our algorithm admits a regret--queue length tradeoff. For any fixed control parameter V>0V>0, it ensures a uniform expected queue length and time-average holding-cost bounds. For a target horizon TT, choosing VT=Θ(IT)V_T=Θ(\sqrt{IT}) at initialization yields O~((I+d2)T+1/δ)\widetilde O((\sqrt I+d^2)\sqrt T+1/δ) regret. Under this regret-optimized tuning, the corresponding expected queue length and time-average holding-cost bounds remain uniform over the execution time and scales as O(IT+1/δ)O(\sqrt{IT}+1/δ) and O(IT/δ)O(\sqrt{IT}/δ), respectively.