Functional Renyi Differential Privacy for Generative Modeling

Dihong Jiang, Sun Sun, Yaoliang Yu

Differential Privacy (DP) has become the gold standard for quantifying and ensuring data privacy in machine learning. However, the vast majority of DP mechanisms are designed to randomize fixed, finite-dimensional vector outputs, such as gradients in neural network training. When researchers attempt to privately release a function—such as a reward function in reinforcement learning or a loss function in a kernel-based model—standard DP tools fall short.

The core issue is dimensionality. Because a function can be conceptualized as having infinite dimensions, applying standard vector-based DP often results in infinite "sensitivity" (the maximum change one individual's data can cause). Compensating for this requires adding an infinite amount of noise, rendering the output useless. While preliminary notions of functional DP have been proposed, they have historically lacked the essential "calculus"—such as composition and subsampling rules—required for iterative deep learning.

Introducing Functional Rényi Differential Privacy (f-RDP)

To bridge this gap, this research introduces Functional Rényi Differential Privacy (f-RDP), a comprehensive framework that extends RDP guarantees to infinite-dimensional functional outputs. The authors develop the necessary theoretical and practical building blocks to make functional privacy viable for modern machine learning:

  1. Functional Gaussian Mechanism: Rather than adding standard Gaussian noise to a vector, this mechanism adds a "sample path" drawn from a Gaussian process directly to the function.
  2. Composition Rules: The authors prove that f-RDP obeys sequential and parallel composition rules analogous to its vector counterparts. This allows practitioners to accurately track the total privacy budget expended over multiple training iterations.
  3. Subsampled Gaussian Mechanism (SGM): The framework demonstrates that training on small data batches provides the same privacy amplification for functions as it does for vectors, making it fully compatible with standard neural network training.

Application: DP-Kernel for Generative Modeling

As a flagship application of f-RDP, the authors developed a Differentially Private Generative Model (DPGM) called DP-kernel.

Previous attempts at functional privacy often relied on truncating the function space to make it finite, which inherently destroyed fine-grained structural details. DP-kernel takes a different approach: it privatizes the loss function—specifically, the Maximum Mean Discrepancy (MMD)—directly within its native infinite-dimensional space, the Reproducing Kernel Hilbert Space (RKHS).

A key insight driving this method is the "batch method" principle: evaluating a privatized function at any finite set of points (a batch) preserves the underlying privacy guarantees. Furthermore, DP-kernel is highly computationally efficient, requiring only a single GPU to train, whereas some high-performing baselines require up to eight.

Key Results and Performance

The authors evaluated DP-kernel on standard image benchmarks (MNIST, Fashion MNIST, and CelebA), with the most striking results emerging in the "high-privacy" regime where the privacy budget is extremely strict ($\epsilon = 0.2$).

  • Superior Image Quality: On the MNIST dataset at $\epsilon = 0.2$, DP-kernel achieved a Fréchet Inception Distance (FID) of 26.5, drastically outperforming the previous state-of-the-art score of 61.9 (lower FID indicates more realistic images).
  • High-Resolution Scalability: On the more complex, colorful CelebA dataset (conditioned on gender), DP-kernel improved the state-of-the-art FID from 264.8 down to 85.9 at $\epsilon = 0.2$.
  • Enhanced Downstream Utility: When classifiers were trained on the synthetic images generated by DP-kernel, they achieved significantly higher accuracy on real test data compared to images from competing DP generators, often yielding a 10–20% improvement.

Limitations and Future Directions

While f-RDP and DP-kernel represent a significant leap forward, the authors note a few limitations. First, the current conditional training approach assumes uniformly distributed labels; datasets with severe class imbalance may require tailored algorithmic adjustments. Second, the "parallel" version of the model (which trains one sub-model per class) may face scalability issues if applied to datasets with thousands of classes. Finally, as with all DP methods, there is an inherent risk that the injected noise could introduce or exacerbate biases within the model—a critical fairness concern that warrants further investigation in future work.

Summary updated

BibTeX
@inproceedings{jiang2023functional,
  author = {Dihong Jiang and Sun Sun and Yaoliang Yu},
  title = {{Functional Renyi Differential Privacy for Generative Modeling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=GzlDKZlwie},
}
Figure