NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On the Sublinear Regret of GP-UCB

Justin Whitehouse, Zhiwei Steven Wu, Aaditya Ramdas · DOI

TL;DR

This paper resolves a long-standing open question in online learning by proving that the popular Gaussian Process Upper Confidence Bound (GP-UCB) algorithm achieves nearly optimal, sublinear regret for a broad class of functions, including those with the commonly used Matérn kernel. The key to this improvement lies in a novel analysis that carefully tunes the algorithm's regularization parameter based on the kernel's smoothness, combined with a refined concentration inequality for Hilbert spaces.

What Problem Does This Paper Address?

In the realm of "kernelized bandit problems," an agent must learn to optimize an unknown function by making sequential queries. The goal is to minimize "regret," which quantifies how much worse the agent performed compared to always choosing the best possible action. The Gaussian Process Upper Confidence Bound (GP-UCB) algorithm is a widely used and empirically successful method for this task. However, existing theoretical analyses of GP-UCB have shown regret bounds that are not sublinear for certain important classes of functions, like those defined by the Matérn kernel. This has created a puzzle: is GP-UCB fundamentally suboptimal for these functions, or have the analyses simply been too conservative? This paper tackles this discrepancy, aiming to provide a tighter theoretical understanding of GP-UCB's performance.

Methods

The authors' core contribution is a new theoretical analysis of the GP-UCB algorithm. They achieve their improved regret bounds through two main technical advancements:

  1. A Refined Concentration Inequality: They provide an independent, simplified derivation of a self-normalized concentration inequality for martingales in separable Hilbert spaces. This bound, originally due to Abbasi-Yadkori, is crucial for bounding the uncertainty in the GP-UCB algorithm. The authors' derivation is noted for its simplicity and directness, avoiding complex arguments found in prior work.
  2. Kernel-Smoothness-Aware Regularization: The most significant insight is the realization that the regularization parameter in GP-UCB should not be a fixed constant but should be carefully chosen based on the "smoothness" of the underlying kernel. By regularizing in proportion to the kernel's eigendecay rate, they can derive significantly better regret bounds. This is a departure from many previous analyses that treated the regularization parameter as a fixed, albeit small, constant.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • GP-UCB is (nearly) optimal: The paper definitively shows that GP-UCB is much better than previously thought, resolving a key open problem in the field.
  • Regularization is key: The choice of regularization parameter is not a minor detail; it's critical for achieving optimal performance, especially for smoother kernels. Tuning it based on kernel properties unlocks better regret bounds.
  • A simpler concentration bound: The authors offer a more accessible proof of a powerful concentration inequality, potentially enabling its wider use in related research.
  • Matérn kernel is no longer a problem: The theoretical limitations for Matérn kernels are overcome, making GP-UCB a theoretically sound choice for a wider range of practical applications.

Key Results

The paper establishes new regret bounds for the GP-UCB algorithm:

  • For kernels exhibiting (C, β)-polynomial eigendecay, GP-UCB achieves a regret of $O(T^{\frac{1}{3+\beta}})$, which is sublinear for $\beta > 1$.
  • Specifically for the Matérn kernel (with smoothness $\nu$ and dimension $d$), the regret is bounded by $O(T^{\frac{2\nu+2d}{2\nu+2d+1}})$. This is a significant improvement, guaranteeing sublinear regret where previous analyses failed.
  • The derived bounds are shown to be nearly optimal, coming close to theoretical lower bounds.

Limitations and Future Work

  • Not strictly optimal: While the bounds are significantly improved and nearly optimal, they are not the absolute best possible. Algorithms like SupKernelUCB achieve slightly better theoretical bounds, though they are computationally more complex. The authors hypothesize that GP-UCB, due to its direct use of RKHS norms, might not be able to reach these absolute optimal rates.
  • Future directions: The authors suggest that their work encourages a closer look at regularization strategies in other online learning problems. They also highlight the potential for their simplified concentration inequality to be leveraged in other kernel-based learning tasks.

Summary updated

BibTeX
@inproceedings{whitehouse2023sublinear,
  author = {Justin Whitehouse and Zhiwei Steven Wu and Aaditya Ramdas},
  title = {{On the Sublinear Regret of GP-UCB}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=G3aubF5Wnw},
}
Figure