potentialpaper

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

Seoungbin Bae, Dabeen Lee

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Contextual queueing bandits provide a framework for learning to schedule heterogeneous jobs under unknown context-dependent service rates. Under stochastic contexts, existing algorithms achieve O~(T−1/4)\widetilde{\cal O}(T^{-1/4}) queue length regret, defined as the expected difference between the learner's and oracle's queue lengths at horizon TT. In this paper, we improve this rate to O~(T−1/2)\widetilde{\cal O}(T^{-1/2}). The key observation is that random exploration is needed only up to a carefully chosen cutoff round, rather than throughout the entire horizon. We propose CQB-η\eta-2, a three-phase algorithm: (i) pure random exploration to construct an initial estimator, (ii) η\eta-random exploration combined with a UCB rule to continue learning while maintaining negative drift, and (iii) pure UCB after the exploration cutoff. Our proof decomposes the queue length regret at the cutoff round. Before the cutoff, negative drift suppresses queue length differences caused by suboptimal choices. After the cutoff, the first two phases provide sufficient random exploration samples, ensuring that UCB decisions incur small departure-rate gaps. Combining these two bounds yields queue length regret of order O~(T−1/2)\widetilde{\cal O}(T^{-1/2}). We further prove a minimax lower bound of order Ω(T−1/2)\Omega(T^{-1/2}). The proof constructs two hard instances that are statistically indistinguishable up to the final service decision, and uses a queue-specific coupling argument to convert the resulting testing error into queue length regret. Together, our upper and lower bounds characterize the minimax dependence on the horizon TT up to logarithmic factors.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
3 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:46 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

While marginally above the acceptance threshold, the reviewers have two chief criticisms: 1) the algorithm requires knowledge of unknown problem-dependent quantities, and 2) the upper and lower bounds appear to not match up to problem-dependent quantities. The paper could be substantially strengthened and put solidly into the acceptance category if these two issues could be resolved, or at least some clarification is obtained on the feasibility of a resolution.

Post discussion: Some reviewers point out that some open questions remain but all agree this submission is a substantial contribution worthy of acceptance.

Final justification

See above.

Area Chair NkgQ · Meta-reviewOpenReview ↗
Final justification
See above.
Read meta-review
Meta-review

While marginally above the acceptance threshold, the reviewers have two chief criticisms: 1) the algorithm requires knowledge of unknown problem-dependent quantities, and 2) the upper and lower bounds appear to not match up to problem-dependent quantities. The paper could be substantially strengthened and put solidly into the acceptance category if these two issues could be resolved, or at least some clarification is obtained on the feasibility of a resolution.

Post discussion: Some reviewers point out that some open questions remain but all agree this submission is a substantial contribution worthy of acceptance.

1 comment
Authors · CommentOpenReview ↗

Final Remarks

We have responded to all reviewer comments and will revise the manuscript accordingly. In particular, we address the two issues emphasized in the meta review: prior knowledge of problem parameters and the gap between the upper and lower bounds.

  • Prior knowledge of ϵ\epsilon and TT [R1-W2, R2-Q2, R3-W2&W3]: We assume ϵ\epsilon and TT to focus on establishing the nearly minimax-optimal O~(T−1/2)\widetilde O(T^{-1/2}) rate for queue length regret. We present a confidence-based rule for unknown ϵ\epsilon and a doubling approach that reuses the queue and previous samples for unknown TT, and leave their formal analyses as future work.

  • Gap between the upper and lower bounds [R1-W4, R2-W1]: Our bounds match in the horizon TT, but not in ϵ\epsilon, κ\kappa, dd, or σ0−1\sigma_0^{-1}. We explain why the current hard instances cannot capture these parameters and discuss stronger hard instances and variance-adaptive confidence bounds as possible ways to narrow the gap.

  • Traffic slackness assumption [R3-W1]: We propose replacing the pointwise assumption with the workload condition λE[1/p⋆(X)]≤1−ϵ\lambda\mathbb E[1/p^\star(X)]\le1-\epsilon, which accounts for jobs with small service probabilities remaining in the queue longer. We will add this relaxation and the required new drift analysis as future work.

  • Algorithm and notation corrections [R1-W1, R1-Q1--Q4]: We will make Algorithm 1 skip all updates when the queue is empty, consistently with the proof. We will also clarify repeated contexts, the time index, exploration on new arrivals, and the missing definitions.

  • Theoretical and experimental phase lengths [R1-W3, R2-Q1, R3-Q2]: We will state that the theoretical phase lengths are O~(log⁡T)\widetilde O(\log T), T−O~(log⁡T)T-\widetilde O(\log T), and O~(log⁡T)\widetilde O(\log T), while the experiment uses a practical schedule to demonstrate the benefit of stopping forced exploration.

  • Additional experiments [R3-Q3]: We added horizon-scaling and exploration-cutoff experiments. The results show decreasing queue length regret and similar performance across the tested cutoffs.

  • Scope of the objective [R1-W5]: Our theorem controls queue length regret at horizon TT. We will clarify this scope and discuss cumulative queue length regret and context-dependent holding costs as future work.

Reviewer iZ1fOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper studies an online scheduling problem with a single queue, stochastic arrivals, i.i.d. contexts, and unknown logistic service probabilities. The performance criterion is terminal queue length regret, where the comparison is against the oracle policy that knows the service model. The proposed algorithm, CQB-η\eta-2, has three phases: pure random exploration, η\eta-random exploration combined with UCB, and pure UCB after an exploration cutoff. Theorem 5 gives an upper bound with O~(T−1/2)\tilde O(T^{-1/2}) horizon dependence, and Theorem 10 gives a matching Ω(T−1/2)\Omega(T^{-1/2}) lower bound in TT. This improves the O~(T−1/4)\tilde O(T^{-1/4}) horizon rate from the closest contextual queueing bandit results of Bae et al.

The proof is a split of the policy-switching decomposition: before the cutoff, negative drift suppresses the future effect of queue discrepancies; after the cutoff, the samples collected earlier make the UCB departure-rate gap small. This is a clean online-algorithmic idea.

Strengths and weaknesses

The paper gives a meaningful terminal-regret improvement and a proof that explains why a pure-UCB terminal phase can achieve the O~(T−1/2)\tilde O(T^{-1/2}) horizon rate.

Assumption 4 requires every context xx to have some server with departure probability at least λ+ϵ\lambda+\epsilon. This is a pointwise slackness condition, stronger than a distributional stability condition, and it rules out hard contexts even when the system could be stable on average.

Algorithm 1 takes as input quantities such as λ0\lambda_0, λ\lambda, ϵ\epsilon, σ0\sigma_0, κ\kappa, and the phase points derived from them. These are structural constants, and the theorem's feasibility condition τ2−τ1≥T/2\tau_2-\tau_1\ge T/2 depends strongly on them.

The paper should give a transparent lower bound on the horizon under which the theorem applies, and it should say which parameter values are assumed known versus estimated or tuned. This is important because the displayed regret bound has severe dependence on ϵ\epsilon and σ0\sigma_0.

The main limitations are theory-type limitations.

Questions

The comparison to Bae et al. 2026 ab would be sharper if it seperates inherited assumptions, new assumptions, and exact model differences. Several proof components are imported or adapted from Bae et al., including the policy-switching decomposition, confidence and burn-in lemmas, and coupling properties. The new ingredient appears to be the way Lemma 6 is used with two different controls on the two factors across the cutoff. A table covering model, assumptions, phases, persistence of random exploration, and regret rate would make the incremental advance easier to verify.

Section 5 uses one synthetic setting with T=2000T=2000, d=10d=10, K=5K=5, 10 runs, and rejected instances that fail the slackness or κ\kappa assumptions. The practical implementation sets τ1=0.2T\tau_1=0.2T, τ2=0.3T\tau_2=0.3T, δ=T−1\delta=T^{-1}, and scales the confidence radius by 0.1, which is far from the theorem-motivated late cutoff and confidence choice. This may be a useful heuristic, but the text should explicitly distinguish it from the analyzed algorithm.

The empirical case would be stronger with scaling plots over TT, an ablation over τ2\tau_2, and a comparison to the theorem-motivated late cutoff when computationally feasible. Since the baseline comparison reports both CQB-η\eta-2 and CQB-ϵ\epsilon as having the smallest final regret, the practical gain over the closest prior-style baseline is currently unclear.

Limitations

The main limitations are theory limitations: the cutoff certified by the proof is late, the schedule depends on several problem constants, the lower bound establishes optimality only in the horizon exponent, and the experiments use a different schedule from the one analyzed.

These limit the significance of the paper as its contribution type is theory.

Final justification

The authors have given a reasonable and detailed response to my questions. I am therefore raising the score to 5.

Formatting concerns

Did not notice

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the careful assessment and helpful suggestions.

[W1] Pointwise traffic slackness

We thank the reviewer for pointing out that Assumption 4 is stronger than a distributional stability condition. A condition based on workload gives a possible way to weaken it while accounting for how long each job remains in the queue.

  • A direct relaxation would replace Assumption 4 with E[p⋆(X)]≥λ+ϵ\mathbb E[p^\star(X)]\ge\lambda+\epsilon, where p⋆(x):=max⁡aμ(⟨ϕ(x,a),θ⋆⟩)p^\star(x):=\max_a\mu(\langle\phi(x,a),\theta^\star\rangle). However, this condition does not account for jobs with small service probabilities remaining in the queue longer. For example, let λ=0.5\lambda=0.5 and let p⋆(X)p^\star(X) equal 0.90.9 with probability 0.90.9 and 0.010.01 with probability 0.10.1. Although E[p⋆(X)]=0.811>λ\mathbb E[p^\star(X)]=0.811>\lambda, we have λE[1/p⋆(X)]=5.5>1\lambda\mathbb E[1/p^\star(X)]=5.5>1, so even the oracle queue is unstable.

  • This example suggests weighting each queued job by the expected number of service attempts needed to complete it. Define W(t)=∑x∈Xt1/p⋆(x)W(t)=\sum_{x\in\mathcal X_t}1/p^\star(x) and assume λEX∼D[1/p⋆(X)]≤1−ϵ\lambda\mathbb E_{X\sim\mathcal D}[1/p^\star(X)]\le1-\epsilon. The oracle then has negative drift: when the queue is nonempty, E[W(t+1)−W(t)∣Ft]=λE[1/p⋆(X)]−1≤−ϵ\mathbb E[W(t+1)-W(t)\mid\mathcal F_t]=\lambda\mathbb E[1/p^\star(X)]-1\le-\epsilon.

Our current proof tracks queue length rather than W(t)W(t). Extending it requires a new drift and coupling argument for this weighted quantity. We will add this direction as future work.

[W2&W3] Required parameters and sufficient horizon

Algorithm 1 assumes that d,K,S,κ,σ0,T,λd,K,S,\kappa,\sigma_0,T,\lambda, and ϵ\epsilon are known, while the learner chooses λ0\lambda_0 and δ\delta. We will state these requirements and the sufficient lower bound on TT in the main theorem.

  • The theorem requires T≥2(1+4/ϵ)τ1+256log⁡(T)/ϵ2+2T\ge 2(1+4/\epsilon)\tau_1+256\log(T)/\epsilon^2+2. Substituting τ1\tau_1 gives T=Ω~(d/(λϵσ04)+κ2d/(λϵ3σ02)+1/(λϵ)+1/ϵ2)T=\widetilde\Omega\bigl(d/(\lambda\epsilon\sigma_0^4)+\kappa^2d/(\lambda\epsilon^3\sigma_0^2)+1/(\lambda\epsilon)+1/\epsilon^2\bigr). We will add both forms to Theorem 5.

Our paper assumes that ϵ\epsilon and TT are known and focuses on obtaining the optimal O~(T−1/2)\widetilde O(T^{-1/2}) rate for queue length regret. Previous work suggests the following possible ways to remove these two inputs.

  • For unknown ϵ\epsilon, one promising approach is to follow GSLUCB [3] and replace ϵ\epsilon in the exploration rule with a lower confidence bound ϵ^t\widehat\epsilon_t on the service slack. Once the UCB based decision is certified to have service probability at least λ+ϵ^t\lambda+\widehat\epsilon_t, the algorithm would use ϵ^t\widehat\epsilon_t to set the random exploration probability, just as Phase 2 of Algorithm 1 uses ϵ\epsilon. We expect that this rule can preserve negative queue drift while collecting random samples.

  • For unknown TT, we may instead adapt the doubling trick, a standard technique for converting a horizon-dependent algorithm into an anytime algorithm. Unlike the standard doubling trick, our approach would not restart learning in each epoch. When the horizon guess doubles, the algorithm would continue with the current queue and reuse all previous samples. We expect that combining this sample reuse with a suitable exploration schedule can retain the O~(t−1/2)\widetilde O(t^{-1/2}) rate. We leave its formal analysis as future work.

We will add this discussion to the paper and present these extensions as future work.

[Q1] Comparison with prior work

We thank the reviewer for suggesting a direct comparison with the closest prior work. We will add a table comparing the model, assumptions, phase structure, random exploration schedule, proof components, and queue length regret of [1], [2], and our paper.

[Q2] Theoretical and experimental phase lengths

We thank the reviewer for pointing out this discrepancy. We will distinguish the experimental schedule from the theoretical one in Section 5 and in the figure caption.

  • The theoretical phase lengths are O~(log⁡T)\widetilde O(\log T), T−O~(log⁡T)T-\widetilde O(\log T), and O~(log⁡T)\widetilde O(\log T). The experiment instead uses (0.2T,0.1T,0.7T)(0.2T,0.1T,0.7T).

  • The experiment shows the empirical benefit of stopping forced exploration after a finite cutoff. It does not verify the theoretical phase lengths or the asymptotic T−1/2T^{-1/2} rate.

[Q3] Additional empirical evaluation

We added experiments on scaling in TT and the exploration cutoff. Each entry is the mean queue length regret at horizon TT, with one standard deviation.

  • We varied T∈{500,1000,2000,4000}T\in\{500,1000,2000,4000\}.
TT CQB-η\eta-2 CQB-ϵ\epsilon ACQB
500 17.6±13.617.6\pm13.6 17.1±10.117.1\pm10.1 49.6±17.149.6\pm17.1
1000 8.2±14.28.2\pm14.2 6.6±8.86.6\pm8.8 59.2±30.659.2\pm30.6
2000 1.5±2.41.5\pm2.4 2.0±2.72.0\pm2.7 42.5±31.842.5\pm31.8
4000 0.1±0.30.1\pm0.3 0.2±0.40.2\pm0.4 11.6±19.211.6\pm19.2

CQB-η\eta-2 and CQB-ϵ\epsilon perform similarly, and their regrets decrease with TT. CQB-η\eta-2 also outperforms ACQB at every tested horizon.

  • We fixed T=2000T=2000 and τ1=0.2T\tau_1=0.2T, and varied τ2\tau_2.
τ2/T\tau_2/T 0.3 0.4 0.5 0.7 0.9 1.0
CQB-η\eta-2 1.5±2.41.5\pm2.4 1.0±1.81.0\pm1.8 1.4±2.51.4\pm2.5 1.3±2.11.3\pm2.1 1.5±2.11.5\pm2.1 1.8±2.81.8\pm2.8

The results are similar across the tested cutoffs. However, τ2/T=1\tau_2/T=1, which never turns off random exploration, gives a slightly larger mean regret.

  • The exact theoretical constants do not give a feasible schedule at T=2000T=2000. Since Phases 1 and 3 have the same order in the theorem, we view τ2/T=0.7\tau_2/T=0.7 and 0.90.9 as late cutoff comparisons. We will state that these are experimental choices.

References

[1] Bae et al., "Queue Length Regret Bounds for Contextual Queueing Bandits", ICLR, 2026.

[2] Bae et al., "Learning to Route and Schedule LLMs from User Retrials via Contextual Queueing Bandits", arXiv, 2026.

[3] Amani et al., "Linear Stochastic Bandits Under Safety Constraints", NeurIPS, 2019.

Reviewer iZ1f · CommentOpenReview ↗

I thank the authors for their detailed response. I will raise my score to 5.

Reviewer kejdOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
4/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies the problem of contextual queueing bandit, which is a scheduling and resource allocation optimization problem. It provides bounds on the Terminal Queue Length regret given by RT=E(Q(T)−Q∗(T))R_{T} = E(Q(T)-Q*(T)). Here Q(T)Q(T) represents the action value function at horizon length TT and Q∗Q* denotes the optimal action value function. The main result that had been obtained here is the improvement of the regret bound that was O(T−1/4)O(T^{-1/4}) and improved it to O(T−1/2)O(T^{-1/2}). The key idea behind this improvement is the removal of the joint exploration and exploitation in a combined manner as the process proceeds. It it instead broken up into different sections. It instead splits up into different sections, it starts off with an exploration phase, followed by a combined exploration and (Upper Confidence Bound)UCB optimism phase followed by the pure UCB optimism phase. The work then gives simulations to support their results. It also obtains a matching lower bound.

Strengths and weaknesses

Strengths

  1. A major theoretical improvement. Improving the horizon dependence from T−1/4T^{-1/4} to T−1/2T^{-1/2}, while also providing a matching lower bound in T, is a strong contribution. The result does more than improve constants: it shows that the earlier looser rates were due to the maintaining of exploration throughout the horizon.

  2. The three-phase design is well motivated. Phase 1 explores the system, Phase 2 combines explorations and standard online learning, and Phase 3 implements the more standard online learning structure.

  3. The lower bound is tailored to the queueing objective. The hard-instance construction is not a generic bandit lower bound pasted into the setting. It uses complementary optimal-server sets, an indistinguishability argument through Bernoulli KL divergence, which makes the two processes hard to distinguish. That substantially strengthens the paper relative to an upper-bound-only result.

Weakness

  1. The lower bound matches the upper bound in terms of the horizon length TT but in terms of the other parameters the match has not yet been established.
Questions
  1. The experimental method requires the first phase to be 0.2 times the horizon length and the second phase as 0.3 times the horizon length. Is there any accounting for this in the theoretical analysis?

  2. The algorithm requires several parameters whose knowledge is needed beforehand. Is there any possible adaptive extensions to your works you are considering.

Limitations

Yes

Final justification

Based on the detailed responses of the reviewers, they have satisfied my concerns and thus I will maintain my positive score.

Formatting concerns

None

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the helpful comments and for recognizing the improvement in the horizon dependence and our lower bound for queue length regret.

[W1] Dependence of the lower bound on other parameters

We agree that our upper and lower bounds match in TT, but not in ϵ\epsilon, κ\kappa, dd, or σ0−1\sigma_0^{-1}. Our primary focus is to optimize the dependence on TT and thereby obtain rate-optimal queue length regret. Nonetheless, refining the dependence on other important problem parameters remains open. We discuss possible approaches for ϵ\epsilon, then κ\kappa, and finally dd and σ0−1\sigma_0^{-1}.

  • For ϵ\epsilon, the current hard instances do not become more congested as ϵ\epsilon decreases. Their optimal service probability exceeds the arrival rate λ\lambda by 1−λ+ϵ2+1−λ−ϵ8T\frac{1-\lambda+\epsilon}{2}+\frac{1-\lambda-\epsilon}{8\sqrt T}. For fixed λ\lambda, this gap does not approach zero with ϵ\epsilon. Thus, the current construction cannot give a sharp lower bound in ϵ\epsilon.

  • One possible construction for ϵ\epsilon sets p=λ+ϵp=\lambda+\epsilon and q=p−2Δq=p-2\Delta, where Δ=Θ(T−1/2)\Delta=\Theta(T^{-1/2}), and tracks queue differences over many rounds. Since a queue with service probability r>λr>\lambda has mean E[Qr]=λ(1−λ)/(r−λ)\mathbb E[Q_r]=\lambda(1-\lambda)/(r-\lambda), this construction suggests a lower bound of order Ω(1/(ϵ2T))\Omega(1/(\epsilon^2\sqrt T)). A proof would require a new coupling over multiple rounds.

  • For κ\kappa, variance adaptive confidence bounds [2,3] may improve our upper bound. Our proof uses the unweighted matrix Vt=λ0I+∑s=1tϕsϕs⊤V_t=\lambda_0 I+\sum_{s=1}^t\phi_s\phi_s^\top and a confidence radius of order O~(κd)\widetilde O(\kappa\sqrt d). The analyses in [2,3] use the logistic Hessian Ht(θ⋆)=λ0I+∑s=1tμ˙(⟨ϕs,θ⋆⟩)ϕsϕs⊤H_t(\theta^\star)=\lambda_0 I+\sum_{s=1}^t\dot\mu(\langle\phi_s,\theta^\star\rangle)\phi_s\phi_s^\top and obtain a radius of order O~(d)\widetilde O(\sqrt d). Adapting this analysis may remove κ\kappa from the leading T−1/2T^{-1/2} term, but it must also handle the κ\kappa dependence of our Phase 1 burn in period.

  • For dd and σ0−1\sigma_0^{-1}, our hard instances use only two feature directions. A construction using all dd directions may strengthen the lower bound to Ω(d/T)\Omega(\sqrt{d/T}). The more difficult question concerns σ0−1\sigma_0^{-1}. Under ∥ϕ∥2≤1\|\phi\|_2\le1, σ0−2≥d\sigma_0^{-2}\ge d even in the best case, while our Phase 1 length depends on σ0−1\sigma_0^{-1}. It remains open whether this dependence is necessary or can be removed from the leading upper bound.

We will add these limitations and possible directions to the discussion.

[Q1] Experimental and theoretical phase lengths

The experimental phase lengths are not the theoretical choices. We used them to show the benefit of stopping forced exploration after a finite cutoff.

  • Under the theoretical choices, τ1=O~(log⁡T)\tau_1=\widetilde O(\log T) and τ2=T−O~(log⁡T)\tau_2=T-\widetilde O(\log T). Hence, Phase 1 has length O~(log⁡T)\widetilde O(\log T), Phase 2 has length T−O~(log⁡T)T-\widetilde O(\log T), and Phase 3 has length O~(log⁡T)\widetilde O(\log T).

  • The experiment uses τ1=0.2T\tau_1=0.2T and τ2=0.3T\tau_2=0.3T. It does not verify the theoretical phase lengths or the asymptotic T−1/2T^{-1/2} rate.

We will explain this difference in Section 5 and in the figure caption.

[Q2] Adaptive extensions

As noted, our paper assumes that ϵ\epsilon and TT are known and focuses on obtaining the optimal O~(T−1/2)\widetilde O(T^{-1/2}) rate for queue length regret. Previous work suggests the following possible ways to remove these two inputs.

  • For unknown ϵ\epsilon, one promising approach is to follow GSLUCB [4] and replace ϵ\epsilon in the exploration rule with a lower confidence bound ϵ^t\widehat\epsilon_t on the service slack. Once the UCB based decision is certified to have service probability at least λ+ϵ^t\lambda+\widehat\epsilon_t, the algorithm would use ϵ^t\widehat\epsilon_t to set the random exploration probability, just as Phase 2 of Algorithm 1 uses ϵ\epsilon. We expect that this rule can preserve negative queue drift while collecting random samples.

  • For unknown TT, we may instead adapt the doubling trick, a standard technique for converting a horizon-dependent algorithm into an anytime algorithm. Unlike the standard doubling trick, our approach would not restart learning in each epoch. When the horizon guess doubles, the algorithm would continue with the current queue and reuse all previous samples. We expect that combining this sample reuse with a suitable exploration schedule can retain the O~(t−1/2)\widetilde O(t^{-1/2}) rate. We leave its formal analysis as future work.

We will add this discussion to the paper and present these extensions as future work.

References

[1] Bae et al., "Learning to Route and Schedule LLMs from User Retrials via Contextual Queueing Bandits", arXiv, 2026.

[2] Faury et al., "Improved Optimistic Algorithms for Logistic Bandits", ICML, 2020.

[3] Bae et al., "Neural Logistic Bandits", ICML, 2026.

[4] Amani et al., "Linear Stochastic Bandits Under Safety Constraints", NeurIPS, 2019.

Reviewer kejd · CommentOpenReview ↗

I thank the reviewers for the detailed response. I will maintain my positive score.

Reviewer prznOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies contextual queueing bandits, where arrival is Bernoulli and service rate is modeled as a logistic function of its feature vector and an unknown parameter. The paper proposes a three-phase algorithm, which improves the existing regret bound O~(T−1/4)\tilde{O}(T^{-1/4}) to O~(T−1/2)\tilde{O}(T^{-1/2}). The paper also establishes a matching lower bound in the dependence on TT, up to logarithmic factors.

Strengths and weaknesses

Strengths:

The proposed three-phase algorithm is interesting, which improves the existing regret bound O~(T−1/4)\tilde{O}(T^{-1/4}) to O~(T−1/2)\tilde{O}(T^{-1/2}). The authors also establish a lower bound that matches the upper bound in terms of the order of TT up to logarithmic factors.

Weaknesses:

  1. The model says if the queue is empty, the agent selects a dummy pair (x0,a0)(x_0, a_0) and the observation is not used for learning. However, in Algorithm 1, from Line 16 and Equation (2), the algorithm does not exclude those observations. So, the proof will not apply to the algorithm as written. I believe the intended algorithm should skip these updates when the queue is empty, but this should be stated explicitly, and the proof needs to be modified to be rigorous.

  2. The choice of parameters η\eta, δ\delta, τ1\tau_1, τ2\tau_2 in Algorithm 1 requires prior knowledge of both the horizon TT and the traffic slackness ϵ\epsilon. This makes the algorithm less practical, because ϵ\epsilon depends on the unknown service model and is typically not known to the learner. It would be helpful to discuss whether the algorithm can be made adaptive to ϵ\epsilon. A horizon-free version of the algorithm would also improve its practical applicability.

  3. The paper gives formulas for τ1\tau_1, τ2\tau_2, but it does not explicitly discuss the resulting lengths of the three phases. Under the theoretical parameter choices, it seems that Phase 1 has length O(log⁡T)O(\log T), Phase 2 has length T–O(log⁡T)T – O(\log T), and that Phase 3 has length O(log⁡T)O(\log T). This is somewhat surprising because the final pure-UCB phase is only logarithmic in the theory part, whereas the experiments make Phase 3 a constant fraction of the horizon. This discrepancy should be clarified.

  4. The lower bound does not capture any blow-up as the traffic slackness ϵ\epsilon goes to zero, while the upper bound has a strong polynomial dependence on 1/ϵ1/\epsilon.

  5. The paper only characterizes the final regret. In many queueing applications, cumulative queue-length regret, average holding cost, or an anytime guarantee would be more directly relevant.

Questions
  1. Section 2.1: Are all the job contexts in the queue distinct? If not, the notation may not be accurate, because there could be multiple jobs in the queue that have the same context xtx_t.

  2. Algorithm 1, Line 9-11: The time index is not clear. Why is it t−1t-1 rather than tt? The action xtx_t has time step tt. And it seems to indicate that if there is no arrival in the previous step, the algorithm will not do the random exploration using existing jobs in the queue, regardless of the phase.

  3. Equation (3): λ0\lambda_0 has not been defined clearly.

  4. ϕi\phi_i in Eq. (2) is not explicitly defined.

Limitations

Please see Weaknesses.

Final justification

The paper makes a good theoretical contribution to the literature by improving the existing regret bound from O~(T−1/4)\widetilde{O}(T^{-1/4}) to O~(T−1/2)\widetilde{O}(T^{-1/2}).

Several important issues remain for future work. First, the algorithm still depends on prior knowledge of TT and ϵ\epsilon. Second, the lower bound matches only the TT-dependence of the upper bound, but not the dependence on ϵ\epsilon. In addition, the experimental phase choices suggest that the theoretical phase-length analysis may be conservative: a longer pure-UCB phase may improve empirical performance by turning off forced exploration earlier, but the current proof does not justify this choice.

Formatting concerns

None

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the careful and detailed comments.

[W1] Updates when the queue is empty

While we do consider the empty queue case in our proof, the reviewer is correct that Algorithm 1, as written, omits the required empty-queue branch. We will correct the pseudocode so that the learner skips all updates when the queue is empty. This correction makes the pseudocode consistent with the proof.

  • If Xt=∅\mathcal X_t=\emptyset, the algorithm selects the dummy pair, sets D(t)=0D(t)=0, and skips the design-matrix and MLE updates, so that Vt=Vt−1V_t=V_{t-1} and θ^t=θ^t−1\widehat\theta_t=\widehat\theta_{t-1}.

  • The proof already handles an empty queue separately. It defines the departure-rate gap as zero when the queue is empty, uses Q(t+1)=A(t)Q(t+1)=A(t) when Q(t)=0Q(t)=0, and applies the negative-drift bound only until the queue first becomes empty. We will also state that the design matrix and MLE are updated only when Xt≠∅\mathcal X_t\neq\emptyset. These corrections do not change the regret bound.

[W2] Prior knowledge of ϵ\epsilon and TT

We agree that requiring prior knowledge of ϵ\epsilon and TT can be an issue in practice. Nevertheless, the primary focus of this paper is to establish a nearly minimax-optimal guarantee, which is a standard objective in online learning theory. In particular, we make this assumption to focus on obtaining the optimal O~(T−1/2)\widetilde O(T^{-1/2}) rate for queue length regret. We believe that existing methods for adapting to unknown problem parameters suggest the following possible extensions.

  • For unknown ϵ\epsilon, one promising approach is to follow GSLUCB [2] and replace ϵ\epsilon in the exploration rule with a lower confidence bound ϵ^t\widehat\epsilon_t on the service slack. Once the UCB based decision is certified to have service probability at least λ+ϵ^t\lambda+\widehat\epsilon_t, the algorithm would use ϵ^t\widehat\epsilon_t to set the random exploration probability, just as Phase 2 of Algorithm 1 uses ϵ\epsilon. We expect that this rule can preserve negative queue drift while collecting random samples.

  • For unknown TT, we may instead adapt the doubling trick, a standard technique for converting a horizon-dependent algorithm into an anytime algorithm. Unlike the standard doubling trick, our approach would not restart learning in each epoch. When the horizon guess doubles, the algorithm would continue with the current queue and reuse all previous samples. We expect that combining this sample reuse with a suitable exploration schedule can retain the O~(t−1/2)\widetilde O(t^{-1/2}) rate. We leave its formal analysis as future work.

We will add this discussion to the paper and present these extensions as future work.

[W3] Theoretical and experimental phase lengths

We thank the reviewer for pointing this out. Let us clarify the gap between the theoretical and experimental choices.

  • As noted by the reviewer, the theoretical choices give τ1=O~(log⁡T)\tau_1=\widetilde O(\log T) and τ2=T−O~(log⁡T)\tau_2=T-\widetilde O(\log T). Thus, Phases 1, 2, and 3 have lengths O~(log⁡T)\widetilde O(\log T), T−O~(log⁡T)T-\widetilde O(\log T), and O~(log⁡T)\widetilde O(\log T), respectively. We will state these lengths after defining τ1\tau_1 and τ2\tau_2.

  • As observed, the experiment uses (τ1,τ2)=(0.2T,0.3T)(\tau_1,\tau_2)=(0.2T,0.3T), so the three phases have lengths 0.2T0.2T, 0.1T0.1T, and 0.7T0.7T, which differ from the lengths required for the theorem. The experiment instead confirms our theoretical finding that dividing the horizon into phases is effective by illustrating the benefit of turning off forced exploration after a finite cutoff.

We will state this more explicitly in Section 5 and the figure caption.

[W4] Dependence of the lower bound on ϵ\epsilon

We thank the reviewer for pointing this out. As observed, our lower bound matches the T−1/2T^{-1/2} dependence of the upper bound, but does not match its dependence on ϵ\epsilon. While optimizing the dependence on ϵ\epsilon is important, we first explain why the current proof does not capture it and then discuss a possible construction that may strengthen the lower bound.

  • First, the current hard instances do not capture the case where ϵ\epsilon is small. Their optimal service probability exceeds the arrival rate λ\lambda by 1−λ+ϵ2+1−λ−ϵ8T\frac{1-\lambda+\epsilon}{2}+\frac{1-\lambda-\epsilon}{8\sqrt T}. For fixed λ\lambda, this gap does not approach zero with ϵ\epsilon. These instances therefore cannot show how the regret grows as ϵ\epsilon becomes small.

  • The current proof also changes only the decision in round T−1T-1, so it creates a difference of at most one job. It cannot capture queue differences accumulated over many rounds.

  • One possible construction sets p=λ+ϵp=\lambda+\epsilon and q=p−2Δq=p-2\Delta, where Δ=Θ(T−1/2)\Delta=\Theta(T^{-1/2}), and tracks suboptimal decisions over many rounds. Since a Bernoulli queue with service probability r>λr>\lambda has mean E[Qr]=λ(1−λ)/(r−λ)\mathbb E[Q_r]=\lambda(1-\lambda)/(r-\lambda), this construction suggests a lower bound of order Ω(1/(ϵ2T))\Omega(1/(\epsilon^2\sqrt T)). A proof would require a new coupling over multiple rounds.

We will add this discussion to the paper and leave the sharp dependence on ϵ\epsilon as future work.

[W5] Terminal and cumulative objectives

Our theorem controls queue length regret at horizon TT. It does not cover cumulative queue length or average holding cost. Nonetheless, refining our result to obtain an anytime guarantee would lead to a cumulative regret bound.

  • We cannot sum the current bound over tt because Algorithm 1 is tuned to one horizon TT. An anytime policy with E[Qπ(t)−Qπ∗(t)]≤O~(t−1/2)\mathbb E[Q^\pi(t)-Q^{\pi^*}(t)]\le \widetilde O(t^{-1/2}) would instead give cumulative queue length regret O~(T)\widetilde O(\sqrt T). This also motivates the anytime extension in [W2].

  • With a unit holding cost per job, average holding cost is the cumulative queue length divided by TT, so it is covered by the same unresolved cumulative objective. Context dependent holding costs are not included in the existing contextual queueing bandit model and would define a further extension of the problem.

We will clarify that our objective is evaluated at horizon TT and discuss cumulative queue length regret and context dependent holding costs as future work.

[Q1] Repeated job contexts

No. Job contexts need not be distinct. We will clarify that Xt\mathcal X_t represents the collection of contexts of the jobs currently in the queue and may contain repeated contexts.

[Q2] Time index and exploration on existing jobs

The arrival A(t−1)A(t-1) occurs before the action in round tt, which is why Algorithm 1 uses the index t−1t-1. When A(t−1)=0A(t-1)=0, the algorithm does not perform random exploration because a job remaining in the queue is not an i.i.d. draw from D\mathcal D. We will clarify both points below Algorithm 1.

[Q3] Definition of λ0\lambda_0

λ0\lambda_0 is the positive regularization parameter of the logistic MLE, with V0=λ0IV_0=\lambda_0 I. We use λ0=1\lambda_0=1 and will add this missing definition.

[Q4] Definition of ϕi\phi_i

In Equation (2), ϕi:=ϕ(xi,ai)\phi_i:=\phi(x_i,a_i) for each round ii in which the queue is nonempty. We will add this missing definition.

References

[1] Bae et al., "Learning to Route and Schedule LLMs from User Retrials via Contextual Queueing Bandits", arXiv, 2026.

[2] Amani et al., "Linear Stochastic Bandits Under Safety Constraints", NeurIPS, 2019.

Reviewer przn · CommentOpenReview ↗

Thank you for the detailed response. It addresses most of my concerns, and I appreciate the authors’ clarifications.

Several important issues remain left for future work. First, the algorithm still depends on prior knowledge of TT and ϵ\epsilon. Second, the lower bound matches only the TT-dependence of the upper bound, but not the dependence on ϵ\epsilon. In addition, the experimental phase choices suggest that the theoretical phase-length analysis may be conservative: a longer pure-UCB phase may improve empirical performance by turning off forced exploration earlier, but the current proof does not justify this choice. I appreciate that the authors plan to add discussions and future directions on these points.

Overall, I find the response satisfactory regarding my main technical concern, and I hope these limitations will be clearly stated in the revision.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…