Introduction
In the era of big data, machine learning models frequently encounter two simultaneous scaling challenges: a massive number of training examples ($N$) and a massive number of features ($p$). Standard optimization techniques typically address only one dimension. Stochastic Gradient Descent (SGD) excels at handling large $N$ by using mini-batches, while Coordinate Descent (CD) manages large $p$ by updating subsets of features. However, parallelizing these methods for "doubly large" problems often introduces significant communication bottlenecks.
This paper introduces the Random Parallel Stochastic Algorithm (RAPSA), a novel framework that bridges this gap. By randomizing the selection of both data samples and feature blocks across multiple independent processors, RAPSA achieves high computational efficiency with minimal coordination.
Methodology: The RAPSA Framework
The core innovation of RAPSA is its "doubly random" approach to parallelization. Instead of requiring every processor to update every coordinate—a major bottleneck when $p$ is large—RAPSA distributes the workload across $I$ processors that operate independently.
As shown in Figure 1, at each iteration $t$, every processor $i$ independently selects a random block of features and a random subset of training samples to compute a stochastic gradient. The only required coordination is a simple locking mechanism to ensure no two processors update the same feature block simultaneously. This lean architecture allows for massive parallelism in distributed or multi-core environments. Theoretical analysis confirms that for convex objectives, RAPSA converges to the global optimum with diminishing stepsizes.
Key Insights: Redefining Efficiency
A critical contribution of this work is the re-evaluation of optimization efficiency in parallel systems. Traditional metrics often focus on the "number of iterations" ($t$). However, in RAPSA, the authors argue that the "number of features processed" ($\tilde{p}_t$) is a far more accurate reflection of computational work.
When viewed through this lens, a counter-intuitive insight emerges: updating fewer coordinates per iteration (increasing the number of blocks $B$) actually leads to faster convergence. This behavior aligns RAPSA more closely with Gauss-Seidel methods, which utilize the most recent information as soon as it becomes available, rather than Jacobi methods that wait for a full update cycle.
Experimental Results
The algorithm was evaluated using synthetic linear regression and the MNIST digit recognition task. The results consistently demonstrated the advantages of the doubly random approach.
As illustrated in Figure 6, while configurations with fewer blocks (e.g., $B=16$) appear to converge faster in terms of raw iterations (6a), they are significantly less efficient in terms of total computational effort. The configuration with $B=128$ reached error benchmarks up to 8 times faster in terms of features processed (6b) and achieved target classification accuracy much earlier (6c).
Conclusion
RAPSA provides a robust solution for optimization problems where both data and feature dimensions are massive. By minimizing coordination and maximizing the use of fresh information through coordinate-level updates, it sets a new standard for parallel stochastic optimization. Future work may explore extending RAPSA to non-convex landscapes and investigating truly lock-free implementations.
Summary updated