Abstract
In this work, we introduce a novel framework for privately optimizing objectives that rely on Wasserstein distances between data-dependent empirical measures. Our main theoretical contribution is, based on an explicit formulation of the Wasserstein gradient in a fully discrete setting, a control on the sensitivity of this gradient to individual data points, allowing strong privacy guarantees at minimal utility cost. Building on these insights, we develop a deep learning approach that incorporates gradient and activations clipping, originally designed for DP training of problems with a finite-sum structure. We further demonstrate that privacy accounting methods extend to Wasserstein-based objectives, facilitating large-scale private training. Empirical results confirm that our framework effectively balances accuracy and privacy, offering a theoretically sound solution for privacy-preserving machine learning tasks relying on optimal transport distances such as Wasserstein distance or sliced-Wasserstein distance.
Introduction
Optimal Transport (OT) has emerged as a powerful tool in machine learning for comparing probability distributions geometrically. However, applying OT to sensitive user data presents significant privacy challenges. Standard Differential Privacy (DP) techniques, typically designed for "finite-sum" loss functions like Mean Squared Error, do not easily accommodate Wasserstein distances. These distances are "global" measures that do not decompose into simple sums of individual losses, making sensitivity analysis—a prerequisite for DP—notoriously difficult.
Rodríguez-Vítores et al. address this gap by introducing a framework for computing Differentially Private Sliced Wasserstein Gradients. Their work provides the first tight sensitivity analysis for Wasserstein gradients, enabling high-utility training of complex models under rigorous privacy guarantees.
Methods
The proposed framework focuses on the Sliced Wasserstein (SW) distance, which decomposes high-dimensional distribution matching into a series of one-dimensional problems.
Sensitivity Analysis and Gradient Formulation
The core contribution is the derivation of an explicit, closed-form expression for the gradient of the squared $W_2$ distance in a discrete setting. The authors prove that the $L_2$ sensitivity of these gradients scales by $1/n$, where $n$ is the dataset size. This "vanishing sensitivity" implies that as the dataset grows, the noise required for privacy becomes negligible relative to the learning signal.
Model Architecture: Private SWAE
To demonstrate the framework, the authors implement a Private Sliced Wasserstein Autoencoder (SWAE). The architecture, shown in Figure 1, combines a standard encoder-decoder structure with a Sliced Wasserstein regularization term in the latent space.
To maintain privacy in deep neural networks where activations are not naturally bounded, the authors introduce "inner-clipping" of activations and Jacobians. This ensures that the theoretical sensitivity bounds are respected during backpropagation.
Experimental Results
The framework was evaluated on several benchmarks, including MNIST, Fashion-MNIST, and synthetic datasets for fairness testing.
MNIST Benchmarking
The Private SWAE was tested on the MNIST dataset with varying privacy budgets ($\epsilon$). As shown in Figure 2, the model maintains high utility even under strict privacy constraints.
At $\epsilon = 5$, the reconstructions remain clear and recognizable, and the model successfully generates high-quality synthetic samples by decoding noise from the latent space. This demonstrates that the $1/n$ sensitivity advantage allows for effective learning without sacrificing privacy.
Fairness and Distribution Matching
Beyond autoencoders, the framework was applied to fair classification. By treating fairness as a Wasserstein distance between demographic groups, the authors successfully mitigated algorithmic bias "in-processing" while maintaining DP compliance. In distribution-matching tasks, such as mapping noise to a circular distribution, the method outperformed existing state-of-the-art baselines in terms of alignment quality at lower privacy costs.
Conclusion
This work establishes a theoretically sound foundation for privacy-preserving machine learning using Optimal Transport. By proving that Wasserstein gradient sensitivity vanishes in the large-data limit, the authors enable the use of geometrically meaningful distances in sensitive applications. Future work may explore extending these sensitivity bounds to general $W_p$ distances and incorporating entropic regularization to further improve computational efficiency and gradient stability.
Summary updated