Practical and Optimal Algorithm for Linear Contextual Bandits with Rare Parameter Updates
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: Next we'll be talking about the paper "Practical and Optimal Algorithm for Linear Contextual Bandits with Rare Parameter Updates".
Jane: The paper was written by Sanghoon Yu and Min-hwan Oh from Seoul National University.
Tom: Stay tuned as we take you through the paper and discuss its implications.
Title: Tom: Welcome back, everyone. Today we're looking at a fresh paper from arXiv with a mouthful of a title: "Practical and Optimal Algorithm for Linear Contextual Bandits with Rare Parameter Updates." Jane, I'm going to need you to unpack that title for me, because my brain just glazed over.
Jane: Happy to, Tom. So imagine you're running a recommendation system, like the one that suggests videos or products. Every time a user shows up, you see a bunch of possible items, each with some features, and you have to pick one. The goal is to learn what works best over time. That's a contextual bandit problem.
Tom: And the "linear" part?
Jane: That just means we assume the value of each item can be estimated by a straight-line formula based on its features. It's a simplifying assumption, but it works surprisingly well in practice.
Tom: Okay, so what's the big deal about "rare parameter updates"?
Jane: That's the heart of it. In the real world, updating your model isn't free. You don't just tweak a number. You have to retrain, recompute confidence intervals, maybe run privacy checks or get human approval. That's expensive. So this paper asks: can we still do well if we only update the model a handful of times, like, say, O(log log T) times over the whole run?
Tom: And O(log log T) is... tiny, right? For a horizon of ten thousand, that's like, four or five updates?
Jane: Exactly. The paper's authors, Sanghoon Yu and Min-hwan Oh from Seoul National University, they show you can get the best possible regret—the standard measure of how much you lose by not always picking the best item—while barely ever updating your model.
Tom: So it's like studying for a test only four times and still getting an A?
Jane: That's the dream, and this paper claims to make it real. And the best part is they do it without some of the heavy computational tricks that earlier methods relied on. We'll dig into that in a bit, but for now, just know that this is about making smart decisions with very little maintenance.
Tom: I love it. A paper that promises efficiency and optimality at the same time. Let's see if the math holds up in the next segment.
Summary: Tom: So we're back with "Practical and Optimal Algorithm for Linear Contextual Bandits with Rare Parameter Updates." Jane, you mentioned they achieve optimal regret with few updates. Can you break down what they actually did?
Jane: Sure. They propose two algorithms. The first one, BLCE-G, uses something called a G-optimal design. That's a fancy way of saying it carefully picks which arms to explore so it learns the most from each pull. The second one, BLCE, skips that step entirely and relies on a simpler, uncertainty-driven exploration.
Tom: And both of them hit the same theoretical wall, the minimax lower bound?
Jane: Precisely. The regret bound they achieve is O(√(dT) · (√(log(KT)) ∧ √(d + log T)) · √(log d log log T)). That matches the best possible performance you can hope for, up to some logarithmic factors.
Tom: That's a lot of square roots. But the key point is that it's optimal in both the small-K and large-K regimes, right?
Jane: Exactly. If you have few arms, the bound looks one way. If you have tons of arms, it looks another way. Prior work could handle one regime or the other, but not both simultaneously with so few updates.
Tom: And what's the catch? There's always a catch.
Jane: The catch is computation. The first algorithm, BLCE-G, is theoretically tight but computationally heavy because G-optimal design is expensive to compute. The second one, BLCE, gives up a tiny bit of tightness in the regret bound but is much faster. It's the first optimal algorithm that doesn't need G-optimal design at all.
Tom: So it's a trade-off between the tightest bound and the fastest runtime?
Jane: Exactly. And the paper even shows that BLCE runs in O(Kd2T log log T) time, which is the lowest among all optimal algorithms. That's a big deal for anyone who actually wants to deploy this.
Tom: I'm starting to see why the authors are excited. Let's bring in Lu and Meng to get their takes on the implications.
Lu: From a theory standpoint, this is a beautiful result. The fact that you can get minimax-optimal regret with only O(log log T) parameter updates under a static schedule is surprising. It shows that the lack of adaptivity isn't as costly as we thought.
Meng: And from an engineering standpoint, the runtime matters more than the regret bound. If I'm running this on a server with millions of users, I can't afford to recompute a G-optimal design every round. BLCE's approach is much more practical.
Tom: So we have theory and practice agreeing for once?
Jane: It looks that way. And they even extend this to generalized linear models, which is a whole other can of worms. We'll get into that next.
Improvements: Tom: Welcome back. We're still on "Practical and Optimal Algorithm for Linear Contextual Bandits with Rare Parameter Updates." Jane, you teased that they extend this to generalized linear models. What does that mean?
Jane: So linear models assume the reward is a straight line. Generalized linear models allow for things like logistic regression, where the reward is a probability that saturates at zero and one. That's more realistic for things like click-through rates or medical outcomes.
Tom: And the paper handles that too?
Jane: Yes, with a third algorithm called BGLE. And here's the kicker: their regret bound doesn't depend on a nasty parameter called κ, which measures how curved the link function is. In saturated regimes, κ can blow up to infinity, making prior bounds useless.
Lu: That's a significant improvement. The prior work by Sawarni et al. had a transient term that scaled with κ. This paper removes that dependence entirely, which means the algorithm stays efficient even when the model is heavily saturated.
Meng: So in practice, that means the algorithm won't stall or perform terribly just because the reward function is flat in some regions?
Jane: Exactly. And they achieve this while keeping the same O(log log T) parameter updates. So you get the best of both worlds: rare updates and robust performance.
Tom: That sounds like a win. But what about the practical side? Does BGLE run fast?
Meng: The time complexity is O(Kd2T log log T) plus the cost of computing the MLE at interval boundaries. That's comparable to BLCE, which is already the fastest optimal algorithm we've seen.
Lu: And the experiments back this up. They ran simulations with different numbers of arms and dimensions, and their algorithms consistently outperformed the baselines in both regret and runtime. BLCE was especially fast, almost as fast as the suboptimal baselines.
Tom: So they're not just claiming theoretical superiority; they're showing it works in practice.
Jane: Right. And they even relaxed the i.i.d. assumption on contexts, which is a nice touch. Their analysis works under weaker conditions, making it more applicable to real-world data.
Tom: I'm impressed. Let's wrap this up in the next segment.
Conclusion: Tom: Alright, we're at the end of our discussion on "Practical and Optimal Algorithm for Linear Contextual Bandits with Rare Parameter Updates." Jane, give us the final takeaway.
Jane: The big idea is that you can have your cake and eat it too. You can get minimax-optimal regret with only O(log log T) parameter updates, and you can do it without relying on computationally expensive G-optimal design. The paper offers two algorithms for linear bandits—one with the tightest bound, one with the fastest runtime—and a third for generalized linear models that avoids the curvature trap.
Lu: And the theoretical contribution is solid. They've essentially shown that rare parameter updates don't force you to sacrifice optimality, as long as you're allowed to use reward-free within-interval context information.
Meng: From my side, the runtime improvements are the real story. BLCE's complexity is low enough that I could see it being deployed in production systems without a huge infrastructure investment.
Tom: So what's the impact on the world?
Lalam: If I may, the impact is cultural as well as technical. When algorithms become cheaper to run, they become accessible to smaller teams and organizations. That means better recommendation systems for niche platforms, more personalized education tools, and even more efficient clinical trials. The barrier to entry drops, and that's a win for everyone.
Jane: Well said, Lalam. And with that, we'll say goodbye to this paper. It's been a pleasure diving into it.
Tom: Thanks for listening, everyone. Next up, we'll be looking at a paper on federated learning. See you then.
Sanghoon Yu, Min-hwan Oh
Seoul National University
stat.ML, cs.LG
Submitted: 2026-08-22
Updated: 2026-08-25
Comments: Accepted at ICML 2026
License: http://creativecommons.org/licenses/by/4.0/
Importance score: 82/100
The gist: The paper studies stochastic linear contextual bandits under rare parameter updates, where the learner may incorporate reward feedback into its parameter estimate only at a small number of update
Key concepts
- Contextual Bandit Problem
- This is a recommendation system where the goal is to learn what works best over time. When a user appears, you choose one item from many based on its features, and your objective is to maximize reward.
- Linear Contextual Bandits
- This assumes the value of an item can be estimated using a straight-line formula based on its features. This simplifying assumption is used because it works well in practice for recommendation systems.
- Rare Parameter Updates
- This refers to the constraint that updating a model is expensive, requiring retraining or recomputation. The paper addresses how to perform well even if updates are limited to a small number of times over the entire run.
- G-optimal design
- This is a method used in one of the proposed algorithms (BLCE-G). It carefully selects which items (arms) to explore based on maximizing learning from each pull, though it is computationally expensive.
Terminology
Summary
The paper studies stochastic linear contextual bandits under rare parameter updates, where 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. The authors clarify 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).
The paper explicitly distinguishes three operational settings: (i) fully sequential (fully adaptive) contextual bandits; (ii) strictly batched contextual bandits, which disallow within-interval context adaptivity; and (iii) rare parameter updates, which restrict reward-dependent parameter updates but allow reward-free within-interval context adaptivity.
The authors state: "In deployments of bandit algorithms, the practical bottleneck is often not selecting an action given a context, but updating the underlying model once new reward feedback arrives: model retraining, confidence set recomputation, or posterior updates may require expensive pipelines, logging joins, privacy checks, or human-in-the-loop validation."
The authors introduce BLCE-G (Batched-Feedback Linear Contextual Bandit with Elimination and G-optimal design), which combines near G-optimal design with arm elimination. It achieves the worst-case regret bound:
R(T) = O (sqrt dT (sqrt (KT) sqrt d + T) sqrt d sqrt T)
This simultaneously matches the minimax lower bounds (d sqrt T) in the large-K regime (K at least (e d)) and (sqrt dT K) in the small-K regime (K at most O(e d)), up to logarithmic factors, while requiring only O(T) parameter updates under a static schedule.
The authors propose BLCE (Batched-Feedback Linear Contextual Bandit with Elimination), which removes the near G-optimal design step—a dominant computational bottleneck in prior strictly batched static-grid methods—yet preserves minimax-optimal regret. BLCE achieves:
R(T) = O (sqrt dT (sqrt (KT) sqrt d + T) sqrt T sqrt T)
BLCE attains the lowest known runtime complexity among optimal algorithms: O(Kd squared T T). The authors state: "To our knowledge, BLCE is the first linear contextual bandit algorithm with rare parameter updates that achieves minimax-optimal regret without relying on G-optimal design, which has traditionally been regarded as essential in strictly batched static-grid settings."
The authors extend their rare-update and computational principles to generalized linear contextual bandits with the BGLE (Batched-Feedback Generalized Linear Contextual Bandit with Elimination) algorithm. BGLE achieves:
R(T) = O (RS sqrt d(d+ T)T T T over sqrt) + O ((R squared S e 8RS d(d+ T) T T + R)T 1/3)
Both the leading and transient terms are κ-free, in sharp contrast to prior work (Sawarni et al., 2024) whose transient term depends on κ. The authors note: Since µ̇(z) → 0 in saturation, κ can grow arbitrarily large, so removing this dependence is a substantial improvement.
-
First interval: Rounds are divided into two phases with ratio c: (1-c). During the first c-fraction, arms are sampled according to a near G-optimal design over A t; in the remaining (1-c) -fraction, the algorithm selects the most informative direction with respect to the current Gram matrix.
-
Subsequent intervals (at least 2): Rounds are partitioned in the ratio c squared: c(1-c): (1-c). In the first c squared-fraction, arms are sampled according to a near G-optimal design over A t(-1). In the next c(1-c) -fraction, the algorithm selects the most informative direction relative to the Gram matrix. In the final (1-c) -fraction, arms are chosen greedily with respect to the latest estimate.
-
The algorithm performs-1 elimination rounds using past estimates 1,,-1, yielding nested feasible sets A t(1),, A t(-1).
-
First interval: The algorithm repeatedly pulls the most informative direction with respect to the current Gram matrix.
-
Subsequent intervals (at least 2): Rounds are divided into two phases. In the first phase of length cT 1-2-over 2 2 T, the algorithm selects the most informative direction with respect to the current Gram matrix. In the second phase, arms are chosen greedily with respect to the latest estimate.
-
The elimination procedure is the same as BLCE-G, but without the G-optimal design phase.
-
First interval: The algorithm repeatedly pulls the most informative direction with respect to the current Gram matrix.
-
Subsequent intervals (at least 2): The Gram matrix is weighted by alpha t, -1(lambda) (x t,a t,-1), where alpha t,k(lambda) = (-2RS) 1k=1 + (-R(2S x t,a t V k-1 beta(lambda))) 1k at least 2.
-
Beginning at interval at least 3, the algorithm performs-2 elimination rounds using estimates 2,,-1.
All three algorithms use a static grid schedule with B = O(T) parameter updates. For BLCE-G and BLCE, the interval end times are defined as T 1 = sqrt T over 2 2 T + 1 and T = T-1 + T 1-2-over 2 2 T + 2 T for at least 2. For BGLE, the schedule is T = T 1-1 over 3 times 2-4 over 2 2 T T for at least 4, with T = T-1 + T 1/3 over 2 2 T for at most 3.
The authors show in Remark 1 that the i.i.d. context assumption can be relaxed to batch-wise conditions:
-
Law(A t F T-1) about D-1, t in [T-1+1, T+1]
-
A t !!! A s, x s,a s, r s s=T-1+1 T F T-1, t in [T+1, T+1]
-
A s !!! A u, x u,a u, r u u=T-1+1 s-1 F T-1, s in (T-1+1, T]
These conditions are strictly weaker than full i.i.d., requiring only (i) equality of the conditional context law across consecutive intervals and (ii) conditional independence across and within intervals.
-
BLCE-G: O(Kd squared T(d + T)) — the main costs are near G-optimal design (O(Kd 3) per call) and arm elimination (O(Kd squared T T) total).
-
BLCE: O(Kd squared T T) — only arm elimination is a bottleneck.
-
BGLE: O(Kd squared T T + C opt tot), where C opt tot is the total oracle cost of solving the log-loss minimization at interval boundaries.
The paper identifies computational bottlenecks in existing strictly batched algorithms:
-
Ruan et al. (2021): Repeatedly compute G-optimal design distributions, leading to large polynomial dependence on d.
-
Hanna et al. (2023b): Discretize the space using a fine (1/T) -net of size (T d), yielding exponential dependence on d.
-
Zhang et al. (2025): Execute a near G-optimal design policy at every round of batch 1, incurring O(Kd 3) time per round.
The paper evaluates BLCE-G and BLCE over T = 10, 000 rounds across four (K,d) pairs: (1000,5), (5000,10) (large-K regime) and (50,20), (100,30) (small-K regime). Both algorithms consistently outperform baselines (RS-OFUL, BatchLinUCB-DG, SoftBatch, BatchLearning) in both regimes, achieving the lowest regret with greater stability. Runtime comparisons show BLCE achieves the fastest runtime among optimal algorithms, comparable even to suboptimal baselines. For generalized linear contextual bandits, BGLE outperforms B-GLinCB with lower regret and reduced computation.
Improvements for AI systems
Based on the paper, here are the specific improvements I can make to AI systems:
1. Rare-Update Sequential Decision-Making
-
The AI system can now make optimal decisions in contextual bandit settings while updating its underlying reward model only O(log log T) times over a horizon of T rounds—a dramatic reduction from the O(d log T) or O(K log T) updates required by prior methods.
-
This is critical for real-world deployments where model retraining is expensive (e.g., recommender systems, clinical trials, inventory control) because the system can process incoming contexts and make decisions in real-time while deferring expensive parameter updates to rare, scheduled intervals.
2. Computational Efficiency Without Sacrificing Optimality
-
The system (via the BLCE algorithm) achieves minimax-optimal regret—matching theoretical lower bounds—while eliminating the computationally expensive G-optimal design step that prior optimal algorithms required.
-
Total time complexity is reduced to O(Kd2T log log T), which is the lowest among all known optimal algorithms. In practice, this translates to runtime improvements of 4-10x over the next best optimal method (e.g., 1.62 seconds vs. 23.40 seconds for BLCE vs. BLCE-G at K=1000, d=5).
3. Adaptive Within-Interval Context Processing
-
Unlike strictly batched methods that commit to fixed action rules at interval boundaries, the improved system can perform lightweight, reward-free updates within each interval using only the observed contexts and chosen actions.
-
This allows the system to exploit real-time context information (e.g., updating Gram matrices, uncertainty scores, or elimination candidate sets) without waiting for reward feedback, bridging the gap between fully sequential and strictly batched approaches.
4. Dual-Regime Optimality
-
The system simultaneously achieves optimal regret in both the small-K regime (K ≤ O(e d)) and large-K regime (K ≥ Ω(e d)):
-
Small-K: regret scales as Õ(√(dT log K))
-
Large-K: regret scales as Õ(d√T)
-
This means the same algorithm performs optimally whether the system faces a few well-separated arms or many densely-packed arms, without requiring regime-specific tuning.
5. Relaxed Assumptions on Context Distributions
-
The system's guarantees hold under conditions strictly weaker than the standard i.i.d. context assumption used by all prior work.
-
It only requires: (i) equality of conditional context distributions across consecutive intervals, and (ii) conditional independence across and within intervals. This makes the system applicable to non-stationary or slowly-varying context distributions.
6. Generalized Linear Model Extension (BGLE)
-
The system extends to generalized linear contextual bandits (e.g., logistic regression for binary rewards) with regret bounds that are independent of the worst-case curvature parameter κ—a significant improvement over prior work whose transient terms could diverge in saturation regimes.
-
This makes the system robust to link functions with vanishing derivatives (e.g., logistic regression in extreme probability regions), where prior methods would fail.
7. Practical Flexibility in Exploration-Exploitation Trade-off
- The within-interval allocation rate c ∈ (0,1) can be tuned by practitioners. Empirical results show that smaller c values (more greedy exploitation) tend to improve performance in benign stochastic environments, giving users control over the exploration-exploitation balance without violating theoretical guarantees.
8. Stable and Low-Variance Performance
- In numerical experiments across various context distributions (uniform, normal, Student-t, Beta, Laplace, Exponential), the system consistently achieves lower cumulative regret with smaller standard deviation compared to all baselines, indicating both better average performance and greater reliability.
Abstract
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(T) 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(T) parameter updates that are also computationally efficient in practice.
Sources
Related papers
- Behavior of prediction performance metrics with rare events
- Optimal Estimation of Generic Dynamics by Path-Dependent Neural Jump ODEs
- A Posterior-Dynamics Framework for Imaging Inverse Problems with Pretrained Diffusion Priors
- One Permutation Is All You Need: Fast, Deterministic Feature Importance and Model Stress-Testing
- Online Conformal Prediction for Non-Exchangeable Panel Data
- Deep Time-Series Forecasting in 10 Years: A Survey