Shuffled Model of Differential Privacy in Federated Learning

Antonious M. Girgis, Deepesh Data, Suhas N. Diggavi, Peter Kairouz, Ananda Theertha SureshAISTATS 2021

Abstract

This paper introduces CLDP-SGD, a novel algorithm for Federated Learning (FL) that simultaneously achieves high privacy and communication efficiency. By integrating local differential privacy (LDP) with a "shuffled model" and random subsampling, the authors demonstrate that gradients can be compressed to $O(\log d)$ bits without compromising the privacy-utility trade-off. Empirical evaluations on the MNIST dataset show that CLDP-SGD can reduce communication overhead by over 28,000x while maintaining high accuracy, effectively matching the theoretical lower bounds for centralized private learning.

Introduction

Federated Learning (FL) aims to train machine learning models across distributed devices without centralizing raw data. However, practitioners face a "trilemma" in balancing three competing needs: strong privacy guarantees, low communication bandwidth, and high model utility. Standard Local Differential Privacy (LDP) often introduces excessive noise, leading to poor accuracy, while centralized DP requires a trusted server. Furthermore, transmitting full-precision gradients for models with millions of parameters is prohibitively expensive for mobile and edge devices. This paper addresses these bottlenecks through a unified framework that leverages privacy amplification via shuffling.

The CLDP-SGD Framework

The authors propose CLDP-SGD (Communication-efficient and Local Differentially Private Stochastic Gradient Descent), which utilizes several layers of optimization to protect data and reduce bandwidth.

The Shuffled Model

A central feature of the architecture is the shuffled model. Instead of sending gradients directly to the server, clients transmit their updates to a "secure shuffler." This intermediary strips metadata and applies a random permutation to the updates, ensuring the server cannot link specific gradients to individual clients. This process of anonymization significantly amplifies the privacy level, transforming a weak local guarantee into a much stronger central one.

Figure 1: The Shuffled Model architecture, illustrating the process where client updates are randomized and permuted by a shuffler before reaching the server.

Coupled Subsampling and Compression

Privacy is further boosted by two types of randomness: client sampling (selecting only a fraction of devices per round) and data sampling (using small local batches). To address communication costs, the authors developed a private mean estimation technique ($R_p$). Clients clip their gradients using $L_p$ norms and quantize them into a very small number of bits. Rigorous minimax analysis proves that these compression schemes are order-optimal, achieving the lower bounds of error for mean estimation.

Experimental Evaluation

The algorithm was evaluated on the MNIST handwritten digit dataset, distributed across 60,000 clients (one image per client), using a CNN with approximately 13,170 parameters.

Key Results

  • Massive Compression: The mechanism required only $\approx 15$ bits per parameter (calculated as $\log(d) + 1$). Compared to standard 32-bit floating-point numbers, this represents a 28,096x reduction in communication bits, proving that efficiency can be achieved "for free."
  • High Accuracy: Despite heavy compression and privacy noise, the model achieved 87.9% accuracy at a total privacy budget of $\epsilon = 10$ and 76.7% at a strict $\epsilon = 5$.
  • Theoretical Optimality: For convex loss functions, CLDP-SGD matches the known lower bounds for centralized private empirical risk minimization (ERM), indicating it is essentially as effective as a private algorithm can be in this setting.

Discussion and Future Work

The primary insight of this work is that shuffling improves privacy by a factor of roughly $1/\sqrt{k}$ (where $k$ is the number of clients), making the noise much more manageable. The authors also provide a new unifying proof for composing shuffling and subsampling, which may be applicable to other privacy domains.

However, a performance gap still exists compared to purely centralized DP (where a trusted server adds Gaussian noise). Future work may narrow this gap using Rényi Differential Privacy analysis. Additionally, while the "secure shuffler" is a standard theoretical abstraction, its real-world implementation via hardware enclaves or multi-party computation remains an engineering challenge. Scaling CLDP-SGD to larger models like Transformers also remains an open area for experimentation.

Summary updated

BibTeX
@inproceedings{girgis2021shuffled,
  author = {Antonious M. Girgis and Deepesh Data and Suhas N. Diggavi and Peter Kairouz and Ananda Theertha Suresh},
  title = {{Shuffled Model of Differential Privacy in Federated Learning}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2021},
}
Figure