Abstract
Maximum mean discrepancy (MMD) is a particularly useful distance metric for differentially private data generation: when used with finite-dimensional features it allows us to summarize and privatize the data distribution once, which we can repeatedly use during generator training without further privacy loss. This work considers the using the features of neural tangent kernels (NTKs), specifically empirical NTKs (e-NTKs). We find that the expressiveness of untrained e-NTK features is comparable to that of features taken from pre-trained perceptual models using public data. Our method, DP-NTK, improves the privacy-accuracy trade-off without relying on any public data, as demonstrated on several tabular and image benchmark datasets.
Introduction
The release of sensitive datasets—ranging from medical records to personal imagery—poses significant privacy risks. Synthetic data generation offers a solution by creating datasets that mimic the statistical properties of the original data without exposing individual records. Differential Privacy (DP) provides a rigorous framework for this, yet achieving high utility under strict privacy constraints remains a challenge.
Current DP generative models generally follow two paths. DP-GANs incorporate noise into the iterative training process, which often leads to instability and poor convergence. Alternatively, kernel-based methods (like DP-MERF) summarize the data distribution into a "mean embedding" in a feature space. This summary is privatized once, and a generator is then trained to match it. While more stable, these methods have historically relied on simple features (e.g., Gaussian kernels) that fail to capture the complexity of high-dimensional data like natural images.
The DP-NTK Approach
This paper introduces DP-NTK, which leverages the features of empirical Neural Tangent Kernels (e-NTKs) to bridge the gap between simple kernels and complex perceptual models. An NTK describes the evolution of a neural network's outputs relative to its parameters during training. In this context, the authors use the gradients of a randomly initialized network's outputs as a feature map:
$$\phi(x) = \nabla_\theta f_\theta(x)$$
Workflow
- Feature Extraction: Features are extracted using a randomly initialized neural network.
- Normalization: To bound the sensitivity of the data (a requirement for DP), these features are normalized so that no single data point can disproportionately affect the mean.
- One-Shot Privatization: The average feature vector of the entire private dataset is computed, and Gaussian noise is added. This "one-shot" approach is highly efficient; the privacy budget is spent entirely at this stage, allowing the generator to be trained for an arbitrary number of iterations without further privacy loss.
- Generator Training: A generator is trained to produce synthetic samples whose e-NTK features match the privatized mean embedding of the real data, using Maximum Mean Discrepancy (MMD) as the loss function.
Experimental Results
The authors evaluated DP-NTK across various image and tabular benchmarks, comparing it against state-of-the-art methods like DP-MERF, DP-Sinkhorn, and DP-GAN.
Image Synthesis
On MNIST and FashionMNIST, DP-NTK achieved downstream classification accuracies of 88% and 78% respectively at a privacy level of $\epsilon=10$. On more complex datasets like CelebA, DP-NTK produced significantly sharper images than previous kernel methods, achieving a Fréchet Inception Distance (FID) of 75 (compared to 189 for DP-Sinkhorn and 274 for DP-MERF).
Tabular Data
The method proved exceptionally robust for tabular data. Across eight imbalanced datasets (including adult, credit, and census), DP-NTK outperformed benchmark methods in 6 out of 8 cases based on ROC-AUC and F1 scores for downstream tasks.
Key Insights
The most significant finding is the expressiveness of untrained features. Surprisingly, e-NTK features from a randomly initialized network perform as well as perceptual features derived from networks pre-trained on massive public datasets like ImageNet. This "data independence" is a major advantage, as it allows DP-NTK to be applied to specialized domains (e.g., rare medical conditions) where no relevant public data exists for pre-training.
Limitations and Future Directions
Despite its successes, DP-NTK faces several challenges:
- Computational Overhead: Calculating gradients for every parameter to form the feature map is memory-intensive, necessitating the use of smaller architectures or specific NTK approximations.
- The Privacy Gap: While DP-NTK narrows the gap, synthetic images for complex datasets like CIFAR-10 remain blurrier than those produced by non-private models.
- Infinite-Width NTKs: Future work may explore privatizing theoretical "infinite-width" NTKs, which could offer even greater representational power.
Conclusion
DP-NTK represents a significant step forward in privacy-preserving data generation. By utilizing the inherent geometric properties of neural networks at initialization, it provides a powerful, stable, and data-independent method for creating high-utility synthetic datasets under the rigors of Differential Privacy.
Summary updated