[Paper Review] signSGD with Majority Vote is Communication Efficient And Byzantine Fault Tolerant
This paper proposes signSGD with majority vote, a communication-efficient and Byzantine fault-tolerant optimization method for distributed deep learning. By transmitting only gradient signs and aggregating via majority vote, it reduces communication by 32×, achieves convergence in large and mini-batch settings, and tolerates up to 50% adversarial workers, outperforming NCCL by 25% in training ResNet-50 on ImageNet with 15 machines.
Training neural networks on large datasets can be accelerated by distributing the workload over a network of machines. As datasets grow ever larger, networks of hundreds or thousands of machines become economically viable. The time cost of communicating gradients limits the effectiveness of using such large machine counts, as may the increased chance of network faults. We explore a particularly simple algorithm for robust, communication-efficient learning---signSGD. Workers transmit only the sign of their gradient vector to a server, and the overall update is decided by a majority vote. This algorithm uses $32 imes$ less communication per iteration than full-precision, distributed SGD. Under natural conditions verified by experiment, we prove that signSGD converges in the large and mini-batch settings, establishing convergence for a parameter regime of Adam as a byproduct. We model adversaries as those workers who may compute a stochastic gradient estimate and manipulate it, but may not coordinate with other adversaries. Aggregating sign gradients by majority vote means that no individual worker has too much power. We prove that unlike SGD, majority vote is robust when up to 50% of workers behave adversarially. On the practical side, we built our distributed training system in Pytorch. Benchmarking against the state of the art collective communications library (NCCL), our framework---with the parameter server housed entirely on one machine---led to a 25% reduction in time for training resnet50 on Imagenet when using 15 AWS p3.2xlarge machines.
Motivation & Objective
- To address the communication bottleneck in large-scale distributed deep learning using high-parameter models.
- To develop a robust optimization method resilient to up to 50% Byzantine workers who may manipulate gradients.
- To reduce communication costs without sacrificing convergence or model accuracy in distributed training.
- To design a practical system that outperforms state-of-the-art collective communication libraries like NCCL in real-world training workloads.
Proposed method
- Workers transmit only the sign of their gradient vectors instead of full-precision gradients, reducing communication by 32× per iteration.
- The parameter server aggregates updates using a majority vote over the sign gradients, ensuring no single worker dominates the update.
- The method is proven to converge under natural conditions in both large-batch and mini-batch settings, extending convergence to Adam's parameter regime.
- Adversarial workers are modeled as uncoordinated entities that can compute and manipulate stochastic gradient estimates but cannot coordinate with others.
- The system is implemented in PyTorch with a centralized parameter server, enabling practical deployment and benchmarking.
- The framework is evaluated on ResNet-50 training on ImageNet using 15 AWS p3.2xlarge machines, comparing performance against NCCL.
Experimental results
Research questions
- RQ1Can a sign-based gradient aggregation method achieve convergence in large and mini-batch settings for deep learning?
- RQ2How does majority vote aggregation affect robustness against Byzantine workers in distributed training?
- RQ3To what extent can communication be reduced without degrading model accuracy or convergence speed?
- RQ4Can a simple signSGD with majority vote framework outperform optimized communication libraries like NCCL in real-world training scenarios?
Key findings
- signSGD with majority vote reduces communication by 32× per iteration compared to full-precision distributed SGD.
- The method achieves convergence in both large-batch and mini-batch settings, with convergence established for Adam’s parameter regime as a byproduct.
- The system is robust against up to 50% of workers acting adversarially, as majority voting prevents any single worker from dominating the update.
- On 15 AWS p3.2xlarge machines, the framework reduced ResNet-50 training time on ImageNet by 25% compared to NCCL, despite having the parameter server on a single machine.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.