Deep Learning with Label Differential Privacy

Badih Ghazi, Noah Golowich, Ravi Kumar, Pasin Manurangsi, Chiyuan Zhang

Introduction

Differential Privacy (DP) has long been the standard for protecting individual data during machine learning training. However, standard implementations like DP-SGD often impose a significant "utility tax," where model accuracy drops drastically compared to non-private baselines. For instance, on the CIFAR-10 dataset, while non-private models exceed 95% accuracy, standard DP models frequently struggle to surpass 70%.

This paper identifies a high-value niche: Label Differential Privacy (LabelDP). In many practical applications—such as medical surveys, recommendation systems, or ad conversion tracking—the input features (e.g., an image or a user's age) may be public or non-sensitive, but the labels (e.g., a diagnosis or a purchase) are highly sensitive. The authors introduce RRWithPrior, a novel algorithm that leverages prior information to significantly improve accuracy under LabelDP, nearly closing the gap with non-private performance.

Methodology

The core challenge in LabelDP is that the classical tool, Randomized Response (RR), adds uniform noise across all possible classes. This "blind" noise often destroys the signal necessary for deep learning models to converge. The authors propose a two-pronged approach to make label noise smarter:

  1. RRWithPrior (Randomized Response with Prior): Instead of treating all labels as equally likely, this algorithm uses a prior distribution $p$ over the labels. By "pruning" the label space based on the prior, the algorithm increases the probability that the randomized output matches the true label, boosting the signal-to-noise ratio while maintaining formal $\epsilon$-DP guarantees.
  2. LP-MST (Label Privacy Multi-Stage Training): To address scenarios where a prior is unavailable, the authors propose a multi-stage framework. In the first stage, a model is trained using standard noisy RR on a subset of data. Subsequent stages use the model from the previous stage to generate priors for the next data subset, effectively "bootstrapping" the model toward higher accuracy.
  3. Self-Supervised Priors: For image tasks, the authors demonstrate that Self-Supervised Learning (SSL) on unlabeled images can cluster data. By querying a private histogram of labels for each cluster, they generate high-quality priors without non-privately accessing sensitive labels.

Theoretical and Empirical Insights

A key theoretical insight of the paper is that LabelDP is fundamentally "easier" than full DP. The authors show that for stochastic convex optimization, the error in LabelDP is dimension-independent—it depends on the number of classes rather than the number of model parameters. This explains why massive architectures like ResNet can be trained effectively under this regime.

Empirically, the gains are striking. On the CIFAR-10 benchmark, the proposed method achieves 94.7% accuracy at $\epsilon=8$, representing a ~20% absolute improvement over previous state-of-the-art DP-SGD results and nearly matching the non-private baseline.

Comparison of LP-MST accuracy against state-of-the-art DP methods on CIFAR-10.

Furthermore, the authors reported the first non-trivial DP results for the more complex CIFAR-100 dataset, reaching 74.14% accuracy (compared to a 76.38% non-private baseline).

Accuracy results for LP-MST on the CIFAR-100 dataset across various privacy budgets.

Conclusion and Future Work

While LabelDP provides a powerful tool for specific use cases, its primary limitation is that it only protects labels. If input features themselves are sensitive (e.g., medical images where a condition is visible in the pixels), LabelDP is insufficient. Future work may explore moving from the "local" DP setting to a "central" setting to unlock even more sophisticated prior-based mechanisms, as well as investigating approximate DP ($\delta > 0$) to further enhance utility.

Summary updated

BibTeX
@inproceedings{ghazi2021deep,
  author = {Badih Ghazi and Noah Golowich and Ravi Kumar and Pasin Manurangsi and Chiyuan Zhang},
  title = {{Deep Learning with Label Differential Privacy}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=RYcgfqmAOHh},
}
Figure