Skip to main content
QUICK REVIEW

[Paper Review] FedSKETCH: Communication-Efficient and Private Federated Learning via Sketching

Farzin Haddadpour, Belhal Karimi|arXiv (Cornell University)|Aug 11, 2020
Privacy-Preserving Technologies in DataComputer Science57 references11 citations
TL;DR

FedSKETCH and FedSKETCHGATE are communication-efficient and privacy-preserving federated learning algorithms that use count sketch to compress local gradients, enabling secure, low-bandwidth aggregation without exposing raw gradients. The methods achieve convergence rates comparable to FedSGD with up to 75× compression, outperforming prior sketching and quantization methods in both homogeneous and heterogeneous data settings.

ABSTRACT

Communication complexity and privacy are the two key challenges in Federated Learning where the goal is to perform a distributed learning through a large volume of devices. In this work, we introduce FedSKETCH and FedSKETCHGATE algorithms to address both challenges in Federated learning jointly, where these algorithms are intended to be used for homogeneous and heterogeneous data distribution settings respectively. The key idea is to compress the accumulation of local gradients using count sketch, therefore, the server does not have access to the gradients themselves which provides privacy. Furthermore, due to the lower dimension of sketching used, our method exhibits communication-efficiency property as well. We provide, for the aforementioned schemes, sharp convergence guarantees. Finally, we back up our theory with various set of experiments.

Motivation & Objective

  • Address the dual challenges of communication overhead and device privacy in federated learning.
  • Develop a unified framework that jointly ensures communication efficiency and privacy preservation.
  • Provide theoretical convergence guarantees for nonconvex, Polyak-Łojasiewicz, and convex objectives under both i.i.d. and non-i.i.d. data distributions.
  • Outperform existing compression-based methods like SketchSGD and FedSGD in terms of test accuracy and convergence speed under high compression.
  • Design a novel sketching-based estimator (HEAPRIX) that is unbiased and suitable for both homogeneous and heterogeneous data settings.

Proposed method

  • Use count sketch to compress local gradients into low-dimensional sketches before transmission to the server.
  • Introduce HEAPRIX, a novel unbiased gradient estimator based on sketching that enables accurate model updates without revealing raw gradients.
  • Design FedSKETCH for homogeneous data (i.i.d.) and FedSKETCHGATE for heterogeneous data (non-i.i.d.) using sketch-based aggregation.
  • Apply sketching with random hash functions to ensure that the original gradients cannot be reconstructed, thus preserving privacy.
  • Use non-asymptotic convergence analysis to establish theoretical bounds for convex, PL, and nonconvex objectives under both data settings.
  • Integrate multiple local updates (τ) to reduce communication rounds while maintaining convergence performance.

Experimental results

Research questions

  • RQ1Can sketching be used to simultaneously reduce communication cost and preserve privacy in federated learning?
  • RQ2How does sketch-based gradient compression affect convergence in non-i.i.d. (heterogeneous) data settings?
  • RQ3Can an unbiased gradient estimator be constructed from sketching that enables convergence comparable to FedSGD?
  • RQ4What is the trade-off between compression ratio and model accuracy in sketch-based federated learning?
  • RQ5How do multiple local updates interact with sketching to improve communication efficiency?

Key findings

  • FedSKETCH and FedSKETCHGATE achieve test accuracy comparable to FedSGD even with up to 75× compression, corresponding to sketch sizes of (20,40).
  • HEAPRIX outperforms both FS-PRIVIX and SketchSGD in both homogeneous and heterogeneous settings, especially under high compression.
  • With a sketch size of (50,100), FedSKETCH achieves similar test accuracy to FedSGD across all settings, even with τ=5 local updates.
  • In the heterogeneous setting, SketchSGD performs poorly, while FedSKETCHGATE maintains strong performance with high compression.
  • The number of communication rounds required for convergence is significantly reduced when using multiple local updates with FedSKETCH, consistent with theoretical predictions.
  • Empirical results show that FS-HEAPRIX maintains stable convergence and avoids divergence, unlike FS-PRIVIX, especially with small sketch sizes and high τ.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.