Abstract
We investigate the linear contextual bandit problem with independent and identically distributed (i.i.d.) contexts. In this problem, we aim to develop a Best-of-Both-Worlds (BoBW) algorithm with regret upper bounds in both stochastic and adversarial regimes. We develop an algorithm based on Follow-The-Regularized-Leader (FTRL) with Tsallis entropy, referred to as the $\alpha$-Linear-Contextual (LC)-Tsallis-INF. We show that its regret is at most $O(\log(T))$ in the stochastic regime under the assumption that the suboptimality gap is uniformly bounded from below, and at most $O(\sqrt{T})$ in the adversarial regime. Furthermore, our regret analysis is extended to more general regimes characterized by the margin condition with a parameter $\beta \in (1, \infty]$, which imposes a milder assumption on the suboptimality gap than in previous studies. We show that the proposed algorithm achieves $O\left(\log(T)^{\frac{1+\beta}{2+\beta}}T^{\frac{1}{2+\beta}}\right)$ regret under the margin condition.
Introduction
In online decision-making scenarios, such as personalized recommendations or clinical trials, practitioners often face a choice between stochastic and adversarial algorithms. Stochastic algorithms assume a stable environment and can achieve fast $O(\log T)$ regret, but they are fragile if the environment changes. Conversely, adversarial algorithms are robust to worst-case changes, achieving $O(\sqrt{T})$ regret, but they are often overly pessimistic in stable settings.
Best-of-Both-Worlds (BoBW) algorithms aim to bridge this gap, providing optimal performance in both regimes. However, for linear contextual bandits—where decisions depend on feature vectors (contexts)—existing BoBW solutions have been either computationally prohibitive "black-box" reductions or theoretically suboptimal, often suffering from $O(\log^2 T)$ or $O(\log^3 T)$ regret in stochastic settings due to the use of Shannon entropy.
Methodology
The authors introduce the $\alpha$-Linear-Contextual (LC)-Tsallis-INF algorithm, with a primary focus on the case where $\alpha = 1/2$. This approach utilizes Follow-The-Regularized-Leader (FTRL) with Tsallis entropy as a regularizer.
Key Technical Components
- Tsallis Entropy Regularization: Unlike the standard Shannon entropy, Tsallis entropy provides the specific mathematical curvature required to achieve $O(\log T)$ regret in stochastic environments without needing complex external wrappers.
- Self-Bounding Technique: The analysis employs a "self-bounding" method that exploits the relationship between the algorithm's cumulative regret and the probability of selecting suboptimal arms.
- Margin Condition: The paper generalizes the analysis using a margin condition (parameterized by $\beta$). This allows the algorithm to handle a spectrum of problem difficulties, where the gap between the best and second-best actions may be arbitrarily small.
- Covariance Handling: The algorithm relies on the inverse covariance matrix of the features. While the main proofs assume exact computation, the authors discuss the use of Matrix Geometric Resampling (MGR) for practical estimation.
Results and Comparison
The LC-Tsallis-INF algorithm achieves state-of-the-art regret bounds across multiple regimes. In the stochastic regime, it matches the theoretical lower bound of $O(\log T)$. In the adversarial regime, it maintains a robust $O(\sqrt{T})$ bound.
As summarized in Figure 1, LC-Tsallis-INF (specifically the 1/2-LC-Tsallis-INF variant) provides tighter bounds than previous methods. For instance, it improves upon FTRL with Shannon entropy by removing additional logarithmic factors. Furthermore, it offers a more direct and practical implementation compared to the high computational complexity of black-box reductions like those proposed in earlier BoBW literature. Under the generalized margin condition, the algorithm achieves a regret of $O\left(\log(T)^{\frac{1+\beta}{2+\beta}}T^{\frac{1}{2+\beta}}\right)$, ensuring a smooth transition between different environmental difficulties.
Discussion and Future Work
While LC-Tsallis-INF marks a significant theoretical milestone, there are avenues for further refinement:
- Computational Practicality: The current regret bounds assume the inverse covariance matrix $\Sigma_t^{-1}$ is known. While MGR is a promising workaround, fully deriving regret bounds that account for MGR estimation error is an open task.
- Margin Sensitivity: Improving the dependence on $T$ when the margin condition is very mild (e.g., $\beta \in (0, 1)$) remains a challenge.
- High-Dimensionality: As with most linear bandit algorithms, the regret depends on the feature dimension $d$. Future work could explore sparsity-inducing regularizers to better handle extremely high-dimensional contexts.
In conclusion, LC-Tsallis-INF provides a robust, theoretically optimal, and more practical framework for linear contextual bandits, successfully achieving the Best-of-Both-Worlds goal.
Summary updated