Differentially Private Learning Needs Better Model Initialization and Self-Distillation

Ivoline C. Ngong, Joseph P. Near, Niloofar Mireshghallah
10/23/2024
cs.LGcs.AIcs.CL

No official code found. Best implementation: uvm-plaid/private_llm_generation (2 stars, last commit 2025-08-17).

Abstract

Differentially private SGD (DPSGD) enables privacy-preserving training of language models, but often reduces utility, diversity, and linguistic quality. We introduce DPRefine, a three-phase method that initializes a model using data synthesis from a small pre-trained LM with rigorous filtering, applies DP finetuning on private data, and performs self-distillation to refine outputs. This approach significantly outperforms vanilla DPSGD, with AlpacaEval preferring DPRefine's generations in 78.4% of cases across all datasets. Our analysis reveals that DPRefine reduces linguistic errors in generated text by 84.0%, mitigating grammar and spelling errors, commonly associated with DPSGD. It also reduces inconsistencies of non-private models, such as hallucinated details and misattributed quotes. We find that small models like GPT-2 can be effective for initialization and distillation, highlighting their potential in enabling scalable and efficient deployment of privacy-preserving language.

View on arXivView PDF

Code Implementations(1)

20Shell, PythonJan 14, 20241 years ago

Similar Papers

Cite this paper

@article{ngong2024differentially,
  title  = {Differentially Private Learning Needs Better Model Initialization and Self-Distillation},
  author = {Ivoline C. Ngong and Joseph P. Near and Niloofar Mireshghallah},
  year   = {2024},
  eprint = {2410.17566},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.17566v1}
}

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/2410.17566.svg)](https://codeofpaper.com/paper/2410.17566)

Discussion