Abstract
Distributed optimization has been widely used as one of the most efficient approaches for model training with massive samples. However, large-scale learning problems with both massive samples and high-dimensional features widely exist in the era of big data. Safe screening is a popular technique to speed up high-dimensional models by discarding the inactive features with zero coefficients. Nevertheless, existing safe screening methods are limited to the sequential setting. In this paper, we propose a new distributed dynamic safe screening (DDSS) method for sparsity regularized models and apply it on shared-memory and distributed-memory architecture respectively, which can achieve significant speedup without any loss of accuracy by simultaneously enjoying the sparsity of the model and dataset. Theoretically, we prove that the proposed method achieves the linear convergence rate with lower overall complexity and can eliminate almost all the inactive features in a finite number of iterations almost surely. Finally, extensive experimental results on benchmark datasets confirm the superiority of our proposed method.
Introduction
In the era of big data, researchers often face "double-massive" problems: datasets with millions of samples and millions of features. To handle this, sparse regularization (like Lasso) is frequently employed to force the coefficients of irrelevant features to zero. Safe screening is a technique used to speed up this process by mathematically proving a feature's coefficient will be zero at the optimal solution, allowing it to be "screened" out early.
However, existing screening methods were designed for single-machine, sequential processing. As datasets grow too large for one machine, distributed optimization becomes necessary. Until now, there was no robust way to perform this feature-discarding process dynamically across a cluster without losing accuracy or creating massive communication bottlenecks.
Distributed Dynamic Safe Screening (DDSS)
The proposed DDSS framework operates in two main loops:
- The Outer Loop (Screening): Periodically, the system calculates a "dual variable" and a "duality gap." Using these, it applies a mathematical test to identify inactive features. These features are then deactivated across all workers, shrinking the problem size over time.
- The Inner Loop (Optimization): Workers perform asynchronous stochastic proximal gradient updates.
Key Innovations
- Variance Reduction: By incorporating a variance-reduction technique (similar to SVRG) specifically for the active feature set, the algorithm achieves a linear convergence rate.
- Sparse Proximal Updates: The algorithm only updates blocks of features that have non-zero gradients in the current sample, drastically reducing the computational load per iteration.
- Decoupled Proximal Update: For distributed-memory systems, the time-consuming "proximal mapping" step is offloaded to worker nodes. The central server only performs simple additions, preventing it from becoming a performance bottleneck.
Experimental Evaluation
The authors evaluated DDSS on three large-scale sparse benchmarks: KDD 2010 (~19.2M samples, ~1.16M attributes), Avazu-app (~14.5M samples, 1M attributes), and Avazu-site (~25.8M samples, 1M attributes). These datasets are characterized by extreme sparsity, making them ideal for testing screening algorithms.
Key Results
The experimental results demonstrate that DDSS consistently converges much faster than state-of-the-art methods like ProxASAGA and ProxSVRG in both shared-memory and distributed-memory environments.
As shown in Figure 1, Dis-DDSS achieves significantly faster convergence compared to baseline methods. The method achieves a linear convergence rate $O(\log(1/\epsilon))$, reaching high precision very quickly.
Figure 2 illustrates the performance of Sha-DDSS (shared-memory version) across all three datasets. The algorithm demonstrates a nearly linear speedup property as more threads are added, though performance gains eventually taper due to communication overhead. By eliminating inactive features, the per-iteration cost is reduced from $O(p)$ to $O(r)$, where $r$ is the number of active features and $r \ll p$.
Conclusion
DDSS is the first framework to bring dynamic safe screening to distributed and shared-memory environments. It exploits both model and data sparsity to achieve significant speedups without loss of accuracy. While the current focus is on Lasso, future work includes extending this framework to a wider variety of non-smooth penalties and further optimizing communication overhead.
Summary updated