NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Sketched Gaussian Mechanism for Private Federated Learning

Qiaobo Li, Zhijie Chen, Arindam Banerjee

Introduction

Federated Learning (FL) has emerged as a cornerstone for privacy-preserving machine learning, allowing multiple clients to collaboratively train models without centralizing raw data. However, deploying FL at scale faces a "trilemma" of competing objectives: maintaining high model accuracy, minimizing the substantial communication costs associated with high-dimensional gradients, and providing rigorous Differential Privacy (DP) guarantees against inference attacks.

Traditionally, communication efficiency and privacy have been treated as separate optimization problems. Communication is often addressed via sketching or quantization, while privacy is managed through noise-addition mechanisms like the Gaussian Mechanism. A recent study by researchers at the University of Illinois Urbana-Champaign introduces the Sketched Gaussian Mechanism (SGM), a framework that demonstrates how these two objectives are not just compatible, but synergistic.

The Problem: Communication and Privacy Bottlenecks

In modern FL, models like ResNet or BERT involve millions to billions of parameters. Sending full gradient updates from thousands of clients to a central server creates a massive communication bottleneck. Furthermore, even without sharing raw data, the gradients themselves can be exploited to reconstruct sensitive user information through inference attacks.

Standard approaches to private FL typically apply the Gaussian Mechanism directly to the full-dimensional gradient. This requires adding noise proportional to the total dimensionality of the model to ensure a specific privacy budget ($\epsilon$). When sketching is used to compress these gradients, it is often analyzed as a post-processing step or an approximation, which can lead to "loose" privacy bounds and a requirement for excessive noise that degrades model performance.

Methodology: The Sketched Gaussian Mechanism (SGM)

The SGM framework proposes a joint analysis of dimensionality reduction and privacy. Instead of treating sketching as a nuisance, the authors integrate it into the privacy accounting using Rényi Differential Privacy (RDP).

The SGM Process

The workflow for a client participating in Fed-SGM involves three primary steps:

  1. Gradient Clipping: The local gradient is clipped to a fixed $\ell_2$-norm to bound its sensitivity.
  2. Sketching: The clipped gradient is projected into a lower-dimensional space ($b$) using an isometric Gaussian sketching matrix.
  3. Noise Addition: Gaussian noise is added to the sketched (compressed) update.

By performing the noise addition after the projection, the mechanism benefits from the inherent information loss of the sketch. The server then receives these compressed, noisy updates and utilizes an adaptive optimizer—such as AMSGrad—to update the global model.

Theoretical Insights: Privacy for Free

The most significant contribution of this work is the proof of Privacy Amplification. The authors demonstrate that the privacy level ($\epsilon$) is proportional to $1/\sqrt{b}$, where $b$ is the sketch dimension.

This finding implies that as the compression ratio increases (i.e., as the sketch dimension $b$ becomes smaller relative to the original dimension $d$), the privacy guarantee naturally strengthens. Consequently, to reach a target privacy budget, SGM requires significantly less injected noise than standard DP-FedAvg.

Leveraging Intrinsic Dimension

Deep learning models often exhibit a "low intrinsic dimension," where the most critical information for convergence resides in a small subspace. The authors provide a convergence analysis showing that Fed-SGM's performance depends only logarithmically on the total parameter count ($d$) while scaling linearly with this smaller intrinsic dimension. This theoretical grounding explains why SGM remains highly effective even for massive architectures like BERT.

Experimental Evaluation

The researchers evaluated Fed-SGM against state-of-the-art benchmarks in both computer vision and natural language processing.

  • Vision (EMNIST ByClass): Using a ResNet101 model (42M parameters), Fed-SGM achieved the same privacy level as the baseline DP-FedAvg but with a noise scale reduced by nearly an order of magnitude (0.0883 vs. 0.8). This reduction in noise led to significantly higher classification accuracy.
  • Language (SST-2): In finetuning a BERT-Base model (100M parameters), SGM demonstrated superior performance, matching or exceeding the accuracy of non-sketched private variants while drastically reducing the communication payload.
  • Adaptivity: The integration with server-side adaptive optimizers like AMSGrad proved crucial, as these methods could better navigate the noisy, sketched landscape than simple Gradient Descent.

Limitations and Future Directions

While SGM represents a major step forward, the authors identify specific constraints. The current theoretical proof relies on isotropic Gaussian sketching matrices. While mathematically robust, these matrices can be computationally intensive to compute for very large models. Future research is needed to extend these privacy amplification proofs to more computationally efficient sketching techniques, such as Count Sketch or Fast Johnson-Lindenstrauss Transforms. Additionally, exploring the mechanism's robustness under extreme data heterogeneity (non-IID data) remains an open area for investigation.

Conclusion

The Sketched Gaussian Mechanism challenges the notion that privacy and efficiency must be traded off. By showing that sketching inherently amplifies privacy, SGM allows for the training of large-scale models that are simultaneously more private, more accurate, and more communication-efficient than previous state-of-the-art methods.

Reference: Li, Q., Chen, Z., & Banerjee, A. (2025). Sketched Gaussian Mechanism for Private Federated Learning. arXiv:2509.08195v1.

Summary updated

BibTeX
@inproceedings{li2025sketched,
  author = {Qiaobo Li and Zhijie Chen and Arindam Banerjee},
  title = {{Sketched Gaussian Mechanism for Private Federated Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=AUs0rScwK0},
}
Figure