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

On the Size of the Online Kernel Sparsification Dictionary

Yi Sun, Faustino J. Gomez, Jürgen SchmidhuberICML 2012

TL;DR

This paper provides a theoretical analysis of Online Kernel Sparsification (OKS), a method for efficiently approximating kernel methods. The authors derive a novel formula connecting the dictionary size to the decay rate of kernel eigenvalues, proving that the dictionary size grows sub-linearly with the number of data points, ensuring consistency of the resulting kernel regressor.

What Problem Does This Paper Address?

Kernel Least Squares (KLS) is a powerful non-parametric regression technique, but its computational complexity scales quadratically with the number of data points due to the need to invert a Gram matrix. To overcome this, methods like Online Kernel Sparsification (OKS) approximate the Gram matrix using a smaller dictionary of "representative" samples. While OKS has shown practical success, its theoretical understanding, particularly regarding how the dictionary size scales with data and its impact on consistency, has been lacking. This paper aims to fill this gap by providing a rigorous theoretical analysis of OKS's dictionary size.

Methods

The paper's analysis is structured in two main steps:

  1. Gram Determinant Expectation Formula: The authors derive a novel formula that expresses the expected determinant of the kernel Gram matrix for a set of $k$ samples in terms of the $k$-th order elementary symmetric polynomial of the eigenvalues of the covariance operator. This formula is crucial for connecting the properties of the kernel's eigenspectrum to the Gram matrix determinant.
  2. Dictionary Size Analysis: Using the derived formula and properties of elementary symmetric polynomials, the paper analyzes the growth of the OKS dictionary size. They establish bounds on the probability of a dictionary element being added, showing that this probability diminishes as the dictionary grows. This leads to the conclusion that the dictionary size grows sub-linearly with the number of data points.

Key mathematical tools employed include U-statistics, elementary symmetric polynomials, and probability inequalities like Markov's inequality.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • Determinant as a Measure of "Informativeness": The paper highlights that the determinant of the Gram matrix can be seen as a measure of how "independent" or "informative" the chosen dictionary samples are. A larger determinant suggests a more diverse and less redundant set of samples.
  • Eigenvalue Decay Dictates Dictionary Size: A central finding is the direct link between the rate at which the eigenvalues of the kernel's covariance operator decay and the expected size of the OKS dictionary. Faster eigenvalue decay (e.g., polynomial decay) leads to a smaller dictionary size compared to slower decay.
  • Sub-linear Growth Guarantees Consistency: The theoretical proof that the dictionary size grows sub-linearly with the number of data points is a significant result. This property is essential for ensuring that kernel least squares regressors built using the OKS dictionary are consistent, meaning they converge to the true underlying function as more data becomes available.
  • Theoretical Foundation for OKS: The paper provides a much-needed theoretical foundation for OKS, moving beyond empirical observations to rigorous mathematical guarantees about its behavior.

Key Results

  • Theorem 1: $E[\det G_k(\phi_{1:k})] = \nu_k(\lambda_1, \dots, \lambda_k)$, where $\nu_k$ is the $k$-th elementary symmetric polynomial of the eigenvalues of the covariance operator.
  • Corollary 1: For any $\alpha > 0$, $\lim_{k \to \infty} \alpha^{-k} \nu_k = 0$. This implies that the expected determinant of the Gram matrix decays faster than any exponential function.
  • Theorem 3: $P[|D_n| \ge k] \le \frac{n E[\det G_k]}{a^k}$. This bound, combined with the analysis of $\nu_k$, leads to the conclusion that the dictionary size $|D_n|$ grows sub-linearly with the number of samples $n$. Specifically, for certain eigenvalue decay rates, the dictionary size is shown to grow approximately as $O(\log n)$.
  • Consistency of KLS: The sub-linear growth of the dictionary size implies that KLS regressors constructed using OKS are consistent.

Limitations and Future Work

  • Assumption 1: The analysis relies on Assumption 1, which states that $\lim_{k \to \infty} \sum_{i=k+1}^\infty \lambda_i = 0$ almost surely. While the paper discusses conditions under which this assumption can be met (e.g., using the Hoffman-Wielandt inequality for certain RKHS), it acknowledges that dropping this assumption entirely would require further investigation.
  • Markov's Inequality: The proof of Theorem 3 uses Markov's inequality, which is known to provide loose bounds. The authors suggest that strengthening these bounds by incorporating higher-order moments or using concentration inequalities could lead to tighter estimates of the dictionary size.
  • Generalization of Bounds: While bounds are provided for exponential and polynomial eigenvalue decay, the paper notes that analyzing the behavior of $\nu_k^{(m)}$ (related to moments) in the general case remains an open research question.
  • Comparison with Nyström: The paper briefly compares OKS with the Nyström method, suggesting that OKS might offer advantages in terms of approximation error bounds that do not explicitly depend on the dictionary size. However, a more in-depth comparative analysis could be beneficial.
  • Tight Bounds for $Z_n$: The paper mentions that providing tight bounds for $Z_n$ (the length of the longest $\alpha$-compatible subsequence) is difficult and requires further study, which would refine the bounds on the dictionary size.

Summary updated

BibTeX
@misc{sun2012size,
  author = {Yi Sun and Faustino J. Gomez and Jürgen Schmidhuber},
  title = {{On the Size of the Online Kernel Sparsification Dictionary}},
  year = {2012},
  eprint = {1206.4623},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1206.4623},
}
Figure