Abstract
Training high-dimensional machine learning models on massive datasets is a significant computational challenge. While asynchronous parallel optimization has been a popular solution, existing methods often fail to fully exploit the inherent sparsity in both data and models. This paper presents Doubly Sparse Asynchronous Learning (DSAL), an algorithm that integrates dynamic model screening with sparse data updates. DSAL achieves a linear convergence rate and demonstrates significant speedups over state-of-the-art methods on both shared and distributed memory architectures.
Introduction
Modern machine learning tasks frequently involve datasets with millions of features and samples. To ensure model interpretability and prevent overfitting, sparse regularization techniques like the Lasso are commonly employed. However, as dimensionality grows, the computational and communication overhead of standard parallel optimization methods becomes prohibitive.
Existing asynchronous methods, such as Hogwild! and ProxASAGA, primarily focus on parallelizing gradient computations but often overlook the potential for computational savings offered by sparsity. Specifically, they may not account for the fact that many features are zero in the input data (data sparsity) or that many model coefficients become zero during training (model sparsity).
The DSAL Algorithm
The proposed Doubly Sparse Asynchronous Learning (DSAL) algorithm addresses these inefficiencies by simultaneously exploiting both forms of sparsity. DSAL is implemented in two variants: Sha-DSAL for shared-memory systems and Dis-DSAL for distributed-memory systems.
1. Dynamic Model Sparsity
DSAL employs a "safe screening rule" that dynamically identifies and eliminates features whose coefficients are guaranteed to be zero at the optimal solution. Unlike static pruning, this process occurs throughout the training, progressively reducing the effective problem size and computational cost per iteration.
2. Exploiting Data Sparsity
By leveraging the sparsity of input data, DSAL restricts gradient calculations and proximal updates to the active set of features. This ensures that computational resources are not wasted on features that do not contribute to the current update.
3. Variance Reduction and Decoupled Updates
To achieve fast convergence, DSAL incorporates variance reduction, allowing for the use of a constant step size. In distributed settings, the algorithm utilizes a decoupled proximal update strategy. Workers perform the computationally intensive proximal steps and transmit only the parameter differences to the central server, effectively mitigating communication bottlenecks.
Experimental Evaluation
The performance of DSAL was evaluated on three large-scale, sparse datasets: KDD2010, Avazu-app, and Avazu-site. These datasets contain millions of samples and attributes, with sparsity levels as low as $7 \times 10^{-6}$.
Convergence Results
Experimental results demonstrate that DSAL significantly outperforms existing asynchronous methods. In shared-memory environments, Sha-DSAL converges faster than ProxASAGA and other baselines across all datasets.
In distributed-memory settings, Dis-DSAL exhibits similar advantages. By offloading proximal updates to workers and reducing server communication, it achieves superior convergence speeds compared to traditional distributed optimization approaches.
Scalability
DSAL demonstrates near-linear speedup as the number of processing units increases. This scalability is a direct result of the reduced per-iteration work and minimized communication overhead achieved through the doubly sparse approach.
Conclusion
DSAL represents a significant advancement in asynchronous parallel optimization for high-dimensional problems. By dynamically exploiting both data and model sparsity, it achieves faster convergence and better scalability than previous methods. Future work includes extending this framework to non-separable norms and further optimizing system-level overheads in large-scale distributed deployments.
Summary updated