Skip to main content

Langevin Monte Carlo for Contextual Bandits

Publication ,  Conference
Xu, P; Zheng, H; Mazumdar, E; Azizzadenesheli, K; Anandkumar, A
June 22, 2022

We study the efficiency of Thompson sampling for contextual bandits. Existing Thompson sampling-based algorithms need to construct a Laplace approximation (i.e., a Gaussian distribution) of the posterior distribution, which is inefficient to sample in high dimensional applications for general covariance matrices. Moreover, the Gaussian approximation may not be a good surrogate for the posterior distribution for general reward generating functions. We propose an efficient posterior sampling algorithm, viz., Langevin Monte Carlo Thompson Sampling (LMC-TS), that uses Markov Chain Monte Carlo (MCMC) methods to directly sample from the posterior distribution in contextual bandits. Our method is computationally efficient since it only needs to perform noisy gradient descent updates without constructing the Laplace approximation of the posterior distribution. We prove that the proposed algorithm achieves the same sublinear regret bound as the best Thompson sampling algorithms for a special case of contextual bandits, viz., linear contextual bandits. We conduct experiments on both synthetic data and real-world datasets on different contextual bandit models, which demonstrates that directly sampling from the posterior is both computationally efficient and competitive in performance.

Duke Scholars

Publication Date

June 22, 2022

Location

Baltimore, Maryland, USA

Publisher

PMLR

Conference Name

International Conference on Machine Learning
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Xu, P., Zheng, H., Mazumdar, E., Azizzadenesheli, K., & Anandkumar, A. (2022). Langevin Monte Carlo for Contextual Bandits. Presented at the International Conference on Machine Learning, Baltimore, Maryland, USA: PMLR.
Xu, Pan, Hongkai Zheng, Eric Mazumdar, Kamyar Azizzadenesheli, and Anima Anandkumar. “Langevin Monte Carlo for Contextual Bandits.” PMLR, 2022.
Xu P, Zheng H, Mazumdar E, Azizzadenesheli K, Anandkumar A. Langevin Monte Carlo for Contextual Bandits. In PMLR; 2022.
Xu, Pan, et al. Langevin Monte Carlo for Contextual Bandits. PMLR, 2022.
Xu P, Zheng H, Mazumdar E, Azizzadenesheli K, Anandkumar A. Langevin Monte Carlo for Contextual Bandits. PMLR; 2022.

Publication Date

June 22, 2022

Location

Baltimore, Maryland, USA

Publisher

PMLR

Conference Name

International Conference on Machine Learning