Papers › Unlocking Accuracy and Fairness in Differentially Private Image Classification

Unlocking Accuracy and Fairness in Differentially Private Image Classification

21 Aug 2023arXiv:2308.10888archive 2025-07-28

Leonard Berrada, Soham De, Judy Hanwen Shen, Jamie Hayes, Robert Stanforth, David Stutz, Pushmeet Kohli, Samuel L. Smith, Borja Balle

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2308.10888")

Code

Syntology Ran 5 of 9 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 5 ran with no contract checked.

By repository: official repository: 9 samples from 1 repository, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

deepmind/jax_privacy officialmentioned in papermentioned on GitHubjaxApache-2.0 report
google-deepmind/jax_privacy mentioned on GitHubjaxApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

9 samples harvested; 5 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

5ran
4unverified

Licence: 0 of the 9 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from deepmind/jax_privacy. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

as_augmented_optimizer deepmind/jax_privacy/jax_privacy/optimizers.py official repository ran Apache-2.0 (permissive) · 6c5061bc06fbb495 · report
batch deepmind/jax_privacy/jax_privacy/_validate.py official repository ran Apache-2.0 (permissive) · 2c02fa4677bd1e99 · report
compute_early_stopping_order deepmind/jax_privacy/jax_privacy/sharding_utils.py official repository ran Apache-2.0 (permissive) · 5f1eb92e28e0c956 · report
is_map_dataset deepmind/jax_privacy/jax_privacy/_compilation.py official repository ran Apache-2.0 (permissive) · 18187c13b6b4e2bd · report
scale_then_privatize deepmind/jax_privacy/jax_privacy/optimizers.py official repository ran Apache-2.0 (permissive) · eb1ed7a8ecdfd97a · report
flatten_with_zero_redundancy deepmind/jax_privacy/jax_privacy/sharding_utils.py official repository unverified Apache-2.0 (permissive) · 376af6360331fd3d · report
local_reshape_add deepmind/jax_privacy/jax_privacy/sharding_utils.py official repository unverified Apache-2.0 (permissive) · c012bb62ca5640f9 · report
pad_to_multiple_of deepmind/jax_privacy/jax_privacy/batch_selection.py official repository unverified Apache-2.0 (permissive) · 80ba5cbb9f1a0511 · report
split_and_pad_global_batch deepmind/jax_privacy/jax_privacy/batch_selection.py official repository unverified Apache-2.0 (permissive) · 47fdcab6048d7107 · report

Tasks

ClassificationFairnessImage ClassificationPrivacy Preservingimage-classification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections