Adapting Kernel Representations Online Using Submodular Maximization

Matthew Schlegel, Yangchen Pan, Jiecao Chen, Martha White

Overview

This paper introduces BlockGreedy, an efficient algorithm for selecting a small, representative set of "prototypes" from an infinite stream of data to power non-linear kernel learning. By leveraging submodular maximization and a clever block-diagonal matrix approximation, the authors achieve performance matching state-of-the-art batch methods while maintaining the linear computational complexity required for true online learning.

The Challenge of Online Kernel Learning

Kernel representations, such as Radial Basis Function networks, are a staple of machine learning because they allow simple linear models to learn complex, non-linear patterns. They achieve this by measuring the similarity between a new input and a set of representative examples from the data, known as "prototypes."

The "Representer Theorem" suggests that ideally, every training point should be a prototype. However, in continual learning—where data arrives in an unending stream—this is impossible. Storing every point would lead to infinite memory usage and grindingly slow predictions. To make kernel methods work online, a system must:

  1. Sub-select a fixed budget of prototypes that best represent the entire data distribution.
  2. Update this set on the fly without needing to re-process old data.
  3. Stay efficient, ideally with a per-step cost that scales linearly with the number of prototypes.

Methods: Submodularity and BlockGreedy

The authors frame prototype selection as a submodular maximization problem. Submodularity is a mathematical property of "diminishing returns"—adding a prototype to a small set is more valuable than adding it to a large, already-diverse set.

1. The Log-Determinant Criterion

They prove that maximizing the log-determinant of the kernel matrix (a measure of how "spread out" the prototypes are) is an upper bound on minimizing the error of the learned function. This provides a solid theoretical bridge between geometric diversity and predictive accuracy.

2. OnlineGreedy Algorithm

The authors adapt "StreamGreedy" for infinite streams by introducing the concept of coverage time—the idea that in a well-behaved environment, you will eventually see a "cover" of the observation space. This allows them to provide theoretical approximation guarantees even when the entire dataset cannot be seen at once.

3. BlockGreedy (The Efficiency Engine)

The bottleneck of greedy selection is comparing a new data point against all existing prototypes. The authors propose a block-diagonal approximation to solve this:

  • Prototypes are clustered into small groups (blocks).
  • When a new point arrives, the algorithm only considers swapping it with prototypes in the nearest cluster or performing a single swap between blocks.
  • This reduces the computational complexity to linear ($O(b)$) relative to the number of prototypes $b$, making it feasible for high-speed online applications.

Key Results

The authors evaluated their approach on four diverse regression benchmarks, including Boston Housing, Parkinson’s Telemonitoring, Sante Fe Time Series A, and Census 1990.

  • Accuracy vs. Speed: BlockGreedy achieved nearly the same log-determinant values as "FullGreedy" (which uses no approximations) but was orders of magnitude faster.
  • Linear Scaling: As the budget of prototypes ($b$) increased, the runtime of BlockGreedy scaled linearly, whereas competing methods like SieveStreaming or FullGreedy scaled quadratically or worse.
  • Approximation Quality: Even with small block sizes, the estimate of the submodular function remained highly accurate (82% to 99% accuracy).
Performance and scaling of BlockGreedy compared to baselines.
  • Predictive Performance: On the Telemonitoring and Boston Housing tasks, BlockGreedy matched or outperformed Kernel Recursive Least Squares (KRLS) while using a smaller, more stable set of prototypes. It also successfully tracked true continuations in non-linear time series predictions.
Predictive performance across benchmark datasets.

Key Insights

  • Log-Det as a Proxy for Error: Showing that the log-determinant is a special case of a more general functional error bound justifies why diversity-based selection works for prediction.
  • The Power of Sparsity: BlockGreedy works because kernel matrices for diverse prototypes are naturally "near-sparse." If prototypes are far apart, their similarity is near zero, meaning off-diagonal elements are negligible.
  • Coverage vs. Passes: Replacing the traditional "multiple passes" assumption with "coverage time" is a clever shift in perspective for online streaming guarantees.

Limitations and Future Work

While highly efficient, the algorithm introduces new hyperparameters, such as the block size ($r$) and the threshold for improvement ($\epsilon_t$), requiring users to balance speed and accuracy. Furthermore, the theoretical guarantees rely on "sufficient mixing" of the data; violent, non-returning distribution shifts might challenge the "coverage time" logic. Future work may explore incorporating the magnitude of target values to prioritize prototypes in regions where the function is harder to learn.

Summary updated

BibTeX
@inproceedings{schlegel2017adapting,
  author = {Matthew Schlegel and Yangchen Pan and Jiecao Chen and Martha White},
  title = {{Adapting Kernel Representations Online Using Submodular Maximization}},
  booktitle = {International Conference on Machine Learning},
  year = {2017},
}
Figure