Abstract
Distributed learning for high-dimensional datasets often faces severe communication bottlenecks. This paper introduces Feature-Distributed SVRG (FD-SVRG), an algorithm that partitions data by features rather than instances. By communicating scalar inner products instead of high-dimensional gradients, FD-SVRG reduces communication costs significantly in $d > N$ scenarios. Our evaluation shows that FD-SVRG achieves up to a 30x speedup over state-of-the-art distributed SVRG methods and over 1000x speedup over standard Parameter Server implementations.
Introduction
Training machine learning models on massive datasets typically relies on distributed clusters. The standard approach is instance-distributed learning, where the dataset is partitioned by rows (instances). However, many real-world datasets in domains like genomics or web mining are "wide," meaning the number of features ($d$) exceeds the number of instances ($N$). In these scenarios, instance-distributed methods struggle because each machine must communicate massive, $d$-dimensional parameter or gradient vectors, creating a network bottleneck.
Methodology
To overcome this, we propose FD-SVRG (Feature-Distributed Stochastic Variance Reduced Gradient). Unlike traditional methods, FD-SVRG partitions the data matrix vertically by features.
Feature-Distributed Partitioning and Scalar Communication
In FD-SVRG, each of the $q$ workers holds a subset of features for all instances and the corresponding subset of model weights. Since the gradient in linear models depends on the inner product $w^T x_i$, each worker computes a partial inner product locally. These partial results are then aggregated into a single global scalar using a tree-structured communication scheme. This reduces the communication complexity per SVRG outer loop from $O(qd)$ to $O(qN)$. Mathematically, FD-SVRG is equivalent to serial SVRG, inheriting its linear convergence properties.
Experimental Results
We evaluated FD-SVRG on several high-dimensional datasets, including news20, url, webspam, and kdd2010.
FD-SVRG demonstrated significant performance gains:
- Efficiency: On the
kdd2010dataset ($d \approx 29.8M, N \approx 19.2M$), FD-SVRG was 29.9x faster than Decentralized SVRG (DSVRG) and over 1000x faster than standard Parameter Server frameworks. - Scalability: The method showed near-ideal linear scaling as the number of workers increased from 1 to 16.
Conclusion
FD-SVRG effectively addresses the communication bottleneck in high-dimensional linear classification by shifting to a feature-distributed paradigm. This approach significantly reduces network traffic and enables faster convergence on "wide" datasets. Future research will explore extending this framework to multi-class classification and other variance-reduced optimization methods.
Summary updated