LC-Tsallis-INF: Generalized Best-of-Both-Worlds Linear Contextual Bandits

Masahiro Kato, Shinji Ito

TL;DR

This paper introduces LC-Tsallis-INF, a new algorithm for linear contextual bandits that achieves "Best-of-Both-Worlds" performance. By using Follow-The-Regularized-Leader (FTRL) with Tsallis entropy, it provides tight $O(\log T)$ regret in stable stochastic environments and robust $O(\sqrt{T})$ regret in unpredictable adversarial settings, all without the implementation complexity of previous "black-box" approaches.

What Problem Does This Paper Address?

In the world of online decision-making, the linear contextual bandit problem is a classic: an agent must choose an action (arm) based on a given context (like user demographics) to minimize "regret"—the difference between the reward they got and the reward they could have gotten with the best possible strategy.

Traditionally, researchers design algorithms for one of two extremes:

  1. The Stochastic Regime: Rewards follow a fixed, hidden distribution. Here, we want fast $O(\log T)$ regret.
  2. The Adversarial Regime: Rewards are chosen by a malicious opponent to trip us up. Here, we settle for $O(\sqrt{T})$ regret.

The challenge is that real-world environments (like online advertising) are often a messy mix of both. A purely stochastic algorithm might fail if user behavior shifts slightly, while a purely adversarial one is often too "cautious," leaving performance on the table. "Best-of-Both-Worlds" (BoBW) algorithms aim to bridge this gap, but existing FTRL-based versions for linear contextual bandits were stuck with suboptimal $O(\log^2 T)$ regret in stochastic settings, and the only $O(\log T)$ solutions were complex, impractical "black-box" wrappers.

Methods

The authors propose $\alpha$-LC-Tsallis-INF, an algorithm based on the Follow-The-Regularized-Leader (FTRL) framework.

Key components include:

  • Tsallis Entropy Regularization: Instead of the standard Shannon entropy used in previous practical BoBW algorithms, the authors use $\alpha$-Tsallis entropy (specifically setting $\alpha = 1/2$). This choice is the "secret sauce" that allows the algorithm to achieve the tighter $O(\log T)$ regret bound.
  • Unbiased Estimators: The algorithm uses a regression coefficient estimator to build an internal model of the losses for each arm.
  • Exploration Policy: It mixes the optimal policy derived from FTRL with a small amount of explicit exploration to ensure the agent doesn't get stuck in suboptimal choices.
  • Margin Condition Analysis: The authors don't just look at "perfect" stochasticity. They analyze the algorithm under a "margin condition," a more realistic assumption that characterizes how difficult it is to distinguish the best arm from the second-best.

Datasets

This paper is a purely theoretical contribution. It focuses on mathematical proofs of regret bounds and does not utilize empirical datasets for training or evaluation.

Key Insights and Ideas

  • Tsallis > Shannon: The primary insight is that Tsallis entropy is a more powerful regularizer for this specific problem. While Shannon entropy-based FTRL is easier to analyze, it inherently leads to a "looser" regret bound ($O(\log^2 T)$). Tsallis entropy provides the mathematical leverage needed to hit the $O(\log T)$ mark.
  • The Power of Arm-Dependent Features: The authors highlight that modeling features as "arm-dependent" (where each arm has its own feature vector for a given context) allows for tighter analysis than the "arm-independent" setting common in older literature. They provide a "Regret Transformation" theorem to translate between these two views.
  • Practicality Matters: By avoiding the "black-box" framework (which involves running multiple instances of algorithms inside each other), LC-Tsallis-INF remains computationally tractable and easier for engineers to actually deploy in production systems.

Key Results

The authors prove that the 1/2-LC-Tsallis-INF algorithm achieves state-of-the-art theoretical performance across multiple regimes:

  • Stochastic Regime: $O(\log T)$ regret, matching the best known bounds.
  • Adversarial Regime: $O(\sqrt{T})$ regret, ensuring robustness against worst-case scenarios.
  • Margin Condition: $O(\log(T)^{\frac{1+\beta}{2+\beta}}T^{\frac{1}{2+\beta}})$ regret, where $\beta$ represents the "clarity" of the best choice.

The following table summarizes how LC-Tsallis-INF compares to existing methods, highlighting its tighter bounds in the stochastic column:

Comparison of regret bounds across different algorithms and regimes. Note the $O(\log T)$ performance of LC-Tsallis-INF in the stochastic regime compared to the $O(\log^2 T)$ of previous FTRL methods.

Limitations and Future Work

  • Finite Context Support: Some of the tightest bounds (specifically the $O(\log T)$ result) rely on Assumption 2.3, which assumes the context space is finite. While the authors argue this is common in practice (e.g., binning ages or locations), extending the $O(\log T)$ proof to continuous context spaces without this assumption remains an open challenge.
  • Feature Dimension $d$: The regret bounds still depend on the dimensionality of the features ($d$). In very high-dimensional settings, these bounds may become less practical.
  • Parameter Tuning: While the algorithm is "best-of-both-worlds," it still requires choosing a learning rate schedule, which can be sensitive in practice. Exploring more adaptive, parameter-free versions of this approach is a promising future direction.

Summary updated

BibTeX
@inproceedings{kato2025lc,
  author = {Masahiro Kato and Shinji Ito},
  title = {{LC-Tsallis-INF: Generalized Best-of-Both-Worlds Linear Contextual Bandits}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2025},
  url = {https://openreview.net/forum?id=4EKxV7dSM5},
}
Figure