Unlocking Accuracy and Fairness in Differentially Private Image Classification

Leonard Berrada, Soham De, Judy Hanwen Shen, Jamie Hayes, Robert Stanforth +4 more
8/21/2023
cs.LGcs.CVcs.CY

No official code found. Best implementation: google-deepmind/jax_privacy (179 stars, Apache-2.0, last commit 2026-04-24).

Abstract

Privacy-preserving machine learning aims to train models on private data without leaking sensitive information. Differential privacy (DP) is considered the gold standard framework for privacy-preserving training, as it provides formal privacy guarantees. However, compared to their non-private counterparts, models trained with DP often have significantly reduced accuracy. Private classifiers are also believed to exhibit larger performance disparities across subpopulations, raising fairness concerns. The poor performance of classifiers trained with DP has prevented the widespread adoption of privacy preserving machine learning in industry. Here we show that pre-trained foundation models fine-tuned with DP can achieve similar accuracy to non-private classifiers, even in the presence of significant distribution shifts between pre-training data and downstream tasks. We achieve private accuracies within a few percent of the non-private state of the art across four datasets, including two medical imaging benchmarks. Furthermore, our private medical classifiers do not exhibit larger performance disparities across demographic groups than non-private models. This milestone to make DP training a practical and reliable technology has the potential to widely enable machine learning practitioners to train safely on sensitive datasets while protecting individuals' privacy.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Algorithms for Privacy-Preserving Machine Learning in JAX

17957TeX, PythonApr 21, 20225 months agoApache-2.0

Similar Papers

Cite this paper

@article{berrada2023unlocking,
  title  = {Unlocking Accuracy and Fairness in Differentially Private Image Classification},
  author = {Leonard Berrada and Soham De and Judy Hanwen Shen and Jamie Hayes and Robert Stanforth and David Stutz and Pushmeet Kohli and Samuel L. Smith and Borja Balle},
  year   = {2023},
  eprint = {2308.10888},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.10888v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.10888.svg)](https://codeofpaper.com/paper/2308.10888)

Discussion