TL;DR
This paper introduces BoBW-RealFTRL, the first "Best-of-Both-Worlds" algorithm for linear contextual bandits that automatically adapts to both stochastic and adversarial environments. By leveraging a novel self-bounding constraint framework, the algorithm achieves optimal poly-logarithmic regret when data is stable and robust square-root regret under adversarial corruption, without needing to know the environment type in advance.
What Problem Does This Paper Address?
Contextual multi-armed bandits are widely used in personalized recommendation systems, clinical trials, and online advertising. In these scenarios, a decision-maker uses side information (contexts) to choose an action (arm) and minimizes the cumulative loss.
Existing algorithms typically excel in one of two distinct environments:
- Stochastic environments, where contexts and losses follow stable, fixed distributions.
- Adversarial environments, where an opponent can maliciously change losses at any round.
An algorithm optimized for a stochastic world will fail catastrophically if an adversary corrupts the data. Conversely, an adversarial-robust algorithm will perform suboptimally in a clean, predictable stochastic setting. The authors tackle this gap by designing a single, unified strategy that achieves near-optimal performance across the entire spectrum—from purely stochastic to fully adversarial environments—even in the presence of intermediate adversarial corruption.
Methods
The authors propose BoBW-RealFTRL (Best-of-Both-Worlds Real Follow-The-Regularized-Leader), which generalizes the existing RealLinExp3 algorithm. Its core components include:
- Follow-The-Regularized-Leader (FTRL) with Shannon Entropy: Instead of fixed exploration, the algorithm uses a negative-entropy regularizer to dynamically balance exploration and exploitation based on past feedback.
- Entropy-Adaptive Learning Rates: The learning rate ($\beta_t$) automatically updates based on the accumulated entropy of the action-selection distribution. This allows the algorithm to accelerate learning in stable environments and cautious up-dates under adversarial attacks.
- Matrix Geometric Resampling (MGR): To estimate the loss parameters without introducing massive bias, the algorithm simulates context samples from a known distribution ($\mathcal{D}$) to compute an accurate estimator of the inverse covariance matrix.
- Self-Bounding Technique: The authors introduce a novel "contextual adversarial regime with a self-bounding constraint" to mathematically bridge the gap between stochastic and adversarial settings using a corruption parameter $C$.
Datasets
Not discussed in the paper. This is a purely theoretical paper focused on proving mathematical regret bounds; no empirical datasets or experimental evaluations were conducted.
Key Insights and Ideas
- The Corruption Bridge ($C$): The paper elegantly parameterizes the environment's hostility using a total corruption budget $C \in [0, T]$. When $C=0$, the environment is purely stochastic; when $C=T$, it is fully adversarial.
- Self-Bounding Constraints: The "aha moment" in the proof relies on showing that the algorithm's regret can be lower-bounded by its own stability (the arm-selection probabilities). This self-bounding property allows the FTRL framework to automatically collapse into a tight, problem-dependent poly-logarithmic bound when the data is clean.
- Agnostic Adaptation: The decision-maker does not need to tune parameters based on whether the environment is stochastic or adversarial; the adaptive learning rate handles the transition seamlessly.
Key Results
The primary contribution is a unified regret upper bound that automatically scales based on the true nature of the environment:
As shown in Table 1, the total regret scales as:
- Purely Stochastic ($C=0$): $O\left(\frac{(\log T)^3}{\Delta_*}\right)$, where $\Delta_*$ is the minimum suboptimality gap between the best and second-best arms. This matches the fast, poly-logarithmic rates of specialized stochastic algorithms.
- Fully Adversarial ($C=T$): $O(\sqrt{T}(\log T)^2)$, ensuring robust protection against malicious data manipulation.
Limitations and Future Work
The authors note several open challenges and limitations:
- Known Context Distribution: The Matrix Geometric Resampling component requires prior knowledge of the context distribution $\mathcal{D}$. While standard in stochastic bandit literature, this assumption is restrictive in purely adversarial setups.
- Strict Gap Assumption: The current proof assumes a constant minimum gap ($\Delta_*$) between the best and suboptimal arms for any context (equivalent to an infinite margin condition, $\alpha = \infty$). Generalizing this to softer margin conditions remains future work.
- Logarithmic Overhead: The negative-entropy regularization introduces extra $\log T$ factors into the regret bounds. Exploring alternative regularizers, such as Tsallis entropy or log-determinant barriers, could tighten these bounds further.
Summary updated