Contextual Bandits
Overview
Contextual bandits study how to choose an action using information about the current situation when feedback reveals the reward only for the action taken. Common approaches include linear and generalized linear models with UCB or Thompson sampling, alongside kernel, neural, and policy-based methods for richer reward patterns. Offline learning and evaluation, nonstationary or corrupted feedback, and constraints such as budgets, privacy, and safety extend these methods to settings including recommendation, pricing, and LLM routing. A central challenge is balancing exploration with reliable decisions when models are misspecified, feedback is sparse or delayed, and computational or operational costs matter.
Latest papers
152 papers20 papers in the last four weeks, up 150% on the four weeks before. 0.1% of all new papers.
Jump Start or False Start? A Theoretical and Empirical Evaluation of LLM-initialized Bandits
ParetoBandit: Budget-Paced Adaptive Routing for Non-Stationary LLM Serving
DAK-UCB: Diversity-Aware Prompt Routing for LLMs and Generative Models
Simple Projection-Free Algorithm for Contextual Recommendation with Logarithmic Regret and Robustness
Kernel Single-Index Bandits: Estimation, Inference, and Learning
Off-Policy Learning with Limited Supply
A Practical Algorithm for Feature-Rich, Non-Stationary Bandit Problems
Robust and Computationally Efficient Linear Contextual Bandits under Adversarial Corruption and Heavy-Tailed Noise
Mixing Makes Markovian Contexts Cheap for Linear Bandits
RIE-Greedy: Regularization-Induced Exploration for Contextual Bandits
What Do We Care About in Bandits with Noncompliance? BRACE: Bandits with Recommendations, Abstention, and Certified Effects
From Weighting to Modeling: A Nonparametric Estimator for Off-Policy Evaluation
Learning When to Trust in Contextual Social Bandits
Beam-aware Kernelized Contextual Bandits for User Association and Beamforming in mmWave Vehicular Networks
Bilateral Trade Under Heavy-Tailed Valuations: Minimax Regret without a Variance Bound
Adapter-Augmented Bandits for Online Multi-Constrained Multi-Modal Inference Scheduling
Structured Exploration vs. Generative Flexibility: A Field Study Comparing Bandit and LLM Architectures for Personalised Health Behaviour Interventions
Online Learning for Multi-Layer Hierarchical Inference under Partial and Policy-Dependent Feedback
Steering Frozen LLMs: Adaptive Social Alignment via Online Prompt Routing
Inverse Contextual Bandits without Rewards: Learning from a Non-Stationary Learner via Suffix Imitation
No One Size Fits All: QueryBandits for Hallucination Mitigation
A Jointly Efficient and Near-Optimal Algorithm for Heteroskedastic Generalized Linear Bandits with Adversarial Corruptions
HCW-GLB-OMD, a simple algorithm that combines an online mirror descent (OMD)-based estimator with Hessian-based confidence weights. Although both components are well studied, establishing guarantees for the combined algorithm requires a nontrivial analysis. We establish a corruption-robust confidence sequence using technical tools not required in prior analyses, including a weighted likelihood supermartingale and a self-bounding argument. For the regret analysis, we derive a new Hessian potential lemma to handle the interaction between adversarial corruption and adaptive confidence weighting. For self-concordant GLMs, we prove a high-probability regret bound of , where is the slope of at the optimal arm at time , is the observed dispersion, , is the worst-case inverse slope of , and is the corruption budget. The algorithm attains this bound with one OMD update per round and storage. We complement this guarantee with matching lower bounds for the leading term and, up to , the corruption term.Taming the Monster Every Context: Complexity Measure and Unified Framework for Offline-Oracle Efficient Contextual Bandits
COBALT: Contextual Bandit Learning with Offline Trajectories for Multi-Turn Code Generation
Learning to Route and Schedule LLMs from User Retrials via Contextual Queueing Bandits
explicit" feedback, such as ratings, degrade user experiences. In this paper, we develop a joint routing and scheduling algorithm that leverages implicit" feedback inferred from user retrial behaviors. The key idea is to propose and study the framework of contextual queueing bandits with multinomial logit feedback (CQB-MNL). CQB-MNL models query retrials, as well as context-based learning for user preferences over LLMs. Our algorithm, anytime CQB (ACQB), achieves efficient learning while maintaining queue stability by combining Thompson sampling with forced exploration at a decaying rate. We show that ACQB simultaneously achieves a cumulative regret of for routing and a queue length regret of for any large . For experiments, we refine query embeddings via contrastive learning while adopting a disjoint parameter model to learn LLM-specific parameters. Experiments on synthetic data, offline routing datasets (SPROUT, EmbedLLM, and RouterBench), and real user conversation logs (WildChat-1M) confirm that our methods improve routing, scheduling, and queue stability against strong online and offline-trained baselines.