Skip to main content
QUICK REVIEW

[Paper Review] Computing Tight Differential Privacy Guarantees Using FFT

Antti Koskela, Joonas Jälkö|arXiv (Cornell University)|Jun 7, 2019
Privacy-Preserving Technologies in DataComputer Science22 references11 citations
TL;DR

This paper proposes a numerical accountant for computing tight $(\varepsilon,\delta)$-differential privacy guarantees using the fast Fourier transform (FFT) to efficiently evaluate integral-based privacy loss distributions (PLD) for continuous one-dimensional mechanisms. The method achieves significantly tighter privacy bounds and faster computation than prior approaches, particularly for the subsampled Gaussian mechanism used in DP stochastic gradient descent.

ABSTRACT

Differentially private (DP) machine learning has recently become popular. The privacy loss of DP algorithms is commonly reported using $(\varepsilon,δ)$-DP. In this paper, we propose a numerical accountant for evaluating the privacy loss for algorithms with continuous one dimensional output. This accountant can be applied to the subsampled multidimensional Gaussian mechanism which underlies the popular DP stochastic gradient descent. The proposed method is based on a numerical approximation of an integral formula which gives the exact $(\varepsilon,δ)$-values. The approximation is carried out by discretising the integral and by evaluating discrete convolutions using the fast Fourier transform algorithm. We give both theoretical error bounds and numerical error estimates for the approximation. Experimental comparisons with state-of-the-art techniques demonstrate significant improvements in bound tightness and/or computation time. Python code for the method can be found in Github (https://github.com/DPBayes/PLD-Accountant/).

Motivation & Objective

  • To develop a numerically efficient and accurate method for computing tight $(\varepsilon,\delta)$-differential privacy guarantees for mechanisms with continuous one-dimensional output.
  • To address the computational bottleneck in privacy accounting for iterative DP algorithms, especially DP stochastic gradient descent, by leveraging FFT for fast convolution evaluation.
  • To extend privacy accounting to multiple subsampling schemes—Poisson, with replacement, and without replacement—using a unified framework based on the privacy loss distribution (PLD).
  • To provide theoretical error bounds and numerical error estimates for the FFT-based approximation of the integral formula underlying exact $(\varepsilon,\delta)$-values.

Proposed method

  • The method computes the privacy loss distribution (PLD) via a discretized integral formula that expresses exact $(\varepsilon,\delta)$-values as a function of the PLD density.
  • Discrete convolutions required for composition of multiple mechanisms are computed using the fast Fourier transform (FFT), enabling efficient numerical evaluation.
  • The integral is discretized over a finite grid, and the PLD density is approximated using numerical quadrature, with error bounds derived from the smoothness of the underlying functions.
  • The approach is applied to the subsampled multidimensional Gaussian mechanism, a core building block in DP-SGD, using both Poisson and deterministic subsampling schemes.
  • Theoretical error bounds are derived based on the derivatives of the privacy loss function and the PLD density, ensuring controlled approximation error.
  • The implementation is open-sourced in Python, with code available on GitHub for reproducibility and integration into DP machine learning pipelines.

Experimental results

Research questions

  • RQ1Can the privacy loss distribution (PLD) be accurately and efficiently computed for continuous mechanisms using FFT-based numerical integration?
  • RQ2How does the FFT-based accountant compare in accuracy and speed to existing methods such as the moments accountant and Rényi differential privacy (RDP) composition?
  • RQ3Can the method achieve tighter $(\varepsilon,\delta)$-DP bounds across different subsampling strategies, including Poisson, with-replacement, and without-replacement sampling?
  • RQ4What are the theoretical and empirical error bounds of the FFT-based approximation for the integral formula of exact privacy loss?

Key findings

  • The FFT-based accountant achieves significantly tighter $(\varepsilon,\delta)$-DP bounds than both the moments accountant and Rényi differential privacy (RDP) composition methods.
  • The method reduces computation time substantially compared to state-of-the-art techniques, especially for high-dimensional or repeated composition scenarios.
  • Theoretical error bounds are derived based on the smoothness of the privacy loss function and PLD density, with numerical error estimates confirming high accuracy.
  • The approach supports multiple subsampling mechanisms—Poisson, with replacement, and without replacement—within a single unified framework.
  • Empirical results demonstrate that the method achieves tighter privacy guarantees across a range of hyperparameters, particularly in the low-$\delta$ regime.
  • The open-source implementation on GitHub enables practical deployment and integration into DP machine learning workflows, such as DP-SGD.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.