On the f-Differential Privacy Guarantees of Discrete-Valued Mechanisms

Richeng Jin, Zhonggen Su, Caijun Zhong, Zhaoyang Zhang, Tony Q. S. Quek, Huaiyu Dai · OpenReview

Presented at NeurIPS 2023, this research addresses a fundamental challenge in distributed machine learning: the "three-way tradeoff" between communication efficiency, data privacy, and model accuracy. Traditionally, researchers have viewed communication compression and privacy-preserving noise as two separate "taxes" on accuracy. This paper demonstrates that these two processes are not only compatible but can be mathematically unified to provide "privacy for free."

The Limitations of Standard Differential Privacy

In federated learning, a central server aggregates data from numerous users. To protect privacy, Differential Privacy (DP) mechanisms typically add noise to the data. To save bandwidth, quantization or sparsification techniques compress the data.

Standard $(\epsilon, \delta)$-DP proofs often rely on continuous noise (like Gaussian noise), which is difficult to implement precisely on finite-precision hardware and interacts poorly with discrete compression schemes. Furthermore, existing privacy bounds for discrete noise mechanisms have historically been loose, leading to overly pessimistic estimates of privacy leakage.

Methodology: The $f$-DP Framework

The researchers pivot from standard DP to $f$-Differential Privacy ($f$-DP). This framework characterizes privacy through the lens of hypothesis testing: it measures how difficult it is for an attacker to distinguish between two neighboring datasets based on the mechanism's output. By using this approach, the authors derived exact, closed-form mathematical expressions for the privacy provided by discrete mechanisms, such as Binomial noise and sign-based compressors.

Trade-off functions $f(\alpha)$ for discrete mechanisms across varying parameters $M$.

Privacy Amplification by Sparsification

A key contribution is the Ternary Stochastic Compressor. This mechanism maps data to a set of three values: $\{-1, 0, 1\}$. The "0" represents a coordinate that is not transmitted, effectively sparsifying the update. The authors provide a formal proof that this act of sending "nothing" significantly increases the "confusion" for a potential attacker, thereby boosting the privacy budget without requiring additional external noise.

Key Insights and Results

The study reveals that when accounted for correctly, compression acts as a powerful privacy-amplifying tool. In high-dimensional settings (large $d$), the proposed ternary compressor achieves the same accuracy and privacy as the gold-standard Gaussian mechanism while using significantly less bandwidth. Essentially, the error introduced by compression is "swallowed" by the privacy requirement, breaking the traditional tradeoff.

Comparison of trade-off functions for sto-sign, ternary, and standard $(\epsilon, \delta)$-DP bounds.

By using $f$-DP, the authors found that existing discrete mechanisms were much more private than previously thought. In one empirical scenario, the "privacy failure" probability ($\delta$) was shown to be $10^{-136}$ using their tight bounds, compared to $0.044$ using traditional methods—a massive increase in the safety margin.

Performance Benchmarks

  • Breaking the Tradeoff: For distributed mean estimation, the Mean Square Error (MSE) can be made independent of the communication cost in high-privacy regimes.
  • Superiority over SQKR: The ternary compressor consistently outperformed Subsampled and Quantized Kashin’s Response (SQKR), providing lower error for a fixed privacy level.
  • Gaussian Parity: For binary-like data common in neural network layers, the scheme matches Gaussian mechanism performance while remaining communication-efficient by design.

Future Directions

While the results are "tightest" for high-dimensional data (where the Central Limit Theorem applies), future work aims to extend these tight $f$-DP bounds to smaller analytics tasks and more complex federated operations, such as heavy hitters or frequency estimation. A formal proof of absolute optimality for the ternary compressor within the $f$-DP framework also remains an open theoretical question.

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{jin2023f,
  author = {Richeng Jin and Zhonggen Su and Caijun Zhong and Zhaoyang Zhang and Tony Q. S. Quek and Huaiyu Dai},
  title = {{On the f-Differential Privacy Guarantees of Discrete-Valued Mechanisms}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=4ZaPpVDjGQ},
}
Figure