Compression Boosts Differentially Private Federated Learning

Raouf Kerkouche, Gergely Ács, Claude Castelluccia, Pierre Genevès

Abstract

Federated Learning (FL) enables collaborative model training while preserving data privacy, but the addition of Differential Privacy (DP) noise often degrades model performance due to high dimensionality. This paper introduces FL-CS-DP, a framework leveraging compressive sensing to reduce model update dimensionality before applying DP noise. This approach significantly lowers privacy-induced error and reduces communication costs by up to 95% without sacrificing accuracy, demonstrating superior utility in both standard benchmarks and large-scale medical datasets.

Introduction

Federated Learning (FL) allows multiple parties, such as hospitals or mobile users, to train a shared model without sharing raw data. Instead, they exchange model updates or "gradients." However, these gradients can still leak sensitive information, potentially allowing adversaries to reconstruct private training samples.

To mitigate this, researchers employ Differential Privacy (DP), which involves adding random Gaussian noise to the gradients. A major challenge is that the required noise volume is proportional to the model's size. In modern neural networks with millions of parameters, this noise can become so "loud" that it destroys the model's utility. Furthermore, transmitting these massive, noisy update vectors creates a significant bottleneck for network bandwidth.

Methodology: The FL-CS-DP Framework

The authors propose a two-pronged approach: FL-CS for compression and FL-CS-DP for combined compression and privacy. The core innovation lies in using compressive sensing to shrink the "surface area" that requires protection by DP noise.

  1. Compressive Sensing (CS): Instead of the full gradient vector, clients transmit a compressed version. The framework utilizes a modified version of CS focusing on low-frequency components via the Discrete Cosine Transform (DCT), which typically carries the most critical information for learning.
  2. Privacy-Preserving Noise: Because the compressed vector is significantly shorter, adding DP noise results in a much lower noise-to-signal ratio for the overall model.
  3. Secure Aggregation: The linear nature of the compression operator allows the server to sum compressed, noisy updates from all clients before decompression, ensuring the server only sees the aggregate data.
  4. Reconstruction via BPDN: The server reconstructs the original gradient from the noisy, compressed sum using Basis Pursuit Denoising (BPDN), an optimization technique designed to find sparse signals in noisy data.
  5. Error Feedback: To prevent lossy compression from hindering convergence, the difference between the true and reconstructed gradients is stored and re-injected into subsequent training rounds.
Algorithm 3: The FL-CS Federated Learning framework detailing server and client-side operations.

Experimental Setup and Datasets

The researchers evaluated their approach on two distinct datasets to test both standard performance and real-world utility:

  • Fashion-MNIST: A benchmark of 70,000 grayscale images of clothing items across 10 categories.
  • Premier Healthcare Database: A massive, real-world dataset containing Electronic Health Records (EHR) for over 1.2 million hospital admissions across 415 US hospitals. The task was to predict in-hospital mortality, a highly imbalanced and sensitive medical classification problem.
Statistics of the Premier Healthcare Database showing the significant class imbalance between positive and negative cases.

Key Insights and Results

The "Compression Boost"

Counter-intuitively, lossy compression improves accuracy in a private setting. While compression usually involves a trade-off in standard machine learning, here the reduction in required DP noise outweighs the information loss from compression. This "compression boost" allows the model to maintain high utility even under strict privacy budgets.

Performance Metrics

  • Bandwidth Savings: The proposed method reduced communication costs by up to 95% compared to traditional non-private FL on both datasets.
  • Accuracy Gains: On Fashion-MNIST, FL-CS-DP achieved 78% accuracy with a 5% compression ratio. In contrast, standard uncompressed DP (FL-STD-DP) struggled to reach 61% accuracy due to excessive noise.
  • Medical Utility: On the sensitive EHR dataset, the method achieved an AUROC of 0.76 while maintaining a strict privacy budget ($\epsilon \approx 1$), performing nearly as well as non-private models but with 60% less bandwidth.

Limitations and Future Work

While FL-CS-DP offers significant advantages, it introduces computational overhead at the server level due to the complex BPDN optimization required for reconstruction. Although "chunking" updates can improve scalability, it remains more intensive than simple averaging. Future research may explore different sparsity bases beyond DCT to better represent updates for architectures like Transformers or Recurrent Neural Networks, and further optimize hyperparameter sensitivity regarding compression ratios and clipping thresholds.

Summary updated

BibTeX
@inproceedings{kerkouche2021compression,
  author = {Raouf Kerkouche and Gergely Ács and Claude Castelluccia and Pierre Genevès},
  title = {{Compression Boosts Differentially Private Federated Learning}},
  booktitle = {EuroS\&P},
  year = {2021},
  doi = {10.1109/eurosp51992.2021.00029},
}
Figure