Litcius/Paper detail

On the Discrepancy between the Theoretical Analysis and Practical Implementations of Compressed Communication for Distributed Deep Learning

Aritra Dutta, El Houcine Bergou, Ahmed M. Abdelmoniem, Chen-Yu Ho, Atal Narayan Sahu, Marco Canini, Panos Kalnis

202059 citationsDOIOpen Access PDF

Abstract

Compressed communication, in the form of sparsification or quantization of stochastic gradients, is employed to reduce communication costs in distributed data-parallel training of deep neural networks. However, there exists a discrepancy between theory and practice: while theoretical analysis of most existing compression methods assumes compression is applied to the gradients of the entire model, many practical implementations operate individually on the gradients of each layer of the model.In this paper, we prove that layer-wise compression is, in theory, better, because the convergence rate is upper bounded by that of entire-model compression for a wide range of biased and unbiased compression methods. However, despite the theoretical bound, our experimental study of six well-known methods shows that convergence, in practice, may or may not be better, depending on the actual trained model and compression ratio. Our findings suggest that it would be advantageous for deep learning frameworks to include support for both layer-wise and entire-model compression.

Topics & Concepts

Computer scienceImplementationQuantization (signal processing)Compression (physics)Convergence (economics)Compression ratioRate of convergenceData compressionBounded functionUpper and lower boundsAlgorithmData compression ratioLayer (electronics)Theoretical computer scienceArtificial intelligenceImage compressionMathematicsTelecommunicationsImage processingEngineeringChannel (broadcasting)Mathematical analysisComposite materialOrganic chemistryProgramming languageMaterials scienceEconomicsImage (mathematics)ChemistryAutomotive engineeringInternal combustion engineEconomic growthStochastic Gradient Optimization TechniquesDomain Adaptation and Few-Shot LearningSparse and Compressive Sensing Techniques
On the Discrepancy between the Theoretical Analysis and Practical Implementations of Compressed Communication for Distributed Deep Learning | Litcius