Online learning with kernel losses

Niladri S. Chatterji, Aldo Pacchiano, Peter Bartlett

Introduction

Adversarial online learning traditionally assumes that loss functions are either linear or convex. However, many real-world applications involve complex, non-linear, or even non-convex loss landscapes, such as Gaussian, general quadratic, or polynomial losses. This paper tackles the challenge of generalizing the adversarial linear bandits framework to handle these arbitrary kernel functions.

The problem is particularly daunting under bandit feedback (partial information), where the player only observes the loss of their chosen action rather than the entire loss function. In standard linear bandits, algorithms estimate the adversary's action by inverting a covariance matrix of past actions. But when mapping actions into a Reproducing Kernel Hilbert Space (RKHS) to handle non-linearities, the feature space can become infinite-dimensional, rendering standard matrix inversion impossible. This paper asks: how can we achieve sub-linear regret in both adversarial bandit and full-information settings when losses are arbitrary kernel functions?

Methodology: Dimensionality Reduction in RKHS

To bypass the infinite-dimensionality bottleneck in the bandit setting, the authors propose a dimensionality reduction technique applied before the online learning phase:

  1. Finite-Dimensional Proxy Kernels: Leveraging Mercer's theorem and Kernel Principal Component Analysis (KPCA), the authors construct a finite-dimensional $\epsilon$-approximate proxy kernel. They project the infinite-dimensional feature map onto a subspace spanned by the top $m$ eigenvectors of the sample covariance matrix.
  2. Bandit Exponential Weights: With this finite-dimensional proxy, they adapt the EXP2 (Exponential Weights) algorithm. To ensure sufficient exploration, they utilize John's distribution—based on the minimum volume ellipsoid containing the action set. This approach dynamically balances the bias introduced by the proxy kernel against the variance of high-dimensional estimation.
  3. Full-Information Algorithms: For the simpler full-information setting, the authors adapt standard Exponential Weights and a Conditional Gradient Descent (Frank-Wolfe) algorithm, which cleverly avoids computationally expensive projection steps in the Hilbert space.

Key Insights and Theoretical Guarantees

The core theoretical contribution lies in understanding how the "effective dimension" of the kernel dictates the difficulty of the learning problem. The faster the eigenvalues of the kernel's Mercer operator decay, the more accurately the kernel can be approximated by a lower-dimensional space, thereby reducing estimation variance.

  • Exponential Eigen-decay: For kernels with exponentially decaying eigenvalues (e.g., Gaussian kernels), the effective dimension is small ($m = \mathcal{O}(\log n)$). The proposed algorithm achieves an expected regret of $\tilde{\mathcal{O}}(n^{1/2})$, nearly matching the optimal rate for standard linear bandits up to logarithmic factors.
  • Polynomial Eigen-decay: When eigenvalues decay polynomially ($\mu_j \le \mathcal{O}(j^{-\beta})$ for $\beta > 2$), the regret is bounded by $\mathcal{O}(n^{\beta / 2(\beta-1)})$. As $\beta \to \infty$, this rate approaches the optimal $n^{1/2}$.
  • Minimax Lower Bounds: The authors establish lower bounds of $\Omega(n^{1/2})$ for exponential decay and $\Omega(n^{(\beta+1)/2\beta})$ for polynomial decay, demonstrating that their upper bounds are tight or near-tight.
  • Taming Non-Convexity: By abstracting the loss into an RKHS inner product, the framework naturally handles specific non-convex losses. For instance, general quadratic losses (with non-positive semi-definite matrices) and posynomial losses can be optimized efficiently in the full-information setting using the authors' conditional gradient approach.

Limitations and Future Work

While the theoretical guarantees are strong, the framework faces computational hurdles. The bandit algorithm requires constructing and sampling from John's ellipsoid. Although this process is polynomial for finite sets, it becomes computationally prohibitive for very large or continuous action spaces.

Future work will focus on identifying specific classes of kernel losses that not only offer strong theoretical regret bounds but also admit highly efficient practical algorithms.

Summary updated

BibTeX
@inproceedings{chatterji2019online,
  author = {Niladri S. Chatterji and Aldo Pacchiano and Peter Bartlett},
  title = {{Online learning with kernel losses}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
  url = {https://openreview.net/forum?id=BJNUp9-O-r},
}
Figure