A Direct Approach for Handling Contextual Bandits with Latent State Dynamics

Zhen Li, Gilles Stoltz
4/9/2026
cs.LGstat.ML

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

We revisit the finite-armed linear bandit model by Nelson et al. (2022), where contexts and rewards are governed by a finite hidden Markov chain. Nelson et al. (2022) approach this model by a reduction to linear contextual bandits; but to do so, they actually introduce a simplification in which rewards are linear functions of the posterior probabilities over the hidden states given the observed contexts, rather than functions of the hidden states themselves. Their analysis (but not their algorithm) also does not take into account the estimation of the HMM parameters, and only tackles expected, not high-probability, bounds, which suffer in addition from unnecessary complex dependencies on the model (like reward gaps). We instead study the more natural model incorporating direct dependencies in the hidden states (on top of dependencies on the observed contexts, as is natural for contextual bandits) and also obtain stronger, high-probability, regret bounds for a fully adaptive strategy that estimates HMM parameters online. These bounds do not depend on the reward functions and only depend on the model through the estimation of the HMM parameters.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2026direct,
  title  = {A Direct Approach for Handling Contextual Bandits with Latent State Dynamics},
  author = {Zhen Li and Gilles Stoltz},
  year   = {2026},
  eprint = {2604.08149},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.08149v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.08149.svg)](https://codeofpaper.com/paper/2604.08149)

Discussion