An Information-Theoretic Analysis of Thompson Sampling for Logistic Bandits

Amaury Gouverneur, Borja Rodríguez Gálvez, Tobias Oechtering, Mikael Skoglund · Submission to ICLR 2025 · Rejected

TL;DR

Prior regret bounds for Thompson Sampling (TS) in logistic bandits suffered from an unnatural exponential dependence on the inverse temperature/slope parameter ($\beta$), or became vacuous in infinite/continuous action spaces. This paper provides the first Bayesian regret bound for logistic bandits that scales only logarithmically with $\beta$—specifically $\mathcal{O}((d/\alpha)\sqrt{T \log(\beta T / d)})$—while remaining completely independent of the number of actions.

What Problem Does This Paper Address?

Logistic bandits model sequential decision-making with binary feedback (e.g., ad click-through prediction, medical dosing, or recommendation systems). The reward probability is governed by a logistic function $\phi_\beta(\langle a, \theta \rangle) = \frac{\exp(\beta \langle a, \theta \rangle)}{1 + \exp(\beta \langle a, \theta \rangle)}$, where $a$ is the chosen action, $\theta$ is the unknown environment vector, and $\beta > 0$ dictates the sharpness of the sigmoid curve.

Historically, theoretical guarantees for logistic bandits have had a glaring counter-intuitive property: their regret bounds scaled exponentially with $\beta$ (as $e^\beta$). In reality, a large $\beta$ makes optimal and suboptimal actions easier to distinguish because the reward probabilities saturate toward $0$ or $1$. While recent work attempted to remove this exponential dependence, existing proofs either blew up with the cardinality of the action space $|\mathcal{A}|$ (making them inapplicable to continuous action sets) or suffered from technical gaps and invalid rate-distortion steps.

Methods

The authors adopt the information-theoretic framework introduced by Russo and Van Roy, analyzing the information ratio $\Gamma_t$, which balances the squared instantaneous regret against the information gained (mutual information) about the optimal action:

  1. Parameter Discretization: To avoid prior entropy bounds that explode when the action space is infinite or continuous, the authors project the continuous parameter space onto an $\varepsilon$-covering net $\Theta_\varepsilon$. Exploiting the fact that the log-likelihood of binary logistic observations is $\beta$-Lipschitz in $\theta$, they bound the regret by $\sqrt{\Gamma T (H(\Theta_\varepsilon) + \varepsilon \beta T)}$.
  2. Bounding the Mutual Information: They prove that the mutual information between the optimal action and the binary reward is lower-bounded by the conditional variance of the success probability: $I(U; \text{Bern}(U)) \ge 2\mathbb{V}(U)$.
  3. The Logistic Surrogate: To upper-bound the squared expected regret by the variance, the authors design a "logistic surrogate" $\varphi_\beta(x)$—the tightest upper bound on the reward gap such that $\varphi_\beta(x)/x$ is non-decreasing.
  4. Worst-Case Analysis at $\beta \to \infty$: The ratio of expected variances between the surrogate $\varphi_\beta$ and the true gap function $\psi_\beta$ is shown to be maximized as $\beta \to \infty$. In this limit, both functions simplify into step/piecewise linear functions, enabling an analytical bound of $\le 9$ (or $9\alpha^{-2}$ in general geometries).

Datasets

The paper is theoretical and does not evaluate on empirical real-world datasets. The authors validate their theoretical bounds using a synthetic logistic bandit benchmark:

  • Dimension $d = 10$, time horizon $T = 200$, with $\beta \in [0.25, 10]$.
  • Both action and parameter spaces are the continuous unit sphere $\mathcal{A} = \mathcal{O} = S^d(0, 1)$ under a uniform prior on $\theta$. Posterior updates are computed via Markov Chain Monte Carlo (MCMC) with 200 particles across 500 trials.

Key Insights and Ideas

  • Large $\beta$ is a blessing, not a curse: By analyzing the information ratio rather than confidence ellipsoids, the authors establish that $\Gamma_t \le \frac{9}{2}d\alpha^{-2}$, which is completely independent of $\beta$.
  • The Extremal Limit ($\beta \to \infty$): Analyzing the ratio of variances across continuous $\beta$ is notoriously difficult. The authors prove that increasing $\beta$ monotonically increases this variance ratio. Consequently, studying the asymptotic step-function limit ($\beta = \infty$) yields a universal upper bound with clean algebra.
  • Bypassing the Fragility Dimension: Unlike previous attempts (e.g., Dong et al., 2019) that introduced an action-alignment statistic called the "fragility dimension" $\eta$ (which can grow exponentially with dimension $d$), this new bound eliminates $\eta$ entirely.
  • Decoupling Action Size: Setting the covering resolution to $\varepsilon = d/(\beta T)$ balances the quantization entropy against the metric approximation error, removing any dependence on $|\mathcal{A}|$.

Key Results

  • Uniform Information Ratio Bound: For any $\beta > 0$ and action/parameter spaces in the unit ball $B_d(0,1)$, the Thompson Sampling information ratio satisfies: $$\Gamma_t \le \frac{9}{2}d\alpha^{-2}$$ where $\alpha := \min_{\theta \in \mathcal{O}} \max_{a \in \mathcal{A}} \langle a, \theta \rangle$ is the minimax alignment constant.

  • Sub-linear Regret: Thompson Sampling achieves an expected Bayesian regret of: $$\mathbb{E}[\text{Regret}(T)] \le \frac{3d}{\alpha}\sqrt{T \log\left(\sqrt{3 + \frac{6\beta T}{d}}\right)} = \mathcal{O}\left(\frac{d}{\alpha}\sqrt{T \log\left(\frac{\beta T}{d}\right)}\right)$$

  • Unconstrained/Encompassing Action Sets: When the action space encompasses the parameter space ($\mathcal{O} \subseteq \mathcal{A}$, so $\alpha = 1$), the regret simplifies to $\tilde{\mathcal{O}}(d\sqrt{T})$, having only mild logarithmic dependence on $\beta$.
  • Empirical Validation: Simulations show that while prior analytical bounds grow exponentially with $\beta$, the true empirical regret of TS actually decreases as $\beta$ increases, closely mirroring the paper's logarithmic bound.

Limitations and Future Work

  • Dependence on Alignment ($\alpha$): The general bound scales inversely with $\alpha^2$ in the information ratio (and $1/\alpha$ in regret). If the action set cannot closely align with all possible $\theta$ (i.e., $\alpha \to 0$), the bound degrades.
  • Bayesian vs. Frequentist: The results apply specifically to Bayesian expected regret. Extending these logarithmic $\beta$ bounds to frequentist settings (e.g., via Optimistic Information-Directed Sampling) remains an open challenge.
  • General Link Functions: The proof relies heavily on the specific functional form of the logistic link; generalizing the surrogate construction to other Generalized Linear Models (e.g., probit or Poisson link functions) is left for future research.

Summary updated

Abstract

We study the performance of the Thompson Sampling algorithm for logistic bandit problems, where the agent receives binary rewards with probabilities determined by a logistic function, $\exp(\beta \langle a, \theta \rangle)/(1+\exp(\beta \langle a, \theta \rangle))$, with slope parameter $\beta$. We focus on the setting where both the action $a$ and parameter $\theta$ lie within the $d$-dimensional unit ball. Adopting the information-theoretic framework introduced by (Russo & Van Roy, 2015), we analyze the information ratio, a statistic that quantifies the trade-off between the information gained about the optimal action and the immediate regret incurred. We improve upon previous results by establishing that the information ratio is bounded by $\tfrac{9}{2}d\alpha^{-2}$, where $\alpha$ is a minimax measure of the alignment between the action space and the parameter space, independent of $\beta$. Notably, we derive a regret bound of order $O(d/\alpha\sqrt{T \log(\beta T/d)})$, which scales only logarithmically with the logistic function parameter $\smash{\beta}$. To the best of our knowledge, this is the first regret bound for logistic bandits that achieves logarithmic dependence on $\beta$ while being independent of the number of actions. In particular, when the action space encompasses the parameter space, the expected regret of Thompson Sampling is of order $\tilde{O}(d \sqrt{T})$.
BibTeX
@inproceedings{gouverneur2024information,
  author = {Amaury Gouverneur and Borja Rodríguez Gálvez and Tobias Oechtering and Mikael Skoglund},
  title = {{An Information-Theoretic Analysis of Thompson Sampling for Logistic Bandits}},
  booktitle = {BDU @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=RG55EFkZ6R},
}
Figure