NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Considerations for Differentially Private Learning with Large-Scale Public Pretraining

Florian Tramèr, Gautam Kamath, Nicholas Carlini · DOI

Introduction

In recent years, the field of private machine learning has celebrated significant utility gains. Historically, training models from scratch using Differential Privacy (DP)—the mathematical gold standard for ensuring models do not memorize individual training examples—resulted in a substantial "utility gap" compared to non-private models. To overcome this, the research community has converged on a two-step paradigm: pretraining a large-scale model on "public" web data without privacy constraints, followed by DP-finetuning on a smaller, sensitive dataset.

However, a recent position paper from researchers at ETH Zurich, the University of Waterloo, and Google DeepMind provides a necessary "reality check." The authors argue that while this approach yields impressive benchmarks, the perceived progress may be built on shaky ground, masking significant privacy risks and evaluation flaws.

The Problem: Is Public Data Truly Non-Sensitive?

The current paradigm relies on the assumption that web-scraped data is "neutral" or "non-sensitive." The authors challenge this "Privacy Semantics" assumption, noting that "publicly accessible" does not equate to "non-sensitive."

Web-scale datasets like LAION-5B or the Pile often contain personally identifiable information (PII), such as phone numbers, or sensitive logs (e.g., IRC chats) that were made public by accident or without explicit consent. If a model is marketed as "privately trained" because its finetuning phase used DP, but it can still regurgitate sensitive data encountered during its non-private pretraining, the formal guarantees of DP are technically met for the finetuning set while the colloquial expectation of privacy is violated. This discrepancy risks eroding public trust in DP as a concept.

The "Transfermania" Illusion

A core contribution of the paper is the critique of current benchmark validity. The authors categorize the research landscape into two worlds:

  1. Transfermania: The current state of research where "public" and "private" data distributions overlap heavily (e.g., pretraining on ImageNet and finetuning on CIFAR-10). In this scenario, the "private" classes are already well-represented in the public data, making the finetuning step trivial.
  2. Privacyland: The real-world application of DP, such as medical imaging (e.g., CheXpert or MIMIC-CXR), where public data looks nothing like the sensitive target data.

In "Transfermania," the utility gains are often an illusion. For instance, without pretraining, DP accuracy on ImageNet is a dismal ~39%. With pretraining on 4 billion images, it jumps to ~87%. The authors argue this 87% is essentially "borrowed" from the non-private pretraining phase. Furthermore, models like CLIP can achieve 96.2% accuracy on CIFAR-10 via zero-shot learning—representing "perfect" privacy ($\\epsilon=0$) for the finetuning set—simply because the model already "knew" the answer from its non-private exposure to the web.

The Cloud Privacy Paradox

The quest for high DP utility has driven the community toward increasingly massive models, ranging from 250 million to over 500 billion parameters. This creates a new deployment trade-off. These models are far too large for consumer hardware (phones or laptops), forcing users to outsource their sensitive data to the cloud for processing. This creates a paradox: to achieve differential privacy (ensuring the model doesn't remember the data), users must sacrifice confidentiality (by uploading their raw data to a third-party server).

Recommendations for the Field

To move beyond these limitations, the authors suggest several shifts in research focus:

  • Granular Curation: Moving away from "scrape-everything" approaches toward datasets with explicit consent or highly curated, non-sensitive sources like Wikipedia.
  • DP Pretraining: Investing in the computational challenge of pretraining foundation models themselves with DP, rather than just finetuning.
  • Disjoint Benchmarks: Developing evaluations where public and private distributions are truly disjoint (e.g., natural images to medical imagery) to measure actual private learning rather than just representation transfer.
  • Model Distillation: Prioritizing techniques to shrink private models so they can run locally, resolving the conflict between DP and data confidentiality.

Conclusion

While public pretraining is a powerful tool for improving the utility of private models, it is not a silver bullet. By highlighting the mismatch between formal definitions and real-world privacy expectations, this work serves as a call to action for the ML community to develop more robust, transparent, and truly private learning systems.

Summary updated

BibTeX
@misc{tramer2022considerations,
  author = {Florian Tramèr and Gautam Kamath and Nicholas Carlini},
  title = {{Considerations for Differentially Private Learning with Large-Scale Public Pretraining}},
  year = {2022},
  eprint = {2212.06470},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2212.06470},
}
Figure