Recent work shows that when contexts are drawn i.i.d., linear contextual bandits can be reduced to single-context linear bandits. This ``contexts are cheap'' perspective is highly advantageous, as it allows for sharper finite-time analyses and leverages mature techniques from the linear bandit literature, such as those for misspecification and adversarial corruption. However, this reduction crucially relies on the independence of contexts and does not extend to settings with temporally correlated (e.g., Markovian) contexts, which arise frequently in practice. Motivated by applications with temporally correlated availability, we extend this perspective to linear bandits with Markovian context processes, where the action set evolves via an exogenous Markov chain. Our main contribution is a reduction that applies under uniform geometric ergodicity. We construct a stationary surrogate action set to solve the problem using a standard linear bandit oracle, employing a delayed-update scheme to control the bias induced by the nonstationary conditional context distributions. We further provide a phased algorithm for unknown stationary distributions that learns the surrogate mapping online. In both settings, we obtain a high-probability worst-case regret bound matching that of the underlying linear bandit oracle in sufficiently fast mixing regimes. We then validate our results on a real-world instance, where we show practical gains over a LinUCB baseline.
Figures & tables
Figure 1: Sketch of the outdoor experiment site and vehicle trajectory.
Figure 2: Performance of Algorithm 2 on the bandit instance with linearized rewards. Shaded regions show ± one standard error around the mean across runs.
Figure 3: Performance of Algorithms 1 and 2 on the bandit instance with rewards equal to the utility function.
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
Known best bound
Our Markovian reduction
Variant
Bound
Type
Bound
Type
Base
O(dTlogT) [ Abbasi-Yadkori et al., 2011 ]
w.h.p.
O(dTlogT)
w.h.p.
Misspecified
O(dTlogT+εdT) [ Foster et al., 2020 ]
exp.
O(dTlogT+εdTlogT)
w.h.p.
Adv. corrupt.
O~(d4.5T+d4C) [ Wei et al., 2022 ]
w.h.p.
O~(dT+d1.5C)
w.h.p.
Appendix
Table 1: Comparison between the known best guarantees for representative contextual linear bandit variants and the guarantees obtained by applying our Markovian reduction. Here, “w.h.p.” denotes high-probability bounds and “exp.” denotes bounds in expectation.
Object
Symbol
Definition
Value
Nodes
N
sensing nodes
9
Actions
∣S∣
selected subset size
1,2,3
∣At∣
∑k=13(kN)=(19)+(29)+(39)
129
Utility
ρ
distance scale in ut(S)
10
(w1,w2,w3)
weights on sorted selected-node distances
(1,0.45,0.20)
Context ct
dnode
features per node
9
Appendix
Table 2: Core numerical parameters and feature dimensions for the bandit instance construction.
Tower
Input
Hidden widths
Nonlinear layers
Output
Context tower
ct∈R85
512,256
LayerNorm after the first hidden layer; ReLU after both hidden layers
zc(ct)∈R8
Action tower
ψt(S)∈R42
512,256
LayerNorm after the first hidden layer; ReLU after both hidden layers
za(ψt(S))∈R8
Appendix
Table 3: Two-tower embedding architecture.
Object
Symbol
Construction
Value
Replay
Torig
original real-data contexts
7208
Treplay
replay horizon
106
Δreplay
effective time step between replayed contexts
5 sec.
State proxy
dPCA
PCA dimension before clustering
10
Kstate
number of K -means clusters after PCA
20
Mixing proxy
Cmix
fitted prefactor in ( 1 )
1.29
Appendix
Table 4: Environment characteristics for the bandit instance
Figure 4: Diagnostics for the Markovian bandit instance over one replay period. (a) demonstrates ergodicity, (b) shows the visitation frequency of context groups and (c) demonstrates the rewards obtained from the model and model misspecification
Object
Symbol
Role
Value
Instance
∣At∣
number of available actions per context
129
∣Θ∣
finite bank size of surrogate directions
256
Delay
cτ
delayed-feedback setting
1
cτ
no-delay ablation
0
Algorithm 2
radix
epoch growth factor
100
LinUCB
λ
regularization, used by baseline and reduced subroutines
1.0
Appendix
Table 5: Practical implementation parameters for the tested algorithms.
Figure 5: Performance of Algorithm 1 on the bandit instance with linearized rewards. Shaded regions show ± one standard error around the mean across runs.
We study linear contextual bandits under adversarial corruption and heavy-tailed noise with finite (1+ε)-th moments for some ε∈(0,1]. Existing work that addresses both adversarial corruption and heavy-tailed noise relies on a finite variance (i.e., finite second-moment) assumption and suffers from computational inefficiency. We propose a computationally efficient algorithm based on online mirror descent that achieves robustness to both adversarial corruption and heavy-tailed noise. While the existing algorithm incurs O(tlogT) computational cost, our algorithm reduces this to O(1) per round. We establish an additive regret bound consisting of a term depending on the (1+ε)-moment bound of the noise and a term depending on the total amount of corruption. In particular, when ε=1, our result recovers existing guarantees under finite-variance assumptions. When no corruption is present, it matches the best-known rates for linear contextual bandits with heavy-tailed noise. Moreover, the algorithm requires no prior knowledge of the noise moment bound or the total amount of corruption and still guarantees sublinear regret.
Naoto Tani, Futoshi Futami
The University of Osaka · RIKEN AIP · The University of Tokyo
We study linear contextual bandits under rare parameter updates: the learner may incorporate reward feedback into its parameter estimate only at a small number of update times, while still observing contexts online and selecting actions sequentially. This viewpoint clarifies a practical distinction that is often blurred in the literature: many "strictly batched" methods additionally restrict within-interval context adaptivity, meaning that the action rule inside an interval cannot depend on the sequence of realized contexts/actions in that interval (beyond the current round's context). For linear contextual bandits, we propose two practical algorithms with only O(loglogT) parameter updates. Our first algorithm BLCE-G attains minimax-optimal regret (up to polylogarithmic factors in T) simultaneously in both the small-K and large-K regimes under a static schedule. Our second algorithm BLCE removes the near G-optimal design step -- a dominant computational bottleneck in prior strictly batched static-grid methods -- yet preserves minimax-optimal regret and achieves the lowest known runtime complexity among optimal algorithms. We further extend these rare-update and computational principles to generalized linear contextual bandits. Overall, our results yield statistically optimal algorithms under O(loglogT) parameter updates that are also computationally efficient in practice.
Sanghoon Yu, Min-hwan Oh
Seoul National University, Seoul, Republic of Korea
We study stochastic linear contextual bandits with arbitrary action menus that may depend on the fixed parameter and the interaction history. We establish matching upper and lower bounds, up to logarithmic factors. Let d be the dimension, K be the menu size, and T the time horizon. For 2≤K≤d, we prove an upper bound O(K1/4dT). When T≥d2, we further prove a lower bound Ω(K1/4dT). Thus, for T≥d2 and 2≤K≤d, the upper and lower bounds match up to logarithmic factors, and the polynomial dependence on K is optimal. Compared with the previous O(dKT) bound, our upper bound improves the dependence on K by a factor of K1/4. For K≥d, we prove an upper bound Od,T(dTmin{d,(dlogK)1/4}) and a lower bound Ω(dTmin{d,(log(2d)dlogK)1/4}). Here, Od,T omits logarithmic factors only in d and T. In particular, for polynomially large K≥d, the upper and lower bounds both scale as d3/4T up to logarithmic factors, improving the standard O(dT) rate by a factor of d1/4. As K grows further, the regret smoothly recovers the dT scale once logK reaches order d.
Tianyuan Jin
Data Science and Analytics Thrust The Hong Kong University of Science and Technology (Guangzhou)