cs.LGOct 15, 2026

The Tilted Sampling Problem: Optimism, Posterior Sampling, and Logarithmic Regret

Authors: Mohammad Pedramfar, Siamak Ravanbakhsh

Organizations: Mila – Québec AI Institute, McGill University

Abstract

Many modern learning systems are used not to select a single best action, but to sample diverse high-quality outputs. Examples include entropy-regularized reinforcement learning, RLHF, and reward-guided generative modeling. Motivated by these settings, we study tilted sampling: an online learning problem in which the goal is to sample from the Gibbs distribution induced by an unknown reward function. We define sampling regret as the temperature-normalized cumulative KL divergence between the learner's distribution and the Gibbs target, corresponding to the suboptimality gap in entropy-regularized reward maximization. Our framework generalizes recent sampling-based and KL-regularized formulations in bandits and reinforcement learning. Our main contribution is a general regret framework that captures the different uncertainty structure of tilted sampling and classical regret minimization. While standard regret scales as O~(T)\widetilde{O}(\sqrt{T}) due to first-order uncertainty, sampling regret is governed by squared confidence widths, yielding logarithmic-in-TT regret in standard settings at fixed temperature. We develop sampling analogues of UCB and Thompson sampling (UCS and TS2^2) and provide unified regret decompositions that explain and extend recent logarithmic guarantees, including the first Bayesian sampling-regret decomposition based on new bounds for posterior-random Gibbs distributions. Our results show that learning to sample from a soft-optimal distribution is statistically distinct from learning to identify a hard optimum.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. When Greedy Sampling Explores: KL-Regularized Contextual Bandits without Eluder-Dimension Dependence

    Sep 11, 2026Zichen Wang, Haoyang Hong, Huazheng WangContextual Bandits

  2. Prior Diffusiveness and Regret in the Linear-Gaussian Bandit

    Jan 5, 2026Yifan Zhu, John C. Duchi, Benjamin Van RoyThompson SamplingMulti-Armed Bandits