Bayesian Nonparametric Thompson Sampling for Multi-Armed Bandits

Iñigo Urteaga, Chris H. Wiggins
8/8/2018
stat.MLcs.LGstat.CO
rlhf-rlvr-dpobayesian

Official code: iurteaga/bandits (24 stars, Python, last commit 2024-04-04).

Abstract

In stochastic multi-armed bandits, rewards are generated by an unknown distribution; the world's reward uncertainty induces the exploration-exploitation trade-off. Thompson sampling (TS) addresses this trade-off elegantly, but requires knowing the reward model's parametric form to sample from its posterior and compute per-arm expected rewards ---which limits its applicability as it demands per-scenario model specification and hyperparameter tuning.

Show full abstract

We here adopt Bayesian nonparametric (BNP) mixture models to remove this requirement, extending TS to arbitrary reward distributions. We model each arm's unknown reward distribution with an independent BNP Gaussian mixture, which can approximate any continuous reward density, and adapts its complexity to sequentially observed data. Embedding the BNP mixture model into TS yields Nonparametric TS, an algorithm that sequentially learns the reward model that best approximates the true, yet unknown, per-arm reward distribution, avoiding case-by-case model specification and hyperparameter tuning. We empirically demonstrate that ($i$) Nonparametric TS matches the regret performance of Oracle TS policies that know the true reward model; ($ii$) it favorably compares (in cumulative regret and volatility) to a suite of state-of-the-art alternatives across multimodal, outlier-contaminated, and non-exponential-family reward distributions; and ($iii$) its Bayesian nonparametric inference remains computationally practical and accurate for regret minimization.

View on arXivView PDF

Code Implementations(1)

iurteaga/banditsOfficial100%

Public repository for the work on bandit problems

246PythonAug 3, 20172 years ago

Similar Papers

Cite this paper

@article{urteaga2018bayesian,
  title  = {Bayesian Nonparametric Thompson Sampling for Multi-Armed Bandits},
  author = {Iñigo Urteaga and Chris H. Wiggins},
  year   = {2018},
  eprint = {1808.02932},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1808.02932}
}

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

Discussion