Fine-Tuning Language Models with Differential Privacy through Adaptive Noise Allocation

Xianzhi Li, Ran Zmigrod, Zhiqiang Ma, Xiaomo Liu, Xiaodan Zhu
10/3/2024
cs.AIcs.CLcs.CR

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Language models are capable of memorizing detailed patterns and information, leading to a double-edged effect: they achieve impressive modeling performance on downstream tasks with the stored knowledge but also raise significant privacy concerns. Traditional differential privacy based training approaches offer robust safeguards by employing a uniform noise distribution across all parameters. However, this overlooks the distinct sensitivities and contributions of individual parameters in privacy protection and often results in suboptimal models. To address these limitations, we propose ANADP, a novel algorithm that adaptively allocates additive noise based on the importance of model parameters. We demonstrate that ANADP narrows the performance gap between regular fine-tuning and traditional DP fine-tuning on a series of datasets while maintaining the required privacy constraints.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2024finetuning,
  title  = {Fine-Tuning Language Models with Differential Privacy through Adaptive Noise Allocation},
  author = {Xianzhi Li and Ran Zmigrod and Zhiqiang Ma and Xiaomo Liu and Xiaodan Zhu},
  year   = {2024},
  eprint = {2410.02912},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.02912v1}
}

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

Discussion