Introduction
Distributed training of large-scale machine learning models often faces a critical bottleneck: network communication. In Matrix-Parameterized Models (MPMs) like multiclass logistic regression (MLR), sparse coding, and distance metric learning, the parameter matrix $W$ can contain billions of entries. In a standard data-parallel setup, workers synchronize full update matrices ($\Delta W$) via a central Parameter Server. As $W$ grows, the time spent transmitting these gigabyte-scale matrices over the network often dwarfs the time spent on actual computation, leaving expensive CPU resources idle while waiting for network I/O.
Sufficient Factor Broadcasting (SFB)
To address this, the authors propose Sufficient Factor Broadcasting (SFB). This technique exploits a fundamental mathematical property of algorithms like Stochastic Gradient Descent (SGD) and Stochastic Dual Coordinate Ascent (SDCA): the update matrix $\Delta W$ for a single data sample is typically rank-1. This means $\Delta W$ can be represented as the outer product of two vectors, $u$ and $v$ (i.e., $\Delta W = u v^T$).
Instead of synchronizing the full $J \times D$ matrix, SFB transmits only the vectors $u$ and $v$. This reduces communication complexity from quadratic ($O(JD)$) to linear ($O(J+D)$). Workers broadcast these "sufficient factors" (SFs) in a peer-to-peer fashion. Upon receiving SFs from peers, each worker locally reconstructs the update matrices to maintain its own copy of the parameter matrix $W$. While this adds redundant local computation, the trade-off is highly beneficial because modern processors can compute these products much faster than current networks can transfer the resulting matrices.
System Design and Consistency
SFB utilizes a decentralized architecture. To ensure scalability, it employs a deterministic routing scheme that reduces the number of connections per worker to $O(P \log P)$, where $P$ is the number of workers. The system supports various consistency models, including Bulk Synchronous Parallel (BSP) and Stale Synchronous Parallel (SSP), with theoretical guarantees that the decentralized updates converge to a stationary point even under bounded asynchrony.
Experimental Evaluation
The system was evaluated using massive datasets: ImageNet (1.2M images, 1000 classes, 172k features) and Wikipedia (2.4M documents, 325k classes). These datasets were used to scale parameter matrices up to 8.6 billion entries, stressing the limits of traditional synchronization methods.
Key Results
The primary advantage of SFB is its dramatic reduction in runtime. For models with 5 to 10 billion parameters, SFB achieved a 3x to 4x speedup in convergence time compared to Full Matrix Synchronization (FMS).
As shown in the performance benchmarks, SFB consistently outperforms both FMS and Apache Spark. In tests of L2-regularized MLR, the SFB implementation was approximately 9x faster than Spark (v1.3.1). Profiling confirms that while local computation time increases slightly due to matrix reconstruction, the drastic reduction in network wait time leads to a significant overall performance gain.
Limitations and Future Directions
Currently, SFB requires each worker to store the entire parameter matrix $W$ in memory. For models exceeding single-node RAM capacity, future iterations would need to implement model partitioning or out-of-core storage. Additionally, the decentralized nature of SFB introduces complexities in fault tolerance, as there is no central "source of truth" like a Parameter Server. Future work may explore re-parameterizing models entirely in terms of sufficient factors to further reduce memory overhead.
Summary updated