Correlation Aware Sparsified Mean Estimation Using Random Projection
Shuli Jiang, Pranay Sharma, Gauri Joshi
Abstract
We study the problem of communication-efficient distributed vector mean estimation, a commonly used subroutine in distributed optimization and Federated Learning (FL). Rand-k sparsification is a commonly used technique to reduce communication cost, where each client sends k < d of its coordinates to the server. However, Rand-k is agnostic to any correlations, that might exist between clients in practical scenarios. The recently proposed Rand-k-Spatial estimator leverages the cross-client correlation information at the server to improve Rand-k's performance. Yet, the performance of Rand-k-Spatial is suboptimal. We propose the Rand-Proj-Spatial estimator with a more flexible encoding-decoding procedure, which generalizes the encoding of Rand-k by projecting the client vectors to a random k-dimensional subspace. We utilize Subsampled Randomized Hadamard Transform (SRHT) as the projection matrix and show that Rand-Proj-Spatial with SRHT outperforms Rand-k-Spatial, using the correlation information more efficiently. Furthermore, we propose an approach to incorporate varying degrees of correlation and suggest a practical variant of Rand-Proj-Spatial when the correlation information is not available to the server. Experiments on real-world distributed optimization tasks showcase the superior performance of Rand-Proj-Spatial compared to Rand-k-Spatial and other more sophisticated sparsification techniques. Can we design an improved joint encoding-decoding scheme that utilizes the correlation information and achieves an improved estimation error? One naïve solution is to apply the same random rotation matrix G ∈ R d×d to each client vector, before applying Rand-k or Rand-k-Spatial encoding. Indeed, such preprocessing is applied to improve the estimator using quantization techniques on heterogeneous vectors [13, 10] . However, as we see in Appendix A.1, for sparsification, we can show that this leads to no improvement. But what happens if every client uses a different random matrix, or applies a random k × d-dimensional linear map? How to design the corresponding decoding procedure to leverage cross-client correlation? As there is no way for one to directly apply the decoding procedure of Rand-k-Spatial in such cases. To answer these questions, we propose the Rand-Proj-Spatial family estimator. We propose a flexible encoding procedure in which each client applies its own random linear map to encode the vector. Further, our novel decoding procedure can better leverage cross-client correlation. The resulting mean estimator generalizes and improves over the Rand-k-Spatial family estimator. Next, we discuss some reasonable restrictions we expect our mean estimator to obey. 1) Unbiased. An unbiased mean estimator is theoretically more convenient compared to a biased one [14] . 2) Non-adaptive. We focus on an encoding procedure that does not depend on the actual client data, as opposed to the adaptive ones, e.g. Rand-k with vector-based sampling probability [11, 15] . Designing a data-adaptive encoding procedure is computationally expensive as this might require using an iterative procedure to find out the sampling probabilities [11] . In practice, however, clients often have limited computational power compared to the server. Further, as discussed earlier, mean estimation is often a subroutine in more complicated tasks. For applications with streaming data [16], the additional computational overhead of adaptive schemes is challenging to maintain. Note that both Rand-k and Rand-k-Spatial family estimator [12] are unbiased and non-adaptive. In this paper, we focus on the severely communication-constrained case nk ≤ d, when the server receives very limited information about any single client vector. If nk ≫ d, we see in Appendix A.2 that the cross-client information has no additional advantage in terms of improving the mean estimate under both Rand-k-Spatial or Rand-Proj-Spatial, with different choices of random linear maps. Furthermore, when nk ≫ d, the performance of both the estimators converges to that of Rand-k. Intuitively, this means when the server receives sufficient information regarding the client vectors, it does not need to leverage cross-client correlation to improve the mean estimator. Our contributions can be summarized as follows: 1. We propose the Rand-Proj-Spatial family estimator with a more flexible encoding-decoding procedure, which can better leverage the cross-client correlation information to achieve a more general and improved mean estimator compared to existing ones. 2. We show the benefit of using Subsampled Randomized Hadamard Transform (SRHT) as the random linear maps in Rand-Proj-Spatial in terms of better mean estimation error (MSE). We theoretically analyze the case when the correlation information is known at the server (see Theorems 4.3, 4.4 and Section 4.3). Further, we propose a practical configuration called Rand-Proj-Spatial(Avg) when the correlation is unknown. 3. We conduct experiment
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers1
Ask how each one uses itBuilds on11
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- FetchSGD: Communication-Efficient Federated Learning with SketchingDaniel Rothchild, Ashwinee Panda, Enayat Ullah, Nikita Ivkin et al.ICML 2020 · 425 citations
- Breaking the Communication-Privacy-Accuracy TrilemmaWei-Ning Chen, Peter Kairouz, Ayfer ÖzgürNeurIPS 2020 · 144 citations
- DRIVE: One-bit Distributed Mean EstimationShay Vargaftik, Ran Ben-Basat, Amit Portnoy, Gal Mendelson et al.NeurIPS 2021 · 82 citations
- A Better Alternative to Error Feedback for Communication-Efficient Distributed LearningSamuel Horváth, Peter RichtárikICLR 2021 · 66 citations
Related papers
- Leveraging Spatial and Temporal Correlations in Sparsified Mean EstimationDivyansh Jhunjhunwala, Ankur Mallick, Advait Gadhikar, Swanand Kadhe et al.NeurIPS 2021 · 14 citations
- Fast Optimal Locally Private Mean Estimation via Random ProjectionsHilal Asi, Vitaly Feldman, Jelani Nelson, Huy L. Nguyen et al.NeurIPS 2023 · 21 citations
- Accelerating Federated Learning with Quick Distributed Mean EstimationRan Ben-Basat, Shay Vargaftik, Amit Portnoy, Gil Einziger et al.ICML 2024 · 11 citations
- New Bounds For Distributed Mean Estimation and Variance ReductionPeter Davies, Vijaykrishna Gurunanthan, Niusha Moshrefi, Saleh Ashkboos et al.ICLR 2021 · 4 citations
- Correlated Quantization for Distributed Mean Estimation and OptimizationAnanda Theertha Suresh, Ziteng Sun, Jae Ro, Felix X. YuICML 2022 · 18 citations
