arXiv:2610.18258cs.LGOct 2026

Manuscript Offprint

arXiv:2610.18258

Optimal Online Regret for Context-Lumpable Bandits

Chenyu Lu, Zihan Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We study stochastic contextual bandits with an unknown context-lumpable structure. The SS contexts are partitioned into rr blocks, and every arm has the same mean reward across contexts in the same block. Under arbitrary context distributions and without separation assumptions, we design an algorithm with expected regret O~(r(S+K)T)\widetilde{O}\left(\sqrt{r(S+K)T}\right), matching the lower bound of Lee et al. (2023) up to logarithmic factors and improving their previous upper bound by a factor of rr.

The algorithm operates over dyadic accuracy levels, using a baseline policy and confidence-based early stopping to control exploration. It then performs cross-context elimination: since rewards are identical within a block, one selected arm eliminates all surviving records from that block, requiring at most rr selections at each level. Multi-scale exploration assigns finer accuracies to frequent blocks and coarser accuracies to rare blocks, yielding a near-optimal arm for every block while keeping the weighted policy error small.

1 Introduction

In contextual bandits, the learner observes a context, selects an arm, and receives feedback only for that arm. In recommendation, for example, feedback is observed only for displayed items (Li et al. 2010). Sharing observations across contexts can reduce learning cost, but the relation between their rewards may be unknown.

In context-lumpable stochastic bandits (Lee et al. 2023), SS contexts form r≤min⁡{S,K}r \leq \min\{S, K\} unknown blocks. Each of the KK arms has the same mean reward within a block. Observations can thus be shared within blocks, but the learner sees context identities without their block assignments. It must find useful arms and learn where they perform well from bandit feedback. Running a separate bandit for each context gives expected regret O~(SKT)\widetilde{O}(\sqrt{SKT}) over TT rounds (Lattimore and Szepesvári 2020), which can be wasteful when rr is small. Yet exploration across contexts incurs regret: an informative arm may be poor where it is sampled. Finding a good policy and minimizing regret are therefore distinct challenges. Lee et al. (2023) established nearly optimal sample complexity for finding a near-optimal policy of O~(r(S+K)ϵ2)\widetilde{O}\left(\frac{r(S+K)}{\epsilon^2}\right), while a sub-optimal regret bound of O~(r3(S+K)T)\widetilde{O}(\sqrt{r^3(S+K)T}). Their

*Email: cluba@connect.ust.hk regret algorithm refines a context partition while eliminating arms; ensuring that refinements do not split a true block incurs an extra factor of rr. They left O~(r(S+K)T)\widetilde{O}(\sqrt{r(S+K)T}) regret open. We attain this rate by controlling exploration during candidate-arm selection, without recovering the partition.

References (33)