Abstract
In streaming kernel regression, observations arrive sequentially with the goal of recovering an underlying mean function within a Reproducing Kernel Hilbert Space (RKHS). A significant challenge in this setting is the adaptive tuning of the regularization parameter, $\lambda$, especially when the noise variance is unknown. This paper introduces a theoretical framework that allows $\lambda$ to be updated at each time step as a measurable function of past observations. By leveraging novel self-normalized inequalities, we construct upper and lower variance estimates to derive Bernstein-like concentration bounds. These bounds are uniform over all points and time steps. We demonstrate the efficacy of this approach through numerical experiments and applications to kernelized bandits, showing that adaptive tuning significantly improves performance in Kernel UCB and Kernel Thompson Sampling procedures.
Introduction
Kernel regression is a fundamental tool for non-linear function estimation. In streaming or online scenarios, data points arrive one by one, requiring the model to update its estimates in real-time. A critical component of this process is the regularization parameter, $\lambda$, which balances the trade-off between fitting the observed data and maintaining model smoothness.
Traditionally, $\lambda$ is treated as a fixed constant. However, the optimal $\lambda$ depends heavily on the noise variance ($\sigma^2$) and the complexity of the target function—parameters that are rarely known a priori. If $\lambda$ is too small, the model overfits noise; if it is too large, the model becomes too rigid to capture the underlying signal. While practitioners often use heuristics to tune $\lambda$ on the fly, doing so typically invalidates the theoretical confidence bounds required for safety-critical applications or regret guarantees in bandit settings. This paper provides the first rigorous framework to allow $\lambda$ to adaptively change at every time step without sacrificing mathematical validity.
Methodology
The authors bridge the gap between practical adaptivity and theoretical rigor through a three-step approach:
1. Generalized Concentration for Predictable Processes
The study first extends the "Streaming Kernel Least-Squares" theorem. Unlike previous iterations that required a deterministic $\lambda$, this new version allows $\lambda$ to be a "predictable process." This means $\lambda_t$ can be a function of all observations up to time $t-1$. This theoretical "loophole" ensures that as long as the tuning at step $t$ only uses prior information, the underlying Martingale properties remain intact.
2. Streaming Variance Estimation
To handle unknown noise, the authors introduce a novel variance estimator. Using self-normalized inequalities, they construct a "sandwich" of upper and lower bounds for $\sigma^2$. This allows the algorithm to learn the noise level of the stream dynamically rather than requiring it as a pre-set hyperparameter.
3. Fully Empirical Adaptive Regularization
By integrating the dynamic variance estimates into the regression model, the authors define a fully empirical tuning strategy. As the model processes more data, its certainty regarding the noise level increases, allowing for the automatic adjustment of $\lambda$. Crucially, the resulting confidence bounds are uniform, meaning they hold simultaneously for every point in the domain and at every time step.
Experimental Results
The framework was validated using controlled numerical experiments and simulated bandit environments:
- Synthetic RKHS Validation: Using a 1D test function generated within an RKHS via a Gaussian kernel, the authors compared their adaptive bounds against fixed-parameter baselines. The adaptive confidence intervals were found to be significantly tighter, shrinking faster as more data was processed while still accurately containing the true function.
- Kernelized Bandits: The method was applied to Kernel Upper Confidence Bound (Kernel UCB) and Kernel Thompson Sampling. In these settings, an agent must balance exploration and exploitation. The adaptive strategy outperformed fixed strategies that relied on incorrect noise estimates, performing nearly as well as an "Oracle" agent that was provided the true noise variance at the start.
- Regret Bounds: The paper provides explicit sub-linear regret bounds for these adaptive algorithms, proving that the agent will converge to optimal behavior even without prior knowledge of the noise level.
Discussion and Future Work
This research provides a robust solution to the "Goldilocks" problem of regularization in streaming kernel methods. By proving that $\lambda$ can be a predictable process, the authors have opened the door for more flexible, self-tuning online learning algorithms.
However, some challenges remain. While the regularization parameter is now adaptive, the kernel's "length scale" (which determines the spatial influence of data points) is still assumed to be known. Estimating length scales online remains a difficult open problem. Additionally, the computational complexity of kernel methods grows with the number of data points, suggesting that future work should integrate these adaptive bounds with "sparsification" or "sketching" techniques to maintain efficiency in infinite data streams. Finally, extending these tools to contextual bandits—where agents receive auxiliary information before making decisions—represents a promising direction for future research.
Summary updated