Recurrent Neural-Linear Posterior Sampling for Nonstationary Contextual Bandits

Aditya Ramesh, Paulo Rauber, Michelangelo Conserva, Jürgen Schmidhuber
7/9/2020
cs.LGstat.ML

Official code: paulorauber/rnlps (5 stars, Python, MIT, last commit 2021-02-18).

Abstract

An agent in a nonstationary contextual bandit problem should balance between exploration and the exploitation of (periodic or structured) patterns present in its previous experiences. Handcrafting an appropriate historical context is an attractive alternative to transform a nonstationary problem into a stationary problem that can be solved efficiently.

Show full abstract

However, even a carefully designed historical context may introduce spurious relationships or lack a convenient representation of crucial information. In order to address these issues, we propose an approach that learns to represent the relevant context for a decision based solely on the raw history of interactions between the agent and the environment. This approach relies on a combination of features extracted by recurrent neural networks with a contextual linear bandit algorithm based on posterior sampling. Our experiments on a diverse selection of contextual and noncontextual nonstationary problems show that our recurrent approach consistently outperforms its feedforward counterpart, which requires handcrafted historical contexts, while being more widely applicable than conventional nonstationary bandit algorithms. Although it is very difficult to provide theoretical performance guarantees for our new approach, we also prove a novel regret bound for linear posterior sampling with measurement error that may serve as a foundation for future theoretical work.

View on arXivView PDF

Code Implementations(1)

paulorauber/rnlpsOfficial100%
MIT

Recurrent neural-linear posterior sampling

52PythonNov 26, 20195 years agoMIT

Similar Papers

Cite this paper

@article{ramesh2020recurrent,
  title  = {Recurrent Neural-Linear Posterior Sampling for Nonstationary Contextual Bandits},
  author = {Aditya Ramesh and Paulo Rauber and Michelangelo Conserva and Jürgen Schmidhuber},
  year   = {2020},
  eprint = {2007.04750},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.04750}
}

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

Discussion