Provable and Practical: Efficient Exploration in Reinforcement Learning via Langevin Monte Carlo

Haque Ishfaq, Qingfeng Lan, Pan Xu, A. Rupam Mahmood, Doina Precup +2 more
5/29/2023
cs.LG

No official code found. Best implementation: hmishfaq/LMC-LSVI (10 stars, MIT, last commit 2026-02-19).

Abstract

We present a scalable and effective exploration strategy based on Thompson sampling for reinforcement learning (RL). One of the key shortcomings of existing Thompson sampling algorithms is the need to perform a Gaussian approximation of the posterior distribution, which is not a good surrogate in most practical settings. We instead directly sample the Q function from its posterior distribution, by using Langevin Monte Carlo, an efficient type of Markov Chain Monte Carlo (MCMC) method. Our method only needs to perform noisy gradient descent updates to learn the exact posterior distribution of the Q function, which makes our approach easy to deploy in deep RL. We provide a rigorous theoretical analysis for the proposed method and demonstrate that, in the linear Markov decision process (linear MDP) setting, it has a regret bound of $\tilde{O}(d^{3/2}H^{3/2}\sqrt{T})$, where $d$ is the dimension of the feature mapping, $H$ is the planning horizon, and $T$ is the total number of steps. We apply this approach to deep RL, by using Adam optimizer to perform gradient updates. Our approach achieves better or similar results compared with state-of-the-art deep RL algorithms on several challenging exploration tasks from the Atari57 suite.

View on arXivView PDF

Code Implementations(1)

hmishfaq/LMC-LSVICommunity100%
MIT

The official code release for Provable and Practical: Efficient Exploration in Reinforcement Learning via Langevin Monte Carlo, ICLR 2024.

102Shell, PythonMar 19, 20238 months agoMIT
exploration-exploitationlangevin-mcreinforcement-learningthompson-sampling

Similar Papers

Cite this paper

@article{ishfaq2023provable,
  title  = {Provable and Practical: Efficient Exploration in Reinforcement Learning via Langevin Monte Carlo},
  author = {Haque Ishfaq and Qingfeng Lan and Pan Xu and A. Rupam Mahmood and Doina Precup and Anima Anandkumar and Kamyar Azizzadenesheli},
  year   = {2023},
  eprint = {2305.18246},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.18246v2},
  journal = {ICLR 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/2305.18246.svg)](https://codeofpaper.com/paper/2305.18246)

Discussion