Approximation Theory Based Methods for RKHS Bandits

Sho Takemori, Masahiro Sato

TL;DR

This paper introduces a powerful bridge between approximation theory and online optimization to solve the RKHS bandit problem more efficiently. By using the "P-greedy" algorithm to reduce complex non-linear functions to simpler "misspecified" linear models, the authors provide the first general algorithm for adversarial RKHS bandits and a stochastic version that is orders of magnitude faster than current state-of-the-art methods like IGP-UCB.

What Problem Does This Paper Address?

In the multi-armed bandit setting, a learner tries to maximize rewards by picking "arms" (actions) based on noisy feedback. While linear bandits (where rewards are a linear function of arm features) are well-understood, many real-world problems involve complex, non-linear rewards. These are often modeled using Reproducing Kernel Hilbert Spaces (RKHS).

However, RKHS bandits face two major hurdles:

  1. The Adversarial Gap: Most existing research focuses on the stochastic setting (where rewards come from a fixed distribution). There were no general algorithms for the "adversarial" setting, where an opponent can actively change the reward functions over time.
  2. Computational Complexity: Standard algorithms like IGP-UCB are notoriously slow. They often require $O(T^3)$ time (where $T$ is the number of rounds), making them impractical for long-running applications or large sets of arms.

Methods

The authors' core innovation is a reduction strategy. They demonstrate that any function in a smooth RKHS can be approximated by a linear combination of a small number of basis functions.

Key components of their approach include:

  • P-greedy Algorithm: A tool borrowed from approximation theory used to select a small set of "landmark" points in the input space. These points are used to construct a Newton basis, which provides a very tight approximation of any function in the RKHS.
  • Misspecified Linear Bandits: Because the linear approximation isn't perfect, there is a small "misspecification" error. The authors adapt linear bandit algorithms (like LinUCB and EXP3) specifically designed to handle this inherent bias.
  • New Algorithms:
    • APG-EXP3: The first general algorithm for adversarial RKHS bandits.
  • APG-UCB & APG-PE: Faster stochastic algorithms that leverage the linear reduction to achieve near-optimal regret with much lower computational overhead.

Datasets and Setup

The authors evaluated their methods using synthetic environments designed to test different kernel types and dimensionalities ($d = 1, 2, 3$):

  • Kernels: Rational Quadratic (RQ) and Squared Exponential (SE) kernels.
  • Setup: They constructed reward functions from the RKHS and tested the algorithms over $T=5000$ rounds with an arm set of approximately 1000 points.

Key Insights and Ideas

  • $L^\infty$ Approximation is Key: Unlike common methods like Random Fourier Features (which approximate the kernel itself), the P-greedy approach focuses on minimizing the maximum error ($L^\infty$ norm) of the function approximation. This is crucial for maintaining the theoretical regret guarantees of the bandit algorithms.
  • Smoothness as a Shortcut: The "smoother" the kernel (e.g., Squared Exponential), the fewer basis functions are needed for a good approximation. For very smooth kernels, the number of required basis functions grows only polylogarithmically with time, leading to massive computational speedups.
  • The "Misspecification" Trade-off: There is a beautiful balance here: by accepting a tiny bit of linear model error (misspecification), we can swap a grueling non-linear optimization problem for a much faster linear one.

Key Results

The empirical results demonstrate that the proposed APG-UCB algorithm performs as well as the standard IGP-UCB in terms of cumulative regret but is significantly faster.

  • Speed: For a 1D problem, APG-UCB completed the task in 0.4 seconds, while IGP-UCB took 5700 seconds—a speedup of over 14,000x.
  • Regret: The "normalized cumulative regret" of APG-UCB is nearly identical to IGP-UCB across different kernels and dimensions.
Normalized Cumulative Regret for RQ kernels
Source, p. 8 Figure 1: APG-UCB achieves comparable regret to IGP-UCB for Rational Quadratic kernels across multiple dimensions (d=1, 2, 3) while being much faster to compute.
Normalized Cumulative Regret for SE kernels (d=2)
Source, p. 8 Figure 2: Performance consistency is maintained for Squared Exponential kernels, as seen here in the 2D setting.

Limitations and Future Work

  • Finite Smoothness (Matern Kernels): The authors note that for kernels with finite smoothness (like the Matern kernel), their regret bounds are slightly worse than some specialized state-of-the-art methods (like BBKB). This is because the $L^\infty$ approximation error decays more slowly for these kernels.
  • Curse of Dimensionality: While the method works excellently for low dimensions ($d=1, 2, 3$), the number of basis functions required by the P-greedy algorithm scales with the dimension $d$. Applying this to very high-dimensional feature spaces remains a challenge.
  • Parameter Tuning: The algorithms require choosing parameters related to the expected approximation error, which might require domain knowledge of the kernel's smoothness.

Summary updated

BibTeX
@inproceedings{takemori2021approximation,
  author = {Sho Takemori and Masahiro Sato},
  title = {{Approximation Theory Based Methods for RKHS Bandits}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
  url = {https://openreview.net/forum?id=PJC6HWAQXO},
}
Figure