Abstract
Differential privacy (DP) is an essential technique for privacy-preserving. It was found that a large model trained for privacy preserving performs worse than a smaller model (e.g. ResNet50 performs worse than ResNet18). To better understand this phenomenon, we study high dimensional DP learning from the viewpoint of generalization. Theoretically, we show that for the simple Gaussian model with even small DP noise, if the dimension is large enough, then the classification error can be as bad as the random guessing. Then we propose a feature selection method to reduce the size of the model, based on a new metric which trades off the classification accuracy and privacy preserving. Experiments on real data support our theoretical results and demonstrate the advantage of the proposed method.
The Paradox of Model Size in Differential Privacy
In standard deep learning, increasing model capacity typically correlates with improved performance. However, in the context of Differential Privacy (DP), this relationship is often inverted. Researchers have observed that larger architectures, such as ResNet50, frequently underperform compared to smaller counterparts like ResNet18 when trained under DP constraints.
A critical question arises: is this failure due to optimization difficulties or a lack of generalization? By examining the training and test accuracy curves, it becomes evident that while both large and small models can achieve high training accuracy, large models suffer from a significantly wider generalization gap.
As shown in Figure 2, the "curse of dimensionality" manifests as noise accumulation. In a private setting, every additional parameter acts as a conduit for privacy-preserving noise. As the number of dimensions increases, the cumulative noise eventually overwhelms the underlying signal, leading to poor generalization on unseen data.
Theoretical Foundations
To mathematically formalize this observation, the authors analyze a $p$-dimensional Gaussian Mixture Model using a Linear Discriminant Analysis (LDA) classifier. They prove that under DP noise, as the dimensionality $p$ grows, the classification error asymptotically approaches 0.5—equivalent to random guessing. This theoretical result confirms that high dimensionality is a fundamental liability in private learning, as the noise required to protect privacy scales with the number of features.
DP Feature Selection (DFS)
To mitigate the impact of noise accumulation, the authors propose DP Feature Selection (DFS). The goal is to reduce the model's dimensionality before the final training phase, effectively "trimming the fat" by removing features that contribute more noise than signal.
The Distance Criterion
Traditional feature selection often relies on t-statistics, which require estimating variance. However, DP noise makes variance estimates highly unstable. To address this, the authors introduce a "Distance Criterion" based on the difference between class means. Since the expectation of the mean remains unbiased even with added noise, this metric is significantly more robust in private settings.
Figure 4 illustrates how perturbation affects feature distributions. By selecting features where the class means remain distinct even after noise addition, DFS ensures that the model retains the most informative signals. The algorithm ranks features by this distance, selects the top $m$ features, and applies the Gaussian mechanism to ensure the selection process itself adheres to DP standards.
Experimental Evaluation
The DFS algorithm was validated across synthetic and real-world datasets:
- CIFAR-10: Using DFS to select the top 512 latent features from a ResNet50 architecture allowed it to achieve 85.7% accuracy, surpassing a standard ResNet18 (84.5%) and reversing the performance paradox.
- RCV1: On this high-dimensional text dataset, DFS consistently outperformed t-statistic-based selection across various privacy budgets ($\epsilon$), demonstrating superior resilience to noise.
- Synthetic Data: In high-dimensional tests ($p=3000$), DFS achieved near-zero test error using only 20 features, whereas models without feature selection struggled to overcome the noise floor.
Conclusion
This work highlights that in private machine learning, model size must be carefully managed to avoid the pitfalls of noise accumulation. By identifying generalization as the primary bottleneck and introducing a robust, distance-based feature selection method, the authors provide a path for large-scale models to regain their competitive edge while maintaining rigorous privacy guarantees. Future research will look to extend these theoretical insights to non-linear neural networks and integrate feature selection more deeply into the DP-SGD training loop.
Summary updated