Abstract
Sparsity-promoting regularizers are widely used to impose low-complexity structure (e.g., $\ell_1$-norm for sparsity) on the regression coefficients of supervised learning. In the realm of deterministic optimization, the sequence generated by iterative algorithms (such as proximal gradient descent) exhibits "finite activity identification"—the ability to identify the low-complexity structure in a finite number of iterations. However, most online algorithms, such as proximal stochastic gradient descent (Prox-SGD), lack this property due to vanishing step sizes and non-vanishing variance. In this paper, we introduce a screening rule framework that eliminates useless features of the iterates generated by online algorithms, thereby enforcing finite activity identification. When combined with convergent online algorithms, these sparsity properties can be exploited for significant computational gains and numerical acceleration.
The Challenge of Online Sparsity
In high-dimensional regression, sparsity is a critical property for both model interpretability and computational efficiency. Deterministic "batch" algorithms, which process the entire dataset simultaneously, eventually identify which coefficients are zero and keep them there. This is known as finite activity identification.
However, online algorithms like Prox-SGD—which are essential for processing massive datasets—struggle with this. Because they rely on random sampling and vanishing step sizes, the coefficients tend to "wiggle" around zero due to stochastic noise rather than settling exactly at zero. Consequently, standard online algorithms cannot easily exploit the underlying sparsity of a problem to save time or memory during training. This research aims to bridge this gap by bringing "safe screening" to the world of online learning.
The Online Gap-Safe Screening Framework
The authors propose an Online Gap-Safe Screening rule that constructs a "safe region" in the dual space guaranteed to contain the optimal dual solution. The framework consists of four primary components:
- Online Duality Gap: Unlike traditional screening that requires the full gradient, this method uses stochastic approximations—weighted averages of past iterates—to estimate the primal and dual objectives.
- Dual Certificate ($Z_t$): The algorithm maintains a vector that tracks the support of the solution using a recursive weighting scheme ($\mu_t = 1/t^w$).
- The Screening Rule: If a feature's contribution to the dual certificate is sufficiently small relative to a calculated "safe radius," that feature is guaranteed to be zero at the optimum of the current online objective. It can then be "screened out" and ignored in subsequent iterations.
- Sequential Strategy: To maintain effectiveness as the model evolves, the algorithm periodically updates an "anchor point," allowing it to progressively narrow down the set of active features.
Experimental Evaluation
The approach was evaluated using a mix of synthetic and real-world high-dimensional datasets, including:
- Synthetic Data: A high-dimensional problem ($n=10^5$) with only 9 non-zero entries.
- MNIST8m: An extended MNIST dataset (specifically the 4 vs. 9 classification task).
- LIBSVM Benchmarks: Classic high-dimensional datasets such as
gisette,rcv1, anddorothea, with dimensions reaching up to 100,000.
Key Results
- Computational Speedup: On synthetic tests, the "OS-Prox-SGD" algorithm provided approximately 30% acceleration in total CPU time and saved nearly 50% of the sampling time compared to standard Prox-SGD.
- Dimension Reduction: In many LIBSVM datasets, the algorithm successfully reduced the working dimension from tens of thousands to just a few dozen active features within the first few epochs.
- Sparsity Enforcement: The method effectively eliminated the "tail" of tiny, non-zero coefficients (around $10^{-5}$) that typically plague standard SGD, resulting in cleaner and more interpretable models.
- Early Identification: Surprisingly, the online screening rule often achieves sharper dimension reduction in the very early stages of training compared to "full-screening" methods that require the entire dataset.
Insights and Trade-offs
The framework introduces a small $O(n)$ computational overhead per iteration to calculate the dual certificate. However, when the true sparsity $\kappa$ is much smaller than the dimension $n$, the algorithm eventually operates in $O(\kappa)$ space, making the overhead negligible compared to the massive efficiency gains.
The exponent $w$ in the weighting scheme serves as a tuning knob: a smaller $w$ makes screening more aggressive (faster reduction), while a larger $w$ is more conservative.
Limitations and Future Work
While the screening is "safe" for the online objective (the data seen so far), it is not strictly guaranteed to be safe for the expected risk (the true underlying distribution) without additional safety checks, such as Hoeffding-based confidence intervals. Furthermore, while the current work focuses on convex norms like $\ell_1$ and Group Lasso, extending these rules to non-convex regularizers remains a promising area for future research.
Summary updated