Reducing training time by efficient localized kernel regression

Nicole MückeAISTATS 2019

Abstract

Kernel Regularized Least Squares (KRLS) is a powerful non-linear modeling tool, but its $O(n^3)$ complexity limits its application to large datasets. This paper provides a theoretical foundation for a "twofold" computational speedup by combining spatial partitioning with Nyström subsampling. We prove that this Localized Nyström KRLS approach maintains minimax optimality while drastically reducing training time and memory requirements.

Introduction

Kernel methods capture complex relationships but face a significant scaling challenge: computing a standard KRLS estimate requires inverting an $n \times n$ matrix. This results in $O(n^3)$ time and $O(n^2)$ memory complexity. Traditional solutions involve either global subsampling (Nyström method) or localization (partitioning the input space). This paper investigates the synergy of applying both techniques simultaneously to achieve superior efficiency without sacrificing mathematical accuracy.

Methodology: Localized Nyström KRLS

The proposed method operates in three distinct steps:

  1. Partitioning: The input space is divided into $m$ disjoint local neighborhoods.
  2. Local Subsampling: Within each neighborhood, a smaller number of points ($l$) is selected for Nyström approximation instead of using all local data points.
  3. Local Training: A separate KRLS estimator is trained for each subset. Predictions for new data are handled by the model corresponding to their specific neighborhood.
Error heatmap for Nyström subsampling across varying regularization parameters and subsampling levels.

The author uses Reproducing Kernel Hilbert Space (RKHS) theory to derive finite sample bounds. These bounds define how many partitions ($m$) and subsampled points ($l$) can be used relative to the total sample size ($n$) while still converging to the true function at the theoretically optimal rate. Notably, this analysis removes a logarithmic factor ($\log n$) previously thought necessary for Nyström optimality.

Computational Efficiency and Key Results

The most significant finding is the "twofold" speedup. By combining partitioning and subsampling, complexity is reduced from $O(n^3)$ to roughly $O(\frac{n}{m}l^2 + l^3)$.

Comparison of computational complexities across different kernel regression methods.

As summarized in the table above, the Localized Nyström approach (local Nys.) offers a substantial improvement over standard and purely localized or subsampled methods. Theorem 4 demonstrates that if $m$ and $l$ are chosen according to specific power laws of $n$, the expected error of this efficient model is identical to that of a full global model.

Insights and Future Work

Beyond speed, localization allows models to exploit local smoothness. A model in a "smooth" neighborhood can converge faster because it is not influenced by high-frequency noise or complexity in other regions of the data.

Future research may address the limitations of disjoint partitions by exploring "soft" or overlapping neighborhoods. Additionally, while this paper provides upper bounds for performance, establishing explicit lower bounds for localized models remains an open theoretical challenge.

Summary updated

BibTeX
@inproceedings{mucke2019reducing,
  author = {Nicole Mücke},
  title = {{Reducing training time by efficient localized kernel regression}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2019},
}
Figure