Breaking the Communication-Privacy-Accuracy Tradeoff with $f$-Differential Privacy

Richeng Jin, Zhonggen Su, Caijun Zhong, Zhaoyang Zhang, Tony Quek, Huaiyu Dai

In the world of federated learning, data scientists are constantly juggling three competing priorities: privacy (keeping user data secret), communication (minimizing the data sent over the network), and accuracy (ensuring the final model actually works). Traditionally, these three exist in a zero-sum game known as the "three-way tradeoff." If you want more privacy or less communication, your accuracy usually takes a hit.

A new paper, "Breaking the Communication-Privacy-Accuracy Tradeoff with $f$-Differential Privacy," presented at NeurIPS 2023, suggests we might be able to have our cake and eat it too. By looking at data compression through a new mathematical lens, the authors demonstrate that compression isn't just a way to save bandwidth—it’s a powerful privacy tool that can actually improve the overall system performance.

TL;DR

This paper uses the framework of $f$-differential privacy to prove that aggressive data compression (specifically sparsification) inherently amplifies privacy. By proposing a new ternary stochastic compressor, the authors show that in high-dimensional settings like federated learning, you can achieve the same accuracy and privacy as standard methods while significantly reducing communication costs, effectively "breaking" the traditional three-way tradeoff.

What Problem Does This Paper Address?

Federated analytics involves a central server coordinating data analysis across many users without ever seeing their raw data. To make this practical, researchers use two main tools:

  1. Differential Privacy (DP): Adding noise to data so individual contributions can't be singled out.
  2. Compression: Reducing the size of updates (e.g., gradients) to save communication costs.

The problem is that standard DP often uses continuous noise (like Gaussian noise), which is "heavy" to communicate. Discrete alternatives exist, but their privacy guarantees are often loose or poorly understood when combined with compression. The field has long accepted a "three-way tradeoff": more compression or more privacy inevitably leads to higher Mean Square Error (MSE). The authors set out to bridge this gap by providing a rigorous way to quantify the privacy "bonus" you get just by compressing your data.

Methods

The researchers moved away from the standard $(\epsilon, \delta)$-DP and instead used $f$-Differential Privacy ($f$-DP). This framework treats privacy as a hypothesis-testing problem: how well can an attacker distinguish between two neighboring datasets? This approach allows for much tighter analysis and "lossless" conversion between different privacy measures.

Key Innovations:

  • Tight Analysis of Discrete Mechanisms: They derived closed-form $f$-DP guarantees for common discrete mechanisms like binomial noise. Their bounds are significantly tighter than previous work.
  • The Ternary Stochastic Compressor: The authors proposed a new mechanism that quantizes data into three values: $\{-1, 0, 1\}$.
  • The "0" represents sparsification—simply not sending a value for a specific coordinate.
  • The "1" and "-1" are probabilistic representations of the data's sign.
  • Privacy Amplification by Sparsification: The core idea is that when a user sends a "0," the server learns absolutely nothing about that specific data point. The authors mathematically proved that this "nothingness" amplifies the privacy of the entire message.

Datasets

The paper evaluates its theories using synthetic datasets designed for distributed mean estimation, which is the fundamental building block of Federated Learning (where users send gradient updates to be averaged).

  • Setup: $N = 1000$ users.
  • Data Dimension: $d = 250$ (representing a small model, though the theory is designed for the "large $d$" regime typical of modern neural networks).
  • Benchmarks: They compared their ternary compressor against SQKR (a state-of-the-art quantized mechanism) and the classic Gaussian mechanism.

Key Insights and Ideas

  • The "Free Lunch" in High Dimensions: In the "large $d$" regime (where the number of parameters is high), the ternary compressor achieves the same privacy and accuracy as the Gaussian mechanism but uses far fewer bits. Essentially, the communication efficiency comes "for free."
  • Compression as a Privacy Feature: Instead of viewing compression error as a nuisance that hurts accuracy, the authors show it can be "translated" into privacy. This means that as you compress more aggressively (increasing the sparsity ratio), the privacy improves, allowing you to reduce the other noise you would normally have to add.
  • Breaking the Tradeoff: Because compression error and privacy noise can be balanced, the authors show that the final accuracy (MSE) can become independent of the communication cost. This is the "break" in the tradeoff.
This figure illustrates how sparsification (the ternary compressor) provides a better privacy-utility tradeoff compared to simple sign-based compression (sto-sign). The gray area represents the "privacy bonus" gained purely from sending zeros.

Key Results

  • Massively Tighter Bounds: For a binomial noise setup with $M=500$ trials, previous methods required a privacy failure probability ($\delta$) of at least $0.044$. This paper’s analysis shows $\delta$ can actually be as small as $4.61 \times 10^{-136}$—a astronomical difference in guaranteed safety.
  • Outperforming SQKR: In head-to-head tests, the ternary compressor provided significantly better privacy protection (higher type II error for attackers) than the SQKR method at identical communication and accuracy levels.
  • Matching the Gold Standard: The ternary compressor matches the MSE and privacy of the Gaussian mechanism in high dimensions while being much more communication-efficient.

Limitations and Future Work

  • Large $d$ Dependency: The tightest results for the vector case rely on the Central Limit Theorem, meaning they are most accurate when the data dimension $d$ is large. While this fits modern deep learning, it might be less tight for very small-scale analytics.
  • Optimality Questions: While the ternary compressor matches the order-optimal results of $(\epsilon, \delta)$-DP, the authors note that its absolute optimality within the $f$-DP framework specifically still needs further theoretical exploration.
  • Byzantine Resilience: The abstract mentions applications in Byzantine resilience (protecting against malicious users), but the core of this paper focuses on the privacy-communication-accuracy triangle. Exploring the robustness of these ternary updates against attacks is a promising next step.

Summary updated

Abstract

We consider a federated data analytics problem in which a server coordinates the collaborative data analysis of multiple users with privacy concerns and limited communication capability. The commonly adopted compression schemes introduce information loss into local data while improving communication efficiency, and it remains an open problem whether such discrete-valued mechanisms provide any privacy protection. In this paper, we study the local differential privacy guarantees of discrete-valued mechanisms with finite output space through the lens of $f$-differential privacy (DP). More specifically, we advance the existing literature by deriving tight $f$-DP guarantees for a variety of discrete-valued mechanisms, including the binomial noise and the binomial mechanisms that are proposed for privacy preservation, and the sign-based methods that are proposed for data compression, in closed-form expressions. We further investigate the amplification in privacy by sparsification and propose a ternary stochastic compressor. By leveraging compression for privacy amplification, we improve the existing methods by removing the dependency of accuracy (in terms of mean square error) on communication cost in the popular use case of distributed mean estimation, therefore breaking the three-way tradeoff between privacy, communication, and accuracy. Finally, we discuss the Byzantine resilience of the proposed mechanism and its application in federated learning.
BibTeX
@inproceedings{jin2023breaking,
  author = {Richeng Jin and Zhonggen Su and Caijun Zhong and Zhaoyang Zhang and Tony Quek and Huaiyu Dai},
  title = {{Breaking the Communication-Privacy-Accuracy Tradeoff with $f$-Differential Privacy}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=4ZaPpVDjGQ},
}
Figure