Skip to main content
QUICK REVIEW

[Paper Review] Thompson Sampling with Approximate Inference

My V. T. Phan, Yasin Abbasi-Yadkori|arXiv (Cornell University)|Aug 14, 2019
Advanced Bandit Algorithms ResearchDecision Sciences17 references9 citations
TL;DR

This paper analyzes Thompson sampling with approximate inference in k-armed bandits, showing that small constant errors in α-divergence can cause linear regret due to under- or over-exploration. It proposes forced exploration to restore sub-linear regret, especially for α ≤ 0, even with large inference errors, validating the approach theoretically and via simulations on Ensemble Sampling and Variational Inference.

ABSTRACT

We study the effects of approximate inference on the performance of Thompson sampling in the $k$-armed bandit problems. Thompson sampling is a successful algorithm for online decision-making but requires posterior inference, which often must be approximated in practice. We show that even small constant inference error (in $α$-divergence) can lead to poor performance (linear regret) due to under-exploration (for $α<1$) or over-exploration (for $α>0$) by the approximation. While for $α> 0$ this is unavoidable, for $α\leq 0$ the regret can be improved by adding a small amount of forced exploration even when the inference error is a large constant.

Motivation & Objective

  • To investigate the impact of approximate posterior inference on Thompson sampling performance in k-armed bandit problems.
  • To identify conditions under which small inference errors lead to linear regret due to under- or over-exploration.
  • To propose and analyze a forced exploration mechanism that restores sub-linear regret when inference errors are large.
  • To validate the theoretical results through theoretical analysis and simulations on Ensemble Sampling and Variational Inference.

Proposed method

  • Uses α-divergence as a general measure of inference error between the true posterior Πt and approximate posterior Qt.
  • Analyzes regret under both frequentist and Bayesian settings, distinguishing between under-exploration (α < 1) and over-exploration (α > 0).
  • Introduces a forced exploration strategy—uniform sampling at random intervals—to ensure posterior concentration and sub-linear regret.
  • Applies the method to existing algorithms like Ensemble Sampling and mean-field Variational Inference, showing improved regret bounds.
  • Uses theoretical bounds on KL divergence and posterior concentration to prove sub-linear regret under forced exploration.
  • Employs simulations with Gaussian priors and likelihoods to compare exact Thompson sampling, approximate inference, and forced exploration variants.

Experimental results

Research questions

  • RQ1Can small constant errors in α-divergence between the true and approximate posterior lead to linear regret in Thompson sampling?
  • RQ2Does over-exploration (α > 0) or under-exploration (α < 1) due to inference error cause linear regret in the k-armed bandit setting?
  • RQ3Can forced exploration restore sub-linear regret when inference error is large, particularly for α ≤ 0?
  • RQ4How does the performance of approximate inference methods like Ensemble Sampling and Variational Inference change with forced exploration?
  • RQ5What theoretical conditions ensure posterior concentration and sub-linear regret under approximate inference?

Key findings

  • Small constant inference errors in α-divergence can lead to linear regret in Thompson sampling, regardless of the prior, due to persistent under- or over-exploration.
  • For α > 0, linear regret arises from over-exploration, as the approximation fails to concentrate on the optimal arm.
  • For α < 1 and under mild prior conditions, linear regret results from under-exploration, where the posterior fails to concentrate on the true optimal arm.
  • For α ≤ 0, adding forced exploration (uniform sampling) restores posterior concentration and ensures sub-linear regret, even with large constant inference errors.
  • Theoretical analysis shows that if the approximation error is bounded in α-divergence and forced exploration is applied, the regret becomes sub-linear in T.
  • Simulations and theoretical analysis confirm that forced exploration improves performance of Ensemble Sampling and mean-field Variational Inference, achieving sub-linear regret with O(log T) models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.