TL;DR
This paper introduces "feature perturbation," a novel exploration strategy for contextual bandits that injects randomness directly into input features. This approach achieves near-optimal regret bounds (Õ(d√T)) while outperforming existing randomized methods in practice and extending to complex neural network models.
What Problem Does This Paper Address?
Contextual bandits are a powerful framework for sequential decision-making where an agent uses side information (context) to choose the best action (arm) to maximize cumulative reward. A key challenge in this field is balancing exploration (trying new actions to learn more) and exploitation (choosing the currently best-known action).
Traditional methods fall into two camps:
- Deterministic (Optimism-based): These methods, like UCB, achieve near-optimal regret bounds but can be overly conservative in practice, leading to suboptimal performance.
- Randomized (e.g., Thompson Sampling, Perturbed History Exploration): These methods often perform better empirically but suffer from a theoretical limitation: their worst-case regret is higher (Õ(d³/²√T)) than deterministic methods. This gap is partly due to the inherent difficulty of introducing randomness into parameter estimation or reward signals without incurring this penalty.
The paper aims to bridge this gap by developing a randomized exploration strategy that achieves both theoretical optimality and practical effectiveness, even in complex, high-dimensional settings.
Methods
The core contribution is Feature Perturbation (FP), a new exploration strategy for contextual bandits. Instead of randomizing model parameters (like Thompson Sampling) or rewards, FP injects controlled randomness directly into the input features (contexts) of the bandit problem.
Here's how it works:
- Model Estimation: The algorithm maintains an estimate of the underlying reward model (e.g., a linear or generalized linear model).
- Feature Perturbation: At each decision round, before selecting an arm, the algorithm adds a small amount of random noise to the input features for each potential arm. This noise is carefully designed to satisfy specific "anti-concentration" and "concentration" properties.
- Arm Selection: The algorithm then evaluates the perturbed features using the current estimated model and selects the arm that yields the highest predicted reward. This "optimism" on perturbed features drives exploration.
- Update: After observing the reward, the model is updated with the original, unperturbed features and the observed reward.
A key aspect is the use of a shared random perturbation vector across all arms at a given time step. This coupling is crucial for achieving the improved theoretical guarantees and distinguishing it from methods that perturb each arm independently. The paper also shows how this framework can be extended to more general function classes, including neural networks.
Datasets
The paper evaluates its proposed method on:
- Synthetic Datasets: For generalized linear bandits (linear and logistic), with varying feature dimensions (d = 10, 20, 40) and number of arms (K = 100).
- UCI Benchmark Datasets:
- shuttle (K=7, d=9)
- isolet (K=26, d=617)
- mushroom (K=2, d=116)
- Image Datasets (for Neural Bandits):
- MNIST
- Fashion-MNIST
Key Insights and Ideas
- Shifting Exploration to Feature Space: The fundamental insight is that injecting randomness into the input features rather than the model parameters or rewards can circumvent the theoretical limitations that plague traditional randomized methods. This "feature perturbation" approach allows for exploration without directly compromising the integrity of the learned model.
- Bridging Theory and Practice: FP achieves the theoretically optimal Õ(d√T) regret bound, matching deterministic methods, while retaining the practical advantages (better empirical performance) often associated with randomized approaches. This reconciles a long-standing dichotomy in bandit research.
- Decoupling Exploration from Parameter Uncertainty: By perturbing features and evaluating with a fixed model estimate, FP separates the exploration mechanism from the uncertainty in parameter estimation. This is particularly beneficial in high-dimensional settings where parameter uncertainty can be complex.
- Scalability to Neural Networks: The feature perturbation idea is surprisingly general and can be applied to complex models like neural networks (DeepFP). This is achieved by perturbing the input features before they are processed by the network, offering a principled way to explore in non-linear settings.
- Shared Perturbation for Coupling: Using a single random vector to perturb all arm features at a given time step is key. This coupling mechanism is what allows the algorithm to avoid the extra √d factor in the regret bound that plagues methods like Thompson Sampling.
Key Results
- Theoretical Guarantees: The proposed GLM-FP algorithm achieves a worst-case regret bound of Õ(d√k*T + d²/k) for generalized linear bandits. This is a significant improvement over the Õ(d³/²√T) bound of standard randomized methods, matching the optimal bounds of deterministic methods. Crucially, this bound does not depend on the number of arms (K).
- Empirical Performance:
- In generalized linear bandit settings (linear and logistic), GLM-FP consistently achieved the lowest cumulative regret across various dimensions and configurations, outperforming baselines like LinUCB, LinTS, LinPHE, and RandLinUCB.
- In neural bandit settings, DeepFP also outperformed baselines like ɛ-greedy, NeuralUCB, NeuralTS, and FTPL on UCI datasets and image recognition tasks (MNIST, Fashion-MNIST).
- Efficiency: The method avoids computationally expensive parameter sampling, making it efficient and practical for real-world applications.
Limitations and Future Work
- Theoretical Guarantees for Non-Linear Models: While the paper demonstrates empirical success of feature perturbation in neural networks (DeepFP), formal theoretical guarantees for these more general, non-linear function classes are still an open research question. The current theoretical analysis is primarily for generalized linear models.
- Extending to Reinforcement Learning: The authors suggest that feature perturbation could be a promising avenue for exploration in reinforcement learning (RL), potentially unifying exploration principles across bandit and RL paradigms.
- Structured Settings: The current analysis focuses on structured settings. Extending the theory to overparameterized or general Lipschitz models, where feature-level stochasticity might offer a stable alternative to parameter perturbation, is a key future direction.
Summary updated