Differentially Private Gradient Flow based on the Sliced Wasserstein Distance

Ilana Sebag, Muni Sreenivas Pydi, Jean-Yves Franceschi, Alain Rakotomamonjy, Mike Gartrell, Jamal Atif, Alexandre Allauzen

Published in: Transactions on Machine Learning Research (01/2025)

Introduction

Generative modeling has seen explosive growth, yet the risk of "memorization" remains a critical hurdle for deploying these models on sensitive data. Standard generative architectures, such as GANs or Diffusion models, can inadvertently leak training samples, posing significant privacy risks in domains like healthcare or finance. To mitigate this, researchers employ Differential Privacy (DP), a rigorous mathematical framework that ensures the inclusion or exclusion of a single individual in a dataset does not significantly alter the model's output.

While the standard approach involves applying noise to gradients during neural network training (DP-SGD), this often leads to a steep decline in utility, resulting in blurry or low-quality synthetic samples. This paper introduces a novel alternative: Differentially Private Sliced Wasserstein Gradient Flow (DPSWflow). Instead of training a complex neural network, the authors propose evolving a set of noise particles directly toward the target data distribution using a privatized distance metric.

The Problem: The Privacy-Utility Trade-off

In traditional private generative modeling, the "privacy-utility trade-off" is a persistent challenge. When privacy requirements are strict (low $\epsilon$ values), the noise added via DP-SGD often overwhelms the learning signal, preventing the model from capturing the fine-grained structure of the data. The authors hypothesize that by bypassing the optimization of neural network weights and focusing on the direct movement of particles in a latent space, they can achieve higher fidelity under the same privacy constraints.

Methodology

Wasserstein Gradient Flows and SWD

The framework is built on Wasserstein Gradient Flows, where a probability distribution is treated as a fluid flowing toward a target distribution (the training data). To make this computationally feasible in high dimensions, the authors utilize the Sliced Wasserstein Distance (SWD). SWD simplifies the optimal transport problem by projecting high-dimensional data onto numerous random 1D lines (slices), where the distance is trivial to compute.

Privacy through Gaussian Smoothing

The core innovation lies in how privacy is integrated. Rather than treating DP as an external constraint on an optimizer, the authors bake it into the distance metric itself. By applying Gaussian smoothing to the 1D projections of the data, they transform the SWD into a privatized mechanism. They prove that this smoothing acts as a Gaussian mechanism, providing a fundamental DP guarantee for the "force" that pulls particles toward the data.

The Role of Resampling (DPSWflow-r)

The authors introduce two variants of their algorithm, highlighting that resampling random projections at every iteration is essential for privacy efficiency. By resampling, the model can utilize the Moments Accountant—a sophisticated technique for tracking privacy loss over time. This allows for tighter privacy bounds and better data quality compared to using a fixed set of projections. Furthermore, the noise inherent in the Stochastic Differential Equations (SDEs) used to solve the gradient flow (the Wiener process) is shown to amplify the privacy guarantee "for free."

Experimental Evaluation

To address the "curse of dimensionality," the researchers first map images into a lower-dimensional latent space using a pre-trained autoencoder (trained on public data). They evaluated the method on three benchmarks:

  1. MNIST: Handwritten digits.
  2. FashionMNIST: Clothing items.
  3. CelebA: Celebrity faces.

Key Results

The proposed DPSWflow-r consistently outperformed the generator-based baseline (DPSWgen), particularly under strict privacy budgets ($\epsilon = 5$ or $10$).

  • Quantitative Performance: On the MNIST dataset with $\epsilon = 10$, the proposed model achieved a Fréchet Inception Distance (FID) of 70, a significant improvement over the generator baseline's FID of 124 (lower is better).
  • Qualitative Fidelity: Visual inspections revealed that while baseline models often produced unrecognizable artifacts at low privacy budgets, the gradient flow approach maintained the structural integrity of the images. On the CelebA dataset, the model successfully captured recognizable facial features that were lost in the baseline under identical privacy constraints.

Conclusion and Future Directions

By shifting the focus from weight optimization to particle movement, this research provides a theoretically grounded and practically effective path toward high-fidelity private generative AI. The study demonstrates that privacy can be a property of the metric geometry itself rather than just an additive noise term in optimization.

Future work may address the computational overhead of moving large particle sets and explore training the dimensionality reduction components (autoencoders) under the same DP budget to remove the dependency on public datasets. This framework represents a significant step toward making private synthetic data generation viable for complex, high-dimensional applications.

Summary updated

BibTeX
@article{sebag2025differentially,
  author = {Ilana Sebag and Muni Sreenivas Pydi and Jean-Yves Franceschi and Alain Rakotomamonjy and Mike Gartrell and Jamal Atif and Alexandre Allauzen},
  title = {{Differentially Private Gradient Flow based on the Sliced Wasserstein Distance}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2025},
}
Figure