In queueing systems, the holding costs of jobs may evolve in uncertain ways. For example, in content moderation for social media platforms, the cost of delaying the review of a content piece is proportional to its view trajectory, which fluctuates and is a priori unknown. To capture such uncertain and evolving holding cost patterns, we consider a queueing model where job states evolve based on a Markov chain with state-dependent instantaneous holding costs. We demonstrate that in the presence of such uncertain and evolving holding costs, the two canonical algorithmic principles, instantaneous-cost (cμ-rule) and expected-remaining-cost (cμ/θ-rule), are suboptimal. By viewing each job as a Markovian ski-rental problem, we develop a new index-based algorithm, Opportunity-adjusted Remaining Cost (OaRC), that adjusts to the opportunity of serving jobs in the future when uncertainty partly resolves. We show that the suboptimality gap of OaRC scales as O~(N), where N is the system size. This bound shows that OaRC achieves asymptotic optimality for overloaded systems when the system size N scales to infinity. Moreover, the bound is independent of the state-space size, which is a desirable property when job states contain contextual information. We corroborate our results with an extensive simulation study based on two holding cost patterns (online ads and user-generated content) that arise in content moderation for social media platforms. Our simulations based on synthetic and real datasets demonstrate that OaRC consistently outperforms existing practice, which is based on the two canonical algorithmic principles.
Figures & tables
Figure 1: In each period, both a Text and a Video (with unknown color) arrive with the given holding cost trajectories. With review capacity of only one post per period, existing algorithmic principles (instantaneous or expected remaining cost) always serve new Video jobs. A better algorithm Waits for one period to know if a Video is of low (blue) or high (red) virality. This enables it to save capacity by not reviewing a blue Video .
Figure 2: An example for the water-filling procedure of constructing (qo,νo) . There are six states, S={1,2,3,4,5,6} with transition probability as given in the leftmost figure. The arrival rate and service rate are λ=0.8 and μ=0.7. The priority ordering is (2,3,5,4,6,1). States with stripes are blocked states (State 2 is fully, State 5 is partially). State 4 is the partially-served state and State 6 is a partially-reduced state. State 3 is an empty state and State 1 is a un-reduced state.
Figure 3: View trajectories of five content pieces with highest cumulative views in the three datasets
Figure 4: YouTube data: policy-violating views of algorithms and reviewer-hour savings by HOaRC
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
Symbol
Meaning
S
state space
L
number of levels of the tree (maximum length of a job’s cost trajectory)
θ
minimum abandonment probability
S0,…,Sℓ,…,SL−1
states on level ℓ of the tree
P(i,k)
the probability of transitioning from state i to state k
p(i)
the probability of transitioning from its parent to state i
Appendix
Table 1: Notation for jobs’ tree-shaped Markov chain
Symbol
Meaning
N
the system size which scales to ∞
λ,μ
the (normalized) arrival and service rates
R(t)
the random number of available servers in period t
Q(t)=(Qi(t))i∈S
the number of state- i jobs at the beginning of period t
R(t)=(Ri(t))i∈S
the number of served state- i jobs in period t
Z(t)=(Zi(t))i∈S
the number of remaining state- i jobs after service in period t , which is equal to Qi(t)−Ri(t)
Appendix
Table 2: Notation for system dynamics
Symbol
Meaning
q=(qi)i∈S
fluid-scaled queue length for state i
ν=(νi)i∈S
fluid-scaled service for state i
C⋆
the minimum cost in the fluid LP ( OriginalFluid )
P⋆
the maximum prevented cost, which is λcf(r)−C⋆
π(i)
the probability of a job becoming state i , which is ∏a∈Anc(i)p(a)
π(i)/π(a)
the probability of a state- a job to become a state- i job
Appendix
Table 3: Notation for analysis
Figure 5: UGC: policy-violating views of algorithms and reviewer-hour savings by HOaRC
Figure 6: Ads: policy-violating views of algorithms and reviewer-hour savings by HOaRC
Figure 7: Policy-violating views when the maximum calibration error varies ( 5% review ratio)
Figure 8: Policy-violating views when the platform has a correct prior ((a)) or a wrong prior ((b)) of violation of each content and gradually improves it.
1%
5%
10%
15%
Offline
Bandit
Offline
Bandit
Offline
Bandit
Offline
Bandit
Velocity
16.3
16.3
10.6
10.7
7.63
7.24
5.49
5.56
pIV
17.3
17.7
10.7
10.2
6.09
5.94
4.15
4.11
HOaRC
16.4
16.3
10.3
9.60
6.11
5.91
4.09
3.93
Appendix
Table 4: Policy-violating views across review ratios, with all values in units of 108 .
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>0, it ensures a uniform expected queue length and time-average holding-cost bounds. For a target horizon T, choosing VT=Θ(IT) at initialization yields O((I+d2)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/δ) and O(IT/δ), respectively.
Jung-hun Kim, Milan Vojnovic
CREST, ENSAE Paris, France · London School of Economics, United Kingdom
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 t 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) 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.
Seoungbin Bae, Dabeen Lee
Department of Industrial & Systems Engineering, KAIST · Department of Mathematical Sciences, Seoul National University
Reinforcement learning in queueing network scheduling presents significant challenges because of the countably infinite state space and the high stochasticity in transitions. In this paper, we propose zeroth-order policy optimization algorithms that are easy to implement and rely solely on estimates of the average cost, a single scalar quantity, without requiring the estimation of value or advantage functions. Our analysis focuses on back-pressure guarded policies and establishes uniform smoothness of the average cost objective with respect to the policy parameters. Building on this property, we establish finite-time convergence guarantees to an ε-stationary policy for the proposed algorithms. Numerical experiments on multiple queueing networks, including systems beyond classical exponential service distribution, demonstrate competitive performance, outperforming gradient-based RL methods like PPO and traditional queueing baselines.