Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Thompson Sampling for Contextual Bandits with Linear Payoffs

About

Thompson Sampling is one of the oldest heuristics for multi-armed bandit problems. It is a randomized algorithm based on Bayesian ideas, and has recently generated significant interest after several studies demonstrated it to have better empirical performance compared to the state-of-the-art methods. However, many questions regarding its theoretical performance remained open. In this paper, we design and analyze a generalization of Thompson Sampling algorithm for the stochastic contextual multi-armed bandit problem with linear payoff functions, when the contexts are provided by an adaptive adversary. This is among the most important and widely studied versions of the contextual bandits problem. We provide the first theoretical guarantees for the contextual version of Thompson Sampling. We prove a high probability regret bound of $\tilde{O}(d^{3/2}\sqrt{T})$ (or $\tilde{O}(d\sqrt{T \log(N)})$), which is the best regret bound achieved by any computationally efficient algorithm available for this problem in the current literature, and is within a factor of $\sqrt{d}$ (or $\sqrt{\log(N)}$) of the information-theoretic lower bound for this problem.

Shipra Agrawal, Navin Goyal• 2012

Related benchmarks

TaskDatasetResultRank
Raft recovery and availability evaluationHard-WAN simulation Main scenario 30 seeds
Recovery Mean Latency (ms)502.4
13
LLM RoutingRouterArena (Evaluation set)
Arena S Score70
9
Contextual BanditOpenML (Adult, Covertype, EEGEyeState, GasDrift, MagicTelescope, Mushroom, PageBlocks, Shuttle)
Adult Score1.79e+3
7
Contextual BanditsSynthetic Benchmarks T=10,000, R=5
Friedman Score1.57e+4
7
Showing 4 of 4 rows

Other info

Follow for update