The Tilted Sampling Problem: Optimism, Posterior Sampling, and Logarithmic Regret
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 due to first-order uncertainty, sampling regret is governed by squared confidence widths, yielding logarithmic-in- regret in standard settings at fixed temperature. We develop sampling analogues of UCB and Thompson sampling (UCS and TS) 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
| Bandit Optimization | Tilted Sampling |
| Non-smooth | Smooth (KL) |
| First-order | Second-order |
| UCB / TS | UCS / TS 2 |
| Problem | Prior special case | |||
|---|---|---|---|---|
| -armed bandit | SWC–RKL/FKL [ 39 ] | |||
| Finite class | UCS–RKL [ 66 ] Greedy–RKL–pref. [ 58 ] | |||
| Linear bandit ( -dim.) | — | |||
| Sparse linear ( -sparse) | — | |||
| GLM ( -dim.) | — |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Bandit Optimization | Tilted Sampling | |
|---|---|---|
| Target | ||
| Learner’s choice | action | distribution |
| Performance metric | ||
| Geometry | non-smooth (hard ) | smooth (KL / Fisher) |
| Uncertainty order | first-order | second-order |
| Width process |
Posterior Sampling
Posterior sampling generates draws from Bayesian posteriors to quantify uncertainty and support inference, prediction, and decision-making.
See all 69 papersMinimax-Optimality of Posterior Sampling for Reinforcement Learning
Prior Diffusiveness and Regret in the Linear-Gaussian Bandit
burn-in'' term $d r \sqrt{\mathrm{Tr}(Σ_0)}$ decouples additively from the minimax (long run) regret $σd \sqrt{T}$. Previous regret bounds exhibit a multiplicative dependence on these terms. We establish these results via a new elliptical potential'' lemma, and also provide a lower bound indicating that the burn-in term is unavoidable.