TL;DR
This paper introduces Feature Perturbation (FP), a novel exploration strategy for contextual bandits that injects randomness into the input features rather than the model parameters or rewards. By shifting the source of stochasticity to the feature space, the authors achieve a near-optimal $\widetilde{\mathcal{O}}(d\sqrt{T})$ regret bound—effectively "carving off" the $\sqrt{d}$ dimensionality penalty that has plagued randomized algorithms like Thompson Sampling for years.
The Dimensionality Tax in Contextual Bandits
In the world of contextual bandits, there has long been a frustrating "mismatch" between theory and practice.
On one hand, deterministic methods (like Upper Confidence Bound or UCB) are theoretically "tight," achieving a regret bound of $\widetilde{\mathcal{O}}(d\sqrt{T})$. However, they are often overly conservative and underperform in real-world applications. On the other hand, randomized methods (like Thompson Sampling) are empirical champions but suffer from sub-optimal theoretical guarantees, typically trailing by a factor of $\sqrt{d}$ (resulting in $\widetilde{\mathcal{O}}(d^{3/2}\sqrt{T})$ regret).
The authors identify the root cause: randomized methods usually sample from a $d$-dimensional parameter space. Controlling the uncertainty of a $d$-dimensional vector requires a "union bound" over all dimensions, which is exactly where that extra $\sqrt{d}$ penalty comes from. The challenge was to find a way to randomize exploration that doesn't pay this dimensionality tax.
Feature Perturbation: Shifting the Stochasticity
The authors propose GLM-FP (Feature Perturbation for Generalized Linear Bandits). Instead of sampling a new set of weights $\theta$ at every step, the algorithm keeps a stable Maximum Likelihood Estimate (MLE) of the parameters and perturbs the context (the features).
The Recipe: 1. Estimate: Compute the standard MLE $\hat{\theta}_t$ based on history. 2. Perturb: For every available arm, create a "perturbed" feature vector $\tilde{x}_{ti}$. This is done by adding Gaussian noise scaled by the model's current uncertainty (using the inverse of the weighted Gram matrix). 3. Act: Choose the arm that maximizes the expected reward using the perturbed features and the stable parameters: $i_t = \text{argmax}_i \mu(\tilde{x}_{ti}^\top \hat{\theta}_t)$.
Crucially, the noise is shared across all arms at a given timestep. This coupling is the secret sauce that allows the analysis to focus on a one-dimensional projection of noise rather than a $d$-dimensional ball.
The authors also extend this to DeepFP, where they inject noise into the input layer of a neural network, providing a scalable exploration mechanism for deep learning models without needing to approximate complex posterior distributions.
Key Insights and Advantages
- Carving off the $\sqrt{d}$: By perturbing features, the randomness enters the decision process as a scalar projection ($u^\top \zeta_t$) rather than a $d$-dimensional vector. This allows the algorithm to achieve the same theoretical efficiency as deterministic UCB while remaining randomized.
- Preserving Inductive Bias: Methods that perturb rewards (like PHE) can produce "hallucinated" scores that no single valid model could ever generate. Feature perturbation ensures that every decision is made based on a valid point in the feature space, respecting the structural assumptions of the model class.
- Computational Efficiency: Thompson Sampling in high dimensions requires sampling from a multivariate Gaussian, which can be expensive. FP only requires sampling a standard normal vector and performing simple matrix-vector multiplications, making it highly scalable.
- The "Shared Noise" Advantage: Using the same noise vector $\zeta_t$ for all arms at each step eliminates the dependence on the number of arms ($K$) in the regret bound, which is vital for large-scale recommendation systems.
Empirical Validation
The researchers evaluated their approach across three distinct settings:
- Synthetic Environments: Linear and Logistic bandit simulations with varying feature dimensions ($d=10, 20, 40$). GLM-FP consistently achieved the lowest cumulative regret, outperforming LogTS, LogPHE, and various UCB variants.
- UCI Benchmark Datasets: Classification tasks transformed into bandits using
shuttle(7 classes),isolet(26 classes), andmushroom(binary). - Image Classification Bandits: Evaluated on
MNISTandFashion-MNISTusing Convolutional Neural Networks (CNNs) to test the DeepFP variant. DeepFP significantly outperformed NeuralTS and Epsilon-Greedy, demonstrating that feature-level stochasticity is a robust exploration signal even for non-linear, high-capacity models.
Ultimately, GLM-FP is the first randomized algorithm for Generalized Linear Bandits to achieve a regret bound of $\widetilde{\mathcal{O}}(d\sqrt{\kappa_* T})$, matching the minimax optimal rate of deterministic methods while maintaining the empirical dominance of randomized approaches.
Limitations and Future Work
- Theoretical Gap for Neural Networks: While the linear and generalized linear cases are backed by rigorous proofs, the guarantees for the neural network version (DeepFP) are currently empirical.
- Realizability Assumption: The analysis assumes the true reward function lives within the chosen function class. Exploring how FP handles "misspecified" models (where the model is slightly wrong) is a noted area for future study.
- Structured Noise: The current work uses Gaussian noise. The authors suggest that using more structured noise (e.g., based on data augmentation techniques in CV or NLP) could lead to even more "semantically meaningful" exploration in complex domains.
Summary updated