Abstract
Kernel-based methods are powerful for modeling nonlinear patterns but face significant scalability challenges due to the "curse of kernelization," where memory and computational costs grow quadratically or cubically with the number of data points. This paper proposes OK-FE (Online Kernel-based Feature Extraction), a framework for tracking a low-rank nonlinear subspace in streaming data. By incorporating a budget maintenance mechanism that prunes less informative support vectors using a recency-aware rule, OK-FE achieves constant memory and computational complexity. Experimental results on large-scale datasets and non-stationary environments demonstrate that OK-FE maintains high accuracy while significantly reducing resource requirements compared to traditional kernel methods.
Introduction
Kernel methods are a cornerstone of machine learning, enabling the modeling of complex, nonlinear patterns by mapping data into high-dimensional feature spaces. However, their practical application to "big data" is often hindered by memory requirements scaling at $O(N^2)$ and training costs scaling at $O(N^3)$. While online kernel methods exist, they typically suffer from an ever-increasing set of support vectors, eventually exhausting system memory.
This work addresses these limitations by introducing a data-driven approach to kernel-based feature extraction. Unlike randomized methods like Random Fourier Features, the proposed OK-FE algorithm learns a low-rank nonlinear subspace directly from the data stream, allowing for higher accuracy with fewer features.
Methodology
The authors propose a generative model where high-dimensional features are assumed to lie near a low-rank nonlinear subspace. Two primary approaches are developed:
- Batch Kernel-based Feature Extraction (BKFE): An offline solver using alternating minimization to identify the optimal subspace and projections for static datasets.
- Online Kernel-based Feature Extraction (OK-FE): A streaming algorithm that utilizes Stochastic Gradient Descent (SGD) to update the subspace estimate as new data arrives.
Budgeted Online Learning
To maintain constant memory and computational costs, the authors introduce OKFEB (OK-FE on a Budget). This variant employs two key strategies:
- Censoring: New data points are discarded if they can be well-represented by the current subspace (i.e., the projection error falls below a threshold $\epsilon$).
- Budget Maintenance: When the number of stored support vectors exceeds a predefined limit $B$, the algorithm prunes the least useful vector.
The budget maintenance module, detailed in Algorithm 5, utilizes a recency-aware removal rule. By applying a forgetting factor $\beta$, the algorithm can effectively "forget" outdated information, which is critical for tracking non-stationary data where underlying patterns change over time.
Experimental Evaluation
The performance of OK-FE was evaluated across synthetic manifolds and large-scale real-world datasets:
- Synthetic Manifolds: Testing on 3D data points (spheres and spheroids) confirmed the algorithm's ability to detect and adapt to dynamic geometric changes.
- PAMAP2 (Physical Activity Monitoring): Using 129,200 inertial sensor measurements, the model successfully tracked transitions between different physical activities.
- Large-scale Benchmarks: Evaluation on datasets such as Adult (32k samples) and YearPredictionMSD (463k samples) showed that OK-FE achieves classification and regression errors comparable to unbudgeted state-of-the-art methods while using significantly less CPU time and memory.
Key Insights and Results
- Efficiency: The algorithm reduces per-iteration costs to $O(Nr^2)$ or $O(NDr)$, making it feasible for massive datasets.
- Adaptability: The recency-aware pruning rule allows the model to handle concept drift, a major advantage over static batch methods.
- Theoretical Stability: Proposition 4 in the paper proves that the low-rank approximation of the kernel matrix remains stable and accurate with high probability.
Conclusion and Future Work
OK-FE provides a robust solution for large-scale, nonlinear feature extraction in real-time environments. While the method is highly effective, future research could focus on automating the selection of hyperparameters like the budget $B$ and forgetting factor $\beta$. Additionally, integrating Multi-Kernel Learning could further enhance the system's robustness by allowing it to select or combine multiple kernels automatically during the streaming process.
Summary updated