DPZero: Private Fine-Tuning of Language Models without Backpropagation

Liang Zhang, K. Thekumparampil, Sewoong Oh, Niao He
2/12/2026

No official code found. Best implementation: Liang137/DPZero (17 stars, MIT, last commit 2024-09-04).

Abstract

The widespread practice of fine-tuning large language models (LLMs) on domain-specific data faces two major challenges in memory and privacy. First, as the size of LLMs continues to grow, the memory demands of gradient-based training methods via backpropagation become prohibitively high. Second, given the tendency of LLMs to memorize training data, it is important to protect potentially sensitive information in the fine-tuning data from being regurgitated. Zeroth-order methods, which rely solely on forward passes, substantially reduce memory consumption during training. However, directly combining them with standard differentially private gradient descent suffers more as model size grows. To bridge this gap, we introduce DPZero, a novel private zeroth-order algorithm with nearly dimension-independent rates. The memory efficiency of DPZero is demonstrated in privately fine-tuning RoBERTa and OPT on several downstream tasks. Our code is available at https://github.com/Liang137/DPZero.

View on arXivView PDF

Code Implementations(1)

Liang137/DPZeroCommunity54%
MIT

[ICML 2024] DPZero: Private Fine-Tuning of Language Models without Backpropagation

175Shell, PythonDec 6, 20232 years agoMIT

Similar Papers

Cite this paper

@article{zhang2026dpzero,
  title  = {DPZero: Private Fine-Tuning of Language Models without Backpropagation},
  author = {Liang Zhang and K. Thekumparampil and Sewoong Oh and Niao He},
  year   = {2026},
  eprint = {2310.09639},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2310.09639},
  journal = {ICML 2023 2023}
}

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

Discussion