Too Good to be True? Turn Any Model Differentially Private With DP-Weights

David Zagardo
6/27/2024
cs.LGcs.AIcs.CR

No official code found. Best implementation: dzagardo/forgetnet (1 star, last commit 2024-10-08).

Abstract

Imagine training a machine learning model with Differentially Private Stochastic Gradient Descent (DP-SGD), only to discover post-training that the noise level was either too high, crippling your model's utility, or too low, compromising privacy. The dreaded realization hits: you must start the lengthy training process from scratch. But what if you could avoid this retraining nightmare? In this study, we introduce a groundbreaking approach (to our knowledge) that applies differential privacy noise to the model's weights after training. We offer a comprehensive mathematical proof for this novel approach's privacy bounds, use formal methods to validate its privacy guarantees, and empirically evaluate its effectiveness using membership inference attacks and performance evaluations. This method allows for a single training run, followed by post-hoc noise adjustments to achieve optimal privacy-utility trade-offs. We compare this novel fine-tuned model (DP-Weights model) to a traditional DP-SGD model, demonstrating that our approach yields statistically similar performance and privacy guarantees. Our results validate the efficacy of post-training noise application, promising significant time savings and flexibility in fine-tuning differential privacy parameters, making it a practical alternative for deploying differentially private models in real-world scenarios.

View on arXivView PDF

Code Implementations(1)

dzagardo/forgetnetCommunity100%

The home of DP-Weights.

10PythonJun 27, 20242 years agoNOASSERTION

Similar Papers

Cite this paper

@article{zagardo2024good,
  title  = {Too Good to be True? Turn Any Model Differentially Private With DP-Weights},
  author = {David Zagardo},
  year   = {2024},
  eprint = {2406.19507},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.19507v2}
}

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

Discussion