Optimal Accounting of Differential Privacy via Characteristic Function

Yuqing Zhu, Jinshuo Dong, Yu-Xiang Wang

Introduction

Differential Privacy (DP) has become the gold standard for privacy-preserving data analysis. A critical component of DP systems is the "accountant," which tracks the cumulative privacy loss over multiple queries or training steps. Loose accounting leads to inefficient use of the privacy budget, necessitating higher noise levels and degrading model utility. This paper introduces a unified framework for DP accounting using the characteristic function ($\phi$-function) of the privacy loss distribution, providing exactly tight privacy bounds that outperform traditional methods.

The Landscape of DP Accounting

Existing accounting frameworks offer various trade-offs between ease of composition and tightness of the resulting privacy bounds. Renyi Differential Privacy (RDP) is popular due to its simple additive composition rule, but converting RDP bounds back to the standard $(\epsilon, \delta)$-DP format is inherently lossy. Conversely, Privacy Loss Distributions (PLD) provide exact bounds but are computationally intensive, often relying on Fast Fourier Transforms (FFT) that introduce discretization errors or high memory usage.

Comparison of existing DP accounting frameworks, highlighting their functional views, pros, and cons.

Methods: The Analytical Fourier Accountant

The authors propose a unification of recent DP frameworks via the characteristic function—the Fourier transform of the privacy loss distribution. Unlike RDP, which only tracks specific moments, the characteristic function is a lossless representation of privacy loss.

The core contribution is the Analytical Fourier Accountant (AFA), which leverages several key innovations:

  1. Dominating Pairs: A formalization that ensures the accountant always reflects the worst-case scenario, even for complex mechanisms where a single worst-case dataset pair might not exist.
  2. Symbolic Composition: In the Fourier domain, composition corresponds to simple multiplication of $\phi$-functions. AFA maintains these representations symbolically, avoiding numerical errors until the final query.
  3. Gaussian Quadrature: Instead of the fixed-grid FFT used in previous PLD methods, AFA employs Gaussian quadrature for numerical inversion. This allows for adaptive, high-precision integration that is significantly more accurate and faster than fixed-grid methods.

Results and Evaluation

The AFA was evaluated against standard mechanisms like the Gaussian and Laplace mechanisms, as well as subsampled mechanisms critical for private Stochastic Gradient Descent (DP-SGD).

Comparison of privacy bounds for Randomized Response (RR) and Gaussian Mechanism (GM) across different DP frameworks: (a) RDP, (b) f-DP, and (c) (ε, δ)-DP.

As shown in Figure (c) above, the exact privacy profile obtained via the Fourier approach (orange dotted line) provides a tighter $(\epsilon, \delta)$ bound than the optimal conversion from Renyi DP (blue solid line). For the Gaussian mechanism, AFA matches the analytical tightest possible bound, whereas RDP-based accounting is noticeably looser.

Furthermore, AFA demonstrates significant computational efficiency. It can compute a privacy bound in approximately 0.2 seconds with numerical errors as low as $10^{-13}$, requiring orders of magnitude fewer sample points than FFT-based methods. This efficiency makes it a practical choice for real-world DP-ML applications.

Conclusion

The Analytical Fourier Accountant provides a powerful, efficient, and exact tool for DP accounting. By decoupling the representation of privacy loss from the computation of bounds, it offers a flexible framework that outperforms traditional RDP-based methods while maintaining the rigor required for large-scale private machine learning. The authors have released the autodp library to make these tools accessible to the broader research community.

Summary updated

BibTeX
@inproceedings{zhu2022optimal,
  author = {Yuqing Zhu and Jinshuo Dong and Yu-Xiang Wang},
  title = {{Optimal Accounting of Differential Privacy via Characteristic Function}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
}
Figure