TY - GEN
T1 - ElastiQuant: Elastic Quantization Strategy for Communication Efficient Distributed Machine Learning in IoT
AU - Sudharsan, Bharath
AU - Breslin, John G
AU - Ali, M Intizar
AU - Corcoran, Peter
AU - Ranjan, Rajiv
PY - 2022/4/25
Y1 - 2022/4/25
N2 - In training distributed machine learning, communicating model updates among workers has always been a bottleneck. The magnitude of impact on the quality of resultant models is higher when distributed training on low hardware specification devices and in uncertain real-world IoT networks where congestion, latency, bandwidth issues are common. In this scenario, gradient quantization plus encoding is an effective way to reduce cost when communicating model updates. Other approaches can be to limit the client-server communication frequency, adaptive compression by varying the spacing between quantization levels, reusing outdated gradients, deep compression to reduce transmission packet size, and adaptive tuning of the number of bits transmitted per round. The optimization levels provided by such and other non-comprehensive approaches do not suffice for high-dimensional NN models with large size model updates. This paper presents ElastiQuant, an elastic quantization strategy that aims to reduce the impact caused by limitations in distributed IoT training scenarios. The distinguishable highlights of this comprehensive work are: (i) theoretical assurances and bounds on variance and number of communication bits are provided, (ii) worst-case variance analysis is performed, and (iii) momentum is considered in convergence assurance. ElastiQuant experimental evaluation and comparison with top schemes by distributed training 5 ResNets on 18 edge GPUs over ImageNet and CIFAR datasets show: improved solution quality in terms of ≈ 2--11 % training loss reduction, ≈ 1--4 % accuracy boost, and ≈ 4--22 % variance drop; positive scalability due to higher communication compression resulting in saving bandwidth and ≈ 4--30 min per epoch training speedups.
AB - In training distributed machine learning, communicating model updates among workers has always been a bottleneck. The magnitude of impact on the quality of resultant models is higher when distributed training on low hardware specification devices and in uncertain real-world IoT networks where congestion, latency, bandwidth issues are common. In this scenario, gradient quantization plus encoding is an effective way to reduce cost when communicating model updates. Other approaches can be to limit the client-server communication frequency, adaptive compression by varying the spacing between quantization levels, reusing outdated gradients, deep compression to reduce transmission packet size, and adaptive tuning of the number of bits transmitted per round. The optimization levels provided by such and other non-comprehensive approaches do not suffice for high-dimensional NN models with large size model updates. This paper presents ElastiQuant, an elastic quantization strategy that aims to reduce the impact caused by limitations in distributed IoT training scenarios. The distinguishable highlights of this comprehensive work are: (i) theoretical assurances and bounds on variance and number of communication bits are provided, (ii) worst-case variance analysis is performed, and (iii) momentum is considered in convergence assurance. ElastiQuant experimental evaluation and comparison with top schemes by distributed training 5 ResNets on 18 edge GPUs over ImageNet and CIFAR datasets show: improved solution quality in terms of ≈ 2--11 % training loss reduction, ≈ 1--4 % accuracy boost, and ≈ 4--22 % variance drop; positive scalability due to higher communication compression resulting in saving bandwidth and ≈ 4--30 min per epoch training speedups.
UR - http://hdl.handle.net/10379/18565
U2 - 10.13025/29359
DO - 10.13025/29359
M3 - Conference Publication
T3 - The 37th ACM/SIGAPP Symposium on Applied Computing (SAC 2022)
BT - The 37th ACM/SIGAPP Symposium on Applied Computing (SAC 2022)
PB - Association for Computing Machinery (ACM)
ER -