Abstract
Kernel-based online learning methods often struggle with the "curse of kernelization," where model complexity grows linearly with the number of training samples. This paper presents Nonparametric Budgeted Stochastic Gradient Descent (NBSGD), an algorithm designed to manage model size dynamically and principledly. By employing a probabilistic maintenance strategy and efficient projection heuristics, NBSGD achieves an optimal $O(1/T)$ convergence rate while maintaining a significantly smaller and sparser model than traditional stochastic gradient descent (SGD) methods.
Introduction
In online learning, models are updated incrementally as new data arrives. Kernel methods are particularly powerful as they allow linear models to capture non-linear patterns by mapping inputs into high-dimensional feature spaces. However, this power comes at a cost: the "curse of kernelization." Every significant new data point or classification error typically results in the addition of a new "support vector" to the model. Consequently, the model size grows linearly with the number of iterations ($T$), leading to prohibitive memory requirements and slow inference times.
Existing solutions like Budgeted SGD (BSGD) attempt to mitigate this by enforcing a fixed, predefined budget ($B$). However, selecting an optimal $B$ is difficult—underfitting occurs if it's too small, and inefficiency persists if it's too large. Furthermore, fixed-budget approaches often introduce a theoretical "error gap" compared to optimal, unconstrained solutions.
The NBSGD Methodology
NBSGD addresses these challenges by transitioning from a fixed budget to a dynamic, nonparametric approach. The framework is built on three core innovations:
- Probabilistic Budget Maintenance: Instead of a hard cap, NBSGD uses a Bernoulli random variable $Z_t$ to decide when to perform model maintenance. The probability of maintenance decreases over time ($P(Z_t = 1) \propto \beta/t$). This allows the model to grow more rapidly in the early stages and stabilize as it converges, theoretically eliminating the error gap associated with fixed budgets.
- Flexible Loss Functions: NBSGD supports a wide array of loss functions, including Hinge, Logistic, L2, L1, and $\epsilon$-insensitive losses, making it applicable to both classification and regression tasks.
- Efficient Projection Heuristic: To maintain computational efficiency, the authors utilize an "approximate projection" strategy. When a support vector is removed, its information is projected onto its $k$-nearest neighbors in the feature space. This avoids the $O(B^3)$ cost of global matrix inversions.
Experimental Results and Analysis
The authors evaluated NBSGD on several benchmark datasets for classification (e.g., Gisette, A9A, IJCNN) and regression (e.g., Exam, Cadata).
As shown in Figure 1, NBSGD consistently achieves lower objective function values (Structural Loss) compared to both standard SGD and fixed-budget BSGD. This indicates that its principled, dynamic growth strategy finds superior solutions.
Key findings include:
- Sparsity: On the A9A dataset, NBSGD achieved comparable accuracy to standard SGD while using only ~3,500 support vectors, compared to over 20,000 for SGD. Figure 4 (left) illustrates this significantly slower growth in model size.
- Speed: The reduced model size translates directly to faster training. As seen in Figure 4 (middle), NBSGD's training time remains low as iterations increase. On the IJCNN dataset, it was approximately 7x faster than standard SGD.
- Parameter Sensitivity: The parameter $\beta$ serves as a "sparsity governor." As illustrated in Figure 4 (right), increasing $\beta$ leads to more frequent maintenance and a smaller model, though it may eventually impact accuracy.
Conclusion
NBSGD represents a significant advancement in kernelized online learning by recovering the ideal $O(1/T)$ convergence rate through a $1/t$ decay in maintenance frequency. While NBSGD automates model growth, the size is not strictly bounded and may grow slowly over time. Future work could explore alternative maintenance strategies, such as merging support vectors, within this nonparametric probabilistic framework to further optimize the sparsity-accuracy trade-off.
Summary updated