Neural Thompson Sampling

Weitong Zhang, Dongruo Zhou, Lihong Li, Quanquan Gu
10/2/2020
181 citations
cs.LGstat.ML

Official code: ZeroWeight/NeuralTS (18 stars, Python, last commit 2023-07-06).

Abstract

Thompson Sampling (TS) is one of the most effective algorithms for solving contextual multi-armed bandit problems. In this paper, we propose a new algorithm, called Neural Thompson Sampling, which adapts deep neural networks for both exploration and exploitation.

Show full abstract

At the core of our algorithm is a novel posterior distribution of the reward, where its mean is the neural network approximator, and its variance is built upon the neural tangent features of the corresponding neural network. We prove that, provided the underlying reward function is bounded, the proposed algorithm is guaranteed to achieve a cumulative regret of $\mathcal{O}(T^{1/2})$, which matches the regret of other contextual bandit algorithms in terms of total round number $T$. Experimental comparisons with other benchmark bandit algorithms on various data sets corroborate our theory.

View on arXivView PDF

Code Implementations(1)

184Python, ShellMay 22, 20203 years ago

Similar Papers

Cite this paper

@article{zhang2020neural,
  title  = {Neural Thompson Sampling},
  author = {Weitong Zhang and Dongruo Zhou and Lihong Li and Quanquan Gu},
  year   = {2020},
  eprint = {2010.00827},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.00827}
}

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

Discussion