cs.LGApr 9, 2026

A Direct Approach for Handling Contextual Bandits with Latent State Dynamics

Authors: Zhen Li, Gilles Stoltz

Organizations: LMO, CELESTE, HEC Paris · BNP Paribas Corporate and Institutional Banking, Paris, France · Université Paris-Saclay, CNRS, Inria, Laboratoire de mathématiques d’Orsay, 91405, Orsay, France · HEC Paris, Jouy-en-Josas, France

Abstract

We consider a linear contextual bandit model where contexts and rewards are governed by a finite hidden Markov chain. We first revisit the simplified model by Nelson et al. (2022), in which rewards are linear functions of the posterior probabilities over the hidden states given the observed contexts (called beliefs), rather than functions of the hidden states themselves. This simplified model may be handled through a direct reduction to standard linear contextual bandits. We extend the theoretical analysis of this reduction to take into account the estimation of the parameters of the hidden Markov model [HMM] in the regret bound and to provide high-probability bounds not depending anymore on the reward functions and only depending on the model through the estimation of the HMM parameters. Second, and most importantly, we instead study the more natural and more complex model incorporating direct dependencies in the hidden states (on top of dependencies on the observed contexts, as is natural for contextual bandits). Under a classic HMM forgetting condition, the main algorithmic tool introduced to cope with the various statistical dependencies that the reward structure introduces is to only periodically update reward-model parameters.

Figures & tables

Appendix figures & tables12 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Practical and Optimal Algorithm for Linear Contextual Bandits with Rare Parameter Updates

    May 31, 2026Sanghoon Yu, Min-hwan OhBatched BanditsContextual Bandits

  2. Mixing Makes Markovian Contexts Cheap for Linear Bandits

    Mar 13, 2026Kaan Buyukkalayci, Osama Hanna, Christina FragouliMarkovian BanditsContextual Bandits

  3. Correlation-Aware Contextual Bandits with Surrogate Rewards for LLM Routing

    Jul 10, 2026Ajay Narayanan Sridhar, Ronak Singh, Mehrdad Mahdavi +1Multi-Armed BanditsLLM Routing