VITS : Variational Inference Thompson Sampling for contextual bandits

Pierre Clavier, Tom Huix, A. Durmus
2/12/2026

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

Abstract

In this paper, we introduce and analyze a variant of the Thompson sampling (TS) algorithm for contextual bandits. At each round, traditional TS requires samples from the current posterior distribution, which is usually intractable. To circumvent this issue, approximate inference techniques can be used and provide samples with distribution close to the posteriors. However, current approximate techniques yield to either poor estimation (Laplace approximation) or can be computationally expensive (MCMC methods, Ensemble sampling...). In this paper, we propose a new algorithm, Varational Inference Thompson sampling VITS, based on Gaussian Variational Inference. This scheme provides powerful posterior approximations which are easy to sample from, and is computationally efficient, making it an ideal choice for TS. In addition, we show that VITS achieves a sub-linear regret bound of the same order in the dimension and number of round as traditional TS for linear contextual bandit. Finally, we demonstrate experimentally the effectiveness of VITS on both synthetic and real world datasets.

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{clavier2026vits,
  title  = {VITS : Variational Inference Thompson Sampling for contextual bandits},
  author = {Pierre Clavier and Tom Huix and A. Durmus},
  year   = {2026},
  eprint = {2307.10167},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2307.10167},
  journal = {ICML 2023 2023}
}

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/2307.10167.svg)](https://codeofpaper.com/paper/2307.10167)

Discussion