Abstract
We study a generalization of the problem of online learning in adversarial linear contextual bandits by incorporating loss functions that belong to a reproducing kernel Hilbert space (RKHS). This allows for more flexible modeling of complex decision-making scenarios where the relationship between context and loss is non-linear. We propose KernelFTRL, a computationally efficient algorithm that utilizes a novel optimistically biased estimator for loss functions and achieves near-optimal regret guarantees. Under polynomial eigendecay with exponent $c > 1$, the algorithm achieves a regret of $\tilde{O}(KT^{\frac{1}{2}(1+\frac{1}{c})})$, where $T$ is the number of rounds and $K$ is the number of actions. For exponential eigendecay, the regret is further tightened to $\tilde{O}(K\sqrt{T})$. These rates match the best-known upper bounds for the stochastic version of the problem and align with known lower bounds.
Introduction
Contextual bandits are a cornerstone of sequential decision-making, widely applied in personalized recommendation systems, clinical trials, and adaptive control. In these settings, a learner observes a context, selects an action, and receives feedback in the form of a loss. Traditionally, researchers have relied on linear models to relate contexts to losses. While mathematically tractable, linear assumptions often fail to capture the nuances of real-world data.
To address this, kernel methods have been introduced to map contexts into high-dimensional Reproducing Kernel Hilbert Spaces (RKHS), enabling the modeling of complex, non-linear dependencies. However, most existing literature on kernelized bandits assumes a stochastic environment, where losses are drawn from a stationary distribution. This paper tackles the more challenging adversarial setting, where an adaptive opponent can choose losses to maximize the learner's regret. Bridging the gap between the flexibility of kernels and the robustness required for adversarial environments is a significant theoretical hurdle, particularly regarding computational efficiency and optimal regret bounds.
The KernelFTRL Algorithm
The authors introduce KernelFTRL (Kernelized Follow-the-Regularized-Leader), an algorithm designed to handle the infinite-dimensional nature of RKHS in an adversarial context. The algorithm's architecture is built upon three primary innovations:
1. Log-Barrier Regularization
Unlike many bandit algorithms that employ Shannon entropy, KernelFTRL utilizes a log-barrier regularizer. This choice is strategic: the log-barrier is more robust against the potentially large and unbounded loss estimates that arise in kernel spaces. It provides a "forgiving" geometry that prevents the algorithm from making overly aggressive updates based on noisy estimates.
2. Kernel Geometric Resampling (KGR)
In bandit settings, the learner only observes the loss for the action actually taken. To update its policy, it must estimate the losses for all other possible actions. In kernel spaces, this involves dealing with operators that function like infinite-dimensional matrices. The authors adapt "Matrix Geometric Resampling" to the kernel setting. KGR uses a truncated geometric series to approximate the inverse of a covariance-like operator using only kernel evaluations, making the computation of these estimates tractable with $O(tM^3)$ complexity.
3. Optimistic Exploration Bonus
A critical challenge in adversarial estimation is the inherent bias of the resampling process. To counteract this, the authors incorporate a context-dependent "optimistic bias" into the loss estimator. This bonus ensures that the learner does not prematurely discount actions that appear suboptimal due to estimation errors, effectively balancing exploration and exploitation in the Hilbert space.
Theoretical Results and Complexity
The performance of KernelFTRL is evaluated through regret bounds, which measure the difference between the learner's cumulative loss and that of the best fixed policy in hindsight. These bounds depend on the "complexity" of the kernel, characterized by the decay rate of its eigenvalues:
- Polynomial Eigendecay: For kernels where complexity decays at a polynomial rate (exponent $c > 1$), the regret is $\tilde{O}(KT^{\frac{1}{2}(1+1/c)})$.
- Exponential Eigendecay: For smoother kernels, such as the Gaussian (RBF) kernel, the regret is significantly tighter at $\tilde{O}(K\sqrt{T})$.
Notably, these results match the best-known bounds for the stochastic version of the kernel bandit problem. This suggests that the robustness required to handle an adversary does not necessarily come at the cost of statistical efficiency in the kernelized setting.
Discussion and Future Work
KernelFTRL represents the first computationally efficient approach to adversarial contextual bandits in RKHS. While the algorithm is efficient in a complexity-class sense, it still requires $O(KT^5)$ total operations over $T$ rounds, which may be prohibitive for real-time, large-scale applications. Furthermore, the regret currently scales linearly with the number of actions $K$.
Future research directions include improving the dependence on $K$ to $\sqrt{K}$ or $\log K$ and employing "sketching" techniques (such as Nyström approximation) to further reduce the computational overhead without compromising the near-optimal regret guarantees.
Summary updated