TL;DR
Training accurate deep models under strict differential privacy (DP) is notoriously difficult because noisy, clipped gradient updates degrade feature learning. This paper shows that self-supervised pretraining (SSP) on public data—even using just a single unlabeled image—yields robust visual representations that consistently beat both handcrafted features and supervised pretraining when training private classifiers.
What Problem Does This Paper Address?
Differential privacy (DP) guarantees that an adversary cannot determine whether any individual record was part of a training set. However, enforcing DP via algorithms like DP-SGD injects noise and clips per-sample gradients, which severely harms model utility (accuracy) in deep neural networks.
Prior remedies relied on either non-learned handcrafted features (e.g., wavelets via ScatterNet) or supervised transfer learning from large, labeled public datasets. Both approaches have major bottlenecks:
- Handcrafted features lack expressive power for complex image distributions.
- Public labeled datasets are expensive to curate and often unavailable in sensitive domains (e.g., healthcare) due to legal or ethical constraints.
The authors ask: Can self-supervised pretraining provide effective, scalable feature representations for differentially private learning across different regimes of public data availability—even when public data is virtually non-existent?
Methods
The authors adopt a two-stage approach: pretrain a feature extractor without labels on public data, freeze it, and train a shallow classification head on the private dataset using DP-compliant methods.
[Public Data: 1 Image to Millions]
│ (Self-Supervised Learning / SimCLRv2)
▼
[Frozen Feature Extractor] ──► [Private Data] ──► [DP-Trained Classifier Head]
(DP-SGD / DP-DFA / DP-SGLD)
- Self-Supervised Pretraining (SSP):
- Uses SimCLRv2 contrastive learning across various backbones: standard ResNet-18/50 and HarmonicNet (HarmRN18), which replaces convolutional filters with Discrete Cosine Transform (DCT) basis filters combined by learnable weights to maximize data efficiency.
- Evaluates three data regimes: no dataset (pretraining on an extensively augmented single image, "Image-B"), moderate-sized data (unlabeled CIFAR-100 or mini-ImageNet), and large-scale data (unlabeled ImageNet-1K or PASS).
- DP Classifier Training: Evaluates multiple DP training frameworks on the extracted representations:
- DP-SGD: Standard per-sample gradient clipping and Gaussian noise perturbation.
- DP-SGLD: DP Stochastic Gradient Langevin Dynamics (Bayesian neural approach with regularization).
- DP-DFA: DP Direct Feedback Alignment, updating intermediate activations and weights using fixed random feedback matrices.
- PATE: Private Aggregation of Teacher Ensembles.
- Normalization Strategy: To avoid DP violations, Batch Normalization (BN) parameters are either fixed purely using public pretraining data or replaced with Group Normalization during private training.
Datasets
- Public Pretraining Datasets:
- Single Image: "Image-B" from Asano et al. (2020), augmented into 50k synthetic patches.
- Moderate Scale: Unlabeled subsets of CIFAR-100 (1K, 10K, 50K) and mini-ImageNet.
- Large Scale: Unlabeled ImageNet-1K and PASS (1.4 million CC-BY images without human subjects).
- Private Downstream Datasets: CIFAR-10, CIFAR-100, and three out-of-domain evaluation benchmarks reflecting different domain transfer distances from natural images:
- CropDiseases (small domain distance)
- EuroSAT (satellite imagery; medium domain distance)
- ISIC2018 (dermatoscopic skin lesion images; large domain distance)
- ImageNet-1K (evaluated as a private target).
Key Insights and Ideas
- One image beats handcrafted wavelets under DP: Pretraining a HarmonicNet backbone via SimCLRv2 on a single image with aggressive augmentations produces features that outperform standard ScatterNet handcrafted representations across all benchmarks.
- Unlabeled pretraining outperforms supervised pretraining: Self-supervised representations generalize better to out-of-domain private datasets than supervised pretraining. Supervised pretraining induces class-specific invariant representations on the source task, leading to class misalignment on target tasks. In contrast, SSP captures more generic low- and mid-level textures that are vital under gradient-perturbed DP training.
- DP algorithm selection depends on domain distance:
- DP-SGLD performs slightly better than DP-SGD at extremely low privacy budgets ($\epsilon \le 1$).
- DP-DFA with a 2-layer MLP classifier outperforms DP-SGD when the domain distance between public and private data is small (e.g., CropDiseases, EuroSAT) and $\epsilon > 0.5$.
Key Results
- Extreme Low-Data Regime ($\epsilon = 2, \delta = 10^{-5}$): A linear classifier trained on single-image HarmRN18 features substantially beats ScatterNet:
- CIFAR-10: $64.8\%$ vs. $63.4\%$
- EuroSAT: $84.5\%$ vs. $34.8\%$ ($+49.7\%$)
- CropDiseases: $74.3\%$ vs. $67.6\%$ ($+6.7\%$)
- ISIC2018: $67.2\%$ vs. $63.7\%$ ($+3.5\%$)
- Moderate Public Data (CIFAR-10 target, $\epsilon = 1.5$): HarmRN18 pretrained on unlabeled CIFAR-100 reaches $75.5\%$ (DP-SGD) and $78.2\%$ (DP-DFA), surpassing supervised pretraining baselines ($71.0\%$).
- Large Public Data (ImageNet-1K Pretraining, $\epsilon = 2$): Unlabeled ResNet-50 features beat supervised representations across all downstream datasets:
- CropDiseases: $92.3\%$ (unlabeled) vs. $83.7\%$ (labeled)
- EuroSAT: $94.3\%$ vs. $85.2\%$
- ISIC2018: $75.2\%$ vs. $72.7\%$
- Private ImageNet-1K Benchmark: Using the public PASS dataset for SSP, a private classifier achieves $25.3\%$ top-1 accuracy at $\epsilon = 3$ (improving over prior supervised baselines yielding $7.6\%$ at $\epsilon = 4.57$).
Limitations and Future Work
- Performance on Full ImageNet Remains Low: While $25.3\%$ top-1 accuracy at $\epsilon = 3$ surpasses prior public-data baselines, it lags far behind non-private performance ($60.8\%$) and results using massive private proprietary sets like JFT-4B ($81.5\%$).
- Frozen Feature Extractors: The study restricts DP training to shallow classification heads. Fine-tuning deeper feature extractor layers or normalization parameters privately without incurring severe privacy degradation remains an open problem.
- Sensitivity to Clipping Thresholds: Large-scale tasks require manually tuning the gradient clipping bound (e.g., expanding $C=0.1$ to $C=1.0$ for ImageNet), demonstrating that hyperparameter sensitivity remains a practical deployment challenge.
Summary updated