Skip to main content
QUICK REVIEW

[Paper Review] Scalable Thompson Sampling via Optimal Transport

Ruiyi Zhang, Zheng Wen|arXiv (Cornell University)|Feb 19, 2019
Machine Learning and AlgorithmsComputer Science8 citations
TL;DR

This paper proposes π-TS, a scalable Thompson sampling framework that uses Wasserstein gradient flows to optimize particle-based posterior approximations without explicit distributional assumptions. By modeling posterior inference as a convex optimization problem on probability measures, π-TS achieves superior uncertainty estimation and performance on large-scale contextual bandit problems with complex models like neural networks, outperforming baselines including variational inference and linear models in both synthetic and real-world datasets.

ABSTRACT

Thompson sampling (TS) is a class of algorithms for sequential decision-making, which requires maintaining a posterior distribution over a model. However, calculating exact posterior distributions is intractable for all but the simplest models. Consequently, efficient computation of an approximate posterior distribution is a crucial problem for scalable TS with complex models, such as neural networks. In this paper, we use distribution optimization techniques to approximate the posterior distribution, solved via Wasserstein gradient flows. Based on the framework, a principled particle-optimization algorithm is developed for TS to approximate the posterior efficiently. Our approach is scalable and does not make explicit distribution assumptions on posterior approximations. Extensive experiments on both synthetic data and real large-scale data demonstrate the superior performance of the proposed methods.

Motivation & Objective

  • Address the challenge of scalable posterior approximation in Thompson sampling for complex models such as neural networks, where exact inference is intractable.
  • Overcome limitations of existing particle-based methods that treat particles independently, by introducing particle interactions to improve posterior approximation quality.
  • Develop a framework that enables efficient and principled posterior approximation without assuming a specific parametric form for the posterior distribution.
  • Demonstrate the effectiveness of the proposed method on large-scale real-world datasets and dynamic decision-making scenarios.
  • Provide a theoretically grounded approach to posterior sampling via Wasserstein gradient flows, ensuring optimality in distribution approximation.

Proposed method

  • Formulate posterior approximation in Thompson sampling as a convex optimization problem on the space of probability measures using Wasserstein gradient flows (WGF).
  • Approximate the posterior distribution using a set of particles that evolve via a discrete gradient flow on the Wasserstein manifold.
  • Introduce particle interactions through a kernel-based interaction term in the update rule, enabling collective refinement of the posterior approximation.
  • Derive the particle update rule (Equation 5) that combines local gradient descent with pairwise interactions based on particle distances and kernel functions.
  • Use a diffusion-based regularization term to stabilize particle dynamics and prevent collapse or degeneracy during optimization.
  • Integrate the particle-interactive posterior approximation into Thompson sampling by sampling one particle per decision step, ensuring exploration via uncertainty-aware sampling.

Experimental results

Research questions

  • RQ1Can particle-interactive optimization via Wasserstein gradient flows improve posterior approximation in Thompson sampling compared to independent particle methods?
  • RQ2Does the proposed π-TS framework achieve better regret performance than existing baselines like VI-TS, Neural-Linear, and Lin-TS on large-scale contextual bandit problems?
  • RQ3To what extent does π-TS maintain uncertainty calibration and reduce regret variance in high-dimensional or non-i.i.d. observation settings?
  • RQ4How does π-TS perform on real-world datasets with complex reward structures when compared to models with limited representational capacity or poor uncertainty estimation?
  • RQ5Can the WGF-based framework be applied to complex models like deep neural networks without explicit distributional assumptions on the posterior?

Key findings

  • π-TS-DGF achieves regret performance nearly matching Lin-TS (exact posterior) in linear and sparse linear bandit settings, significantly outperforming Neural-Linear and VI-TS.
  • On real-world datasets (Statlog, Covertype, Adult, Census, Financial, Mushroom), π-TS achieves the lowest normalized cumulative regret across all settings, with consistent performance gains on larger datasets.
  • VI-TS exhibits high regret variance and poor performance due to underestimation of uncertainty, while π-TS maintains better uncertainty calibration through particle interactions.
  • The performance gap between π-TS and Lin-TS diminishes with more data, indicating that π-TS effectively captures complex posterior structures that Lin-TS fails to model.
  • Neural-Linear performs better than Lin-TS due to improved feature representation, but still underperforms π-TS, especially when neural features are suboptimal.
  • The particle-interactive mechanism in π-TS leads to more stable and accurate posterior approximations, as evidenced by lower regret and variance in all evaluated scenarios.

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.