Improved Regret Bounds for Online Kernel Selection Under Bandit Feedback

Junfan Li, Shizhong Liao

Choosing the right "kernel"—a function that measures similarity between data points—is the secret sauce of many machine learning models. In online learning, where data arrives one piece at a time, picking the best kernel on the fly is a major challenge, especially when you only get "bandit feedback" (you only see the performance of the kernel you actually picked, not the ones you didn't).

This paper provides a significant theoretical and practical upgrade to this problem, proving that we can achieve much better performance bounds than previously thought possible.

TL;DR

The authors introduce two new algorithms, OKS++ and IOKS, that significantly improve the "regret" (the cumulative loss compared to the best possible kernel) for online kernel selection. They move the state-of-the-art from a sub-optimal $O(T^{2/3})$ error rate to a near-optimal $O(\sqrt{T})$ rate, even when operating under strict time and computational budgets.

What Problem Does This Paper Address?

In Online Kernel Learning (OKL), a learner must choose a hypothesis from a Reproducing Kernel Hilbert Space (RKHS) at every time step. Since the "best" kernel isn't known in advance, the learner must select from a pool of candidates.

The hardest version of this is the bandit feedback setting. Imagine trying to find the best recipe by only ever tasting the dish you chose to cook that day; you never know how the other recipes would have tasted. Previous work in this area was stuck with a regret bound of $O(T^{2/3})$, which grows much faster than the $O(\sqrt{T})$ bound typically seen in "full information" settings. The authors set out to bridge this gap and handle practical constraints like limited time budgets.

Methods

The authors propose two primary algorithmic improvements:

  1. OKS++ (for Smooth Loss Functions): This algorithm targets "smooth" losses like logistic or square loss. It uses an adaptive parameter tuning scheme. Instead of picking fixed learning rates based on the worst-case scenario, OKS++ adjusts its parameters based on the cumulative losses observed so far. This leads to "data-dependent" bounds—if your kernels fit the data well, the algorithm learns much faster.
  2. IOKS (Improved OKS for Lipschitz Loss Functions): For more general "Lipschitz" losses (like absolute loss), the authors use a mirror descent framework with a specific type of regularizer called $\alpha$-Tsallis entropy (setting $\alpha=8$). Combined with an increasing learning rate, this specifically combats the high variance inherent in bandit gradient estimation.
  3. Time-Budgeted Versions: To handle real-world speed requirements, they combine these algorithms with Random Fourier Features. This approximates complex kernels with linear features, allowing the algorithms to stay within a fixed time budget ($\mathcal{R}$) per round.

Datasets

The authors evaluated their algorithms on a variety of standard benchmarks:

  • Classification (Logistic Loss): phishing, a9a, magic04, and SUSY.
  • Regression (Square & Absolute Loss): bank, elevators, ailerons, and Hardware.

These datasets represent a mix of sizes and complexities, sourced from the UCI repository, LIBSVM, and WEKA.

Key Insights and Ideas

  • Variance is the Bottleneck: The reason previous bandit algorithms were stuck at $T^{2/3}$ was the massive variance in estimating gradients when you only see one kernel's outcome. The core "aha moment" is that specific regularizers (like Tsallis entropy) and adaptive tuning can suppress this variance.
  • The Power of Adaptivity: By making the algorithm's parameters depend on the data actually seen (OKS++), the learner can exploit "benign" environments where a kernel matches the data well, leading to much lower regret than the theoretical worst case.
  • Efficiency vs. Accuracy: The paper proves a formal trade-off between the time budget ($\mathcal{R}$) and the regret. More time allows for more random features, which leads to better kernel approximation and lower regret.

Key Results

The theoretical improvements are summarized in the table below, showing the jump from previous $T^{2/3}$ bounds to the new $O(\sqrt{T})$ style bounds.

Comparison of expected regret bounds between previous results and the proposed algorithms.

Empirical Highlights: * OKS++ consistently outperformed the original OKS algorithm across all smooth loss tasks. For example, on the phishing dataset, OKS++ achieved a mistake rate of 7.80%, compared to 13.80% for the standard OKS. * IOKS achieved near-optimal performance for Lipschitz losses, proving that selecting only one hypothesis per round does not necessarily damage the regret bound as much as previously feared. * In time-constrained scenarios, their RF-OKS++ algorithm remained the top performer, showing that their theoretical gains translate well to approximated, high-speed settings.

Limitations and Future Work

  • Small $T$ Performance: The authors note that for very small numbers of rounds ($T$), the original OKS might still be slightly better because the new algorithms have larger constant factors and logarithmic terms that only become "worth it" as $T$ grows.
  • Computational Complexity: While the per-round complexity is $O(t)$, IOKS requires a binary search step for its update. While the authors argue this is negligible compared to kernel calculations, it is an extra step in implementation.
  • Future Directions: The authors suggest further exploring the information-theoretic gap between bandit and full-information settings specifically regarding data-dependent bounds.

Summary updated

BibTeX
@inproceedings{li2022improved,
  author = {Junfan Li and Shizhong Liao},
  title = {{Improved Regret Bounds for Online Kernel Selection Under Bandit Feedback}},
  booktitle = {ECML/PKDD},
  year = {2022},
  doi = {10.1007/978-3-031-26412-2\_21},
}
Figure