Distributed training of Deep Neural Networks (DNNs) typically relies on data parallelism, where multiple workers compute gradients on local data subsets and synchronize with a central Parameter Server. However, as model complexity increases, the communication overhead of transferring millions of parameters becomes a significant bottleneck, often accounting for 10% to 50% of total training time. This paper introduces Slim-DP, a novel framework designed to mitigate this bottleneck by selectively synchronizing only the most critical parameters.
The Communication Bottleneck in Data Parallelism
Standard data parallelism, referred to as "Plump-DP," involves transmitting the entire set of model parameters and gradients in every synchronization round. For massive models like VGG-16, which contains approximately 140 million parameters, this process is highly inefficient. While quantization techniques can reduce the precision of updates to save bandwidth, they often lead to a degradation in model accuracy. Slim-DP addresses this by exploiting the inherent redundancy in DNN parameters during the training process.
Methodology: The Explore-Exploit Strategy
Slim-DP treats parameter synchronization as an "Explore-Exploit" problem. Instead of a full update, it identifies a "Communication Set" consisting of two distinct components:
- Exploitation (The Core Set): This set includes "significant" parameters that have the greatest impact on model performance. Significance is determined by a weighted heuristic: $S_i = |w_i| + c|g_i|$, where $|w_i|$ is the parameter magnitude and $|g_i|$ is the gradient magnitude. By including the gradient, the system captures parameters that are rapidly changing, even if their absolute values are currently small.
- Exploration (The Explorer Set): To prevent the model from converging to a suboptimal local minimum, Slim-DP randomly samples a subset of the remaining "insignificant" parameters in each round. This ensures that all parameters eventually receive updates.
To further optimize efficiency, Slim-DP employs a key caching filter. Transmitting a subset of parameters usually requires sending indices (keys), which can double the data volume. Since the Core set remains relatively stable over several rounds, Slim-DP caches these indices on both the server and workers, allowing for the transmission of raw values only.
Experimental Evaluation
The researchers evaluated Slim-DP using the ImageNet (ILSVRC 2015) dataset on two architectures: VGG-16 (high parameter count) and GoogLeNet (parameter efficient). The experiments were conducted on a GPU cluster using InfiniBand.
Key Results
- Efficiency Gains: Slim-DP reduced communication time by 70% for VGG-16 and 55% for GoogLeNet.
- Training Acceleration: For VGG-16, Slim-DP achieved a 1.41x speedup per iteration and reached convergence 1.51x faster than standard methods. GoogLeNet saw a 1.23x speedup in convergence.
- Accuracy Preservation: Remarkably, Slim-DP maintained or slightly improved final test accuracy. For instance, VGG-16 achieved 87.03% top-5 accuracy compared to 86.53% with standard training. This suggests that the selective synchronization acts as a form of implicit regularization, similar to Dropout.
Conclusion
Slim-DP demonstrates that model redundancy can be effectively leveraged during training to overcome communication bottlenecks in distributed systems. By focusing on significant parameters and utilizing an exploration mechanism, it achieves substantial speedups without sacrificing—and sometimes even improving—model performance. Future work may involve refining significance measures for specific layer types to further push the boundaries of communication-efficient distributed training.
Summary updated