Abstract
Empirical Risk Minimization (ERM) is a cornerstone of supervised learning, yet its application to large-scale datasets using kernel methods is often limited by computational complexity. This paper investigates the effectiveness of solving ERM within a randomly selected subspace of the hypothesis space. We focus on non-smooth Lipschitz loss functions, such as the hinge loss used in Support Vector Machines (SVMs). Our findings indicate that through adaptive sampling techniques like leverage score sampling, it is possible to achieve full-scale statistical accuracy with a significantly reduced parameter count, effectively bypassing the traditional statistical-computational tradeoff.
Introduction
As datasets continue to grow in size and complexity, the computational burden of standard ERM becomes a significant bottleneck. A common strategy to mitigate this is the use of random subspaces, exemplified by the Nyström method, which restricts the solution to a smaller subset of the data. While the theoretical properties of this approach are well-documented for smooth loss functions (e.g., least squares), a gap exists for non-smooth losses. This research, presented at AISTATS 2021, addresses this gap by providing a theoretical framework and empirical evidence for the efficiency of subspace-based ERM with non-smooth losses.
Methods
The study analyzes regularized ERM where the solution is constrained to a subspace $B$ of the full Hilbert space $\mathcal{H}$. The methodology centers on two primary sampling strategies:
- Uniform Sampling: Selecting data points at random to form the subspace.
- Leverage Score Sampling: An adaptive approach that selects points based on their influence on the model's covariance, which proves crucial for non-smooth losses.
The authors utilize empirical process theory and localized complexity measures to derive convergence rates. For practical implementation, they employ Nyström-Pegasos, a combination of the Nyström method for dimensionality reduction and the Pegasos algorithm for stochastic subgradient descent. The analysis assumes sub-gaussian input variables and a polynomial decay in the eigenvalues of the data's covariance operator.
Key Insights and Results
A central finding of this work is the absence of a fundamental statistical-computational tradeoff in certain regimes. By appropriately scaling the subspace size $m$ relative to the dataset size $n$ (specifically $m \approx n^{2p/(1+p)}$ based on spectral decay), the model achieves the same error rate as the full ERM.
Empirical evaluations across diverse datasets—including SUSY, MNIST, and Webspam—validate these theoretical claims. For instance, on the Webspam dataset, Nyström-Pegasos achieved a 1.3% error rate, nearly matching the 1.1% of a full Kernel SVM while being significantly faster and more memory-efficient.
On the massive SUSY dataset (5 million instances), the subspace approach achieved a 20.0% error rate using only 2,500 centers, a task that is typically infeasible for standard Kernel SVMs on single machines.
Discussion and Limitations
While leverage score sampling is theoretically superior for non-smooth losses, its exact computation is expensive. The authors utilize Approximate Leverage Scores (ALS), but the overhead of this preprocessing remains a practical consideration. Future research may explore whether uniform sampling can be shown to be more effective under different theoretical assumptions or aim for a unified analysis that encompasses a broader range of loss functions.
Summary updated