Approximate Thompson Sampling via Epistemic Neural Networks

Abstract

Thompson sampling (TS) is a popular heuristic for action selection, but it requires sampling from a posterior distribution. Unfortunately, this can become computationally intractable in complex environments, such as those modeled using neural networks. Approximate posterior samples can produce effective actions, but only if they reasonably approximate joint predictive distributions of outputs across inputs. Notably, accuracy of marginal predictive distributions does not suffice. Epistemic neural networks (ENNs) are designed to produce accurate joint predictive distributions. We compare a range of ENNs through computational experiments that assess their performance in approximating TS across bandit and reinforcement learning environments. The results indicate that ENNs serve this purpose well and illustrate how the quality of joint predictive distributions drives performance. Further, we demonstrate that the epinet – a small additive network that estimates uncertainty – matches the performance of large ensembles at orders of magnitude lower computational cost. This enables effective application of TS with computation that scales gracefully to complex environments.

Cite

Text

Osband et al. "Approximate Thompson Sampling via Epistemic Neural Networks." Uncertainty in Artificial Intelligence, 2023.

Markdown

[Osband et al. "Approximate Thompson Sampling via Epistemic Neural Networks." Uncertainty in Artificial Intelligence, 2023.](https://mlanthology.org/uai/2023/osband2023uai-approximate/)

BibTeX

@inproceedings{osband2023uai-approximate,
  title     = {{Approximate Thompson Sampling via Epistemic Neural Networks}},
  author    = {Osband, Ian and Wen, Zheng and Asghari, Seyed Mohammad and Dwaracherla, Vikranth and Ibrahimi, Morteza and Lu, Xiuyuan and Van Roy, Benjamin},
  booktitle = {Uncertainty in Artificial Intelligence},
  year      = {2023},
  pages     = {1586-1595},
  volume    = {216},
  url       = {https://mlanthology.org/uai/2023/osband2023uai-approximate/}
}