LGFeb 5, 2021

DeepReduce: A Sparse-tensor Communication Framework for Distributed Deep Learning

arXiv:2102.03112v17 citations
Originality Incremental advance
AI Analysis

This work addresses the communication overhead problem for distributed deep learning practitioners by providing a framework to reduce data transmission for sparse tensors.

This paper introduces DeepReduce, a framework for compressed communication of sparse tensors in distributed deep learning. It decomposes sparse tensors into values and indices, applying independent or combined compression using existing and novel schemes, resulting in fewer data transmissions and lower computational overhead without affecting training accuracy.

Sparse tensors appear frequently in distributed deep learning, either as a direct artifact of the deep neural network's gradients, or as a result of an explicit sparsification process. Existing communication primitives are agnostic to the peculiarities of deep learning; consequently, they impose unnecessary communication overhead. This paper introduces DeepReduce, a versatile framework for the compressed communication of sparse tensors, tailored for distributed deep learning. DeepReduce decomposes sparse tensors in two sets, values and indices, and allows both independent and combined compression of these sets. We support a variety of common compressors, such as Deflate for values, or run-length encoding for indices. We also propose two novel compression schemes that achieve superior results: curve fitting-based for values and bloom filter-based for indices. DeepReduce is orthogonal to existing gradient sparsifiers and can be applied in conjunction with them, transparently to the end-user, to significantly lower the communication overhead. As proof of concept, we implement our approach on Tensorflow and PyTorch. Our experiments with large real models demonstrate that DeepReduce transmits fewer data and imposes lower computational overhead than existing methods, without affecting the training accuracy.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes