Introduction
In the realm of online learning, models process data streams sequentially, making predictions before the true outcomes are revealed. Online Kernel Regression (OKR) is a highly effective non-parametric approach for this task. However, it notoriously suffers from the "curse of kernelization." Standard kernel methods require storing every historical data point to compute new predictions, causing memory and computational costs to scale linearly ($O(T)$) or even quadratically ($O(T^2)$) over time.
While previous research has attempted to mitigate this by "sketching" or approximating kernels, these workarounds typically sacrifice prediction accuracy, leading to suboptimal regret bounds. This paper bridges that gap, introducing two novel algorithms—AOGD-ALD and NONS-ALD—that successfully break the long-standing trade-off. By dynamically filtering data, these methods achieve nearly optimal prediction accuracy while maintaining sublinear computational complexity.
The Core Methods: AOGD-ALD and NONS-ALD
To achieve sublinear complexity without losing accuracy, the authors developed two deterministic algorithms grounded in the Approximate Linear Dependence (ALD) condition. The ALD condition acts as a geometric gatekeeper in the Hilbert space: instead of randomly sampling data, the algorithm only stores a new data point if it introduces a sufficiently "new direction" to the existing basis.
- AOGD-ALD (Approximating Kernelized Online Gradient Descent): This is a first-order method designed to approximate the gradient efficiently. It maintains a compact "buffer" of nearly orthogonal basis functions. If a newly arriving data point can be adequately explained by the existing basis, AOGD-ALD simply updates the model weights. If the point is sufficiently unique, it is added to the basis.
- NONS-ALD (Nyström Online Newton Step): A second-order method that provides higher accuracy at a slightly higher computational cost. It utilizes Nyström projection to map the kernel into a lower-dimensional explicit feature space.
The Technical Breakthrough: The primary hurdle for NONS-ALD was updating the model seamlessly as the basis expands. Traditionally, adding a new basis element requires "restarting" the algorithm, which discards valuable learned information. The authors engineered a novel projection scheme that allows both the model parameters and covariance matrices to be incrementally updated, preserving prior knowledge while expanding capacity.
Theoretical Insights: The Role of Eigenvalue Decay
The paper provides rigorous theoretical guarantees, proving that the computational speed of these algorithms is intrinsically linked to the decay rate of the kernel matrix's eigenvalues.
- Exponential Decay: For kernels with exponentially decaying eigenvalues (such as the Gaussian kernel), the computational complexity drops to a remarkable $O(\ln^2 T)$. This essentially flat-lines the cost of learning over time.
- Polynomial Decay: If the eigenvalues decay polynomially (with degree $p \geq 1$), the algorithms can still maintain sublinear complexity ($o(T)$) provided the decay is fast enough. Specifically, AOGD-ALD requires $p > 4$, and NONS-ALD requires $p \geq 10$.
Crucially, under these conditions, AOGD-ALD and NONS-ALD achieve regret bounds of $O(\sqrt{L(f)})$ and $O(\mathrm{d}_{\mathrm{eff}}(\mu)\ln{T})$ respectively, where $L(f)$ represents cumulative losses and $\mathrm{d}_{\mathrm{eff}}(\mu)$ is the effective dimension. These bounds match theoretical lower limits, proving that computational efficiency does not come at the cost of optimal learning.
Empirical Performance
The researchers evaluated AOGD-ALD and NONS-ALD across eight diverse real-world regression datasets (including parkinson, elevators, Year, and TomsHardware), ranging from small sets to massive streams with over 50,000 instances.
- Superior Accuracy: NONS-ALD consistently achieved the lowest Mean Squared Error (MSE) across all eight datasets, outperforming established baselines like FOGD and PROS-N-KONS.
- Extreme Memory Efficiency: The ALD filter proved highly effective. On the
parkinsondataset, where standard methods might store hundreds of points, both proposed algorithms achieved top-tier accuracy using a microscopic buffer of only 13 examples. - Unmatched Speed: AOGD-ALD emerged as the fastest algorithm in nearly every test. On the
TomsHardwaredataset, it operated roughly 5x faster than standard NOGD while delivering superior accuracy.
Limitations and Future Directions
While these algorithms represent a significant leap forward for OKR, they are not without constraints. The sublinear guarantees for polynomial eigenvalue decay are quite strict (e.g., $p \geq 10$ for NONS-ALD). If the underlying data distribution is "rougher" and exhibits slower decay, the computational advantages will diminish. Furthermore, like most kernel methods, performance is highly sensitive to hyperparameter tuning—specifically the kernel width ($\varsigma$) and the ALD threshold ($\alpha$)—which must be carefully calibrated to ensure rapid eigenvalue decay.
Looking forward, the authors suggest that the novel projection scheme developed for NONS-ALD could be adapted for offline kernel learning. This opens an exciting pathway for scaling classic, highly accurate kernel machines to massive, static datasets that were previously computationally prohibitive.
Summary updated