New Bounds For Distributed Mean Estimation and Variance Reduction
arXiv:2002.09268
Abstract
We consider the problem of distributed mean estimation (DME), in which machines are each given a local -dimensional vector , and must cooperate to estimate the mean of their inputs , while minimizing total communication cost. DME is a fundamental construct in distributed machine learning, and there has been considerable work on variants of this problem, especially in the context of distributed variance reduction for stochastic gradients in parallel SGD. Previous work typically assumes an upper bound on the norm of the input vectors, and achieves an error bound in terms of this norm. However, in many real applications, the input vectors are concentrated around the correct output , but itself has large norm. In such cases, previous output error bounds perform poorly. In this paper, we show that output error bounds need not depend on input norm. We provide a method of quantization which allows distributed mean estimation to be performed with solution quality dependent only on the distance between inputs, not on input norm, and show an analogous result for distributed variance reduction. The technique is based on a new connection with lattice theory. We also provide lower bounds showing that the communication to error trade-off of our algorithms is asymptotically optimal. As the lattices achieving optimal bounds under -norm can be computationally impractical, we also present an extension which leverages easy-to-use cubic lattices, and is loose only up to a logarithmic factor in . We show experimentally that our method yields practical improvements for common applications, relative to prior approaches.
arXiv comment42 pages, 16 figures
References in corpus (10)
- QSGD: Communication-Efficient SGD via Gradient Quantization and Encoding
- TernGrad: Ternary Gradients to Reduce Communication in Distributed Deep Learning
- Sparsified SGD with Memory
- Local SGD Converges Fast and Communicates Little
- ATOMO: Communication-efficient Learning via Atomic Sparsification
- Error Feedback Fixes SignSGD and other Gradient Compression Schemes
- Distributed Mean Estimation with Limited Communication
- PowerSGD: Practical Low-Rank Gradient Compression for Distributed Optimization
- Distributed Learning with Compressed Gradient Differences
- Moniqua: Modulo Quantized Communication in Decentralized SGD