Weights Shuffling for Improving DPSGD in Transformer-based Models
Not on the map. Why?
Abstract (arXiv)
Differential Privacy (DP) mechanisms, especially in high-dimensional settings, often face the challenge of maintaining privacy without compromising the data utility. This work introduces an innovative shuffling mechanism in Differentially-Private Stochastic Gradient Descent (DPSGD) to enhance the utility of large models at the same privacy guarantee of the unshuffled case. Specifically, we reveal that random shuffling brings additional randomness to the trajectory of gradient descent while not impacting the model accuracy by the permutation invariance property -- the model can be equivalently computed in both forward and backward propagations under permutation. We show that permutation indeed improves the privacy guarantee of DPSGD in theory, but tracking the exact privacy loss on shuffled model is particularly challenging. Hence we exploit the approximation on sum of lognormal distributions to derive the condition for the shuffled DPSGD to meet the DP guarantee. Auditing results show that our condition offers a DP guarantee quite close to the audited privacy level, demonstrating our approach an effective estimation in practice. Experimental results have verified our theoretical derivation and illustrate that our mechanism improves the accuracy of DPSGD over the state-of-the-art baselines on a variety of models and tasks.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 39 of its 53 references that are in the map. First posted on arXiv 22 Jul 2024.
Builds on
39 of 53 references.
References · 39
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2016Deep Learning with Differential Privacycited by 2,682
- 2019Deep Leakage from Gradientscited by 1,004
- 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 847
- 2021Large Language Models Can Be Strong Differentially Private Learnerscited by 405
- 2021Differentially Private Fine-tuning of Language Modelscited by 392
- 2021Opacus: User-Friendly Differential Privacy Library in PyTorchcited by 375
- 2019White-box vs Black-box: Bayes Optimal Strategies for Membership Inferencecited by 265
- 2017The E2E Dataset: New Challenges For End-to-End Generationcited by 252
27 more
- 2019PowerSGD: Practical Low-Rank Gradient Compression for Distributed Optimizationcited by 234
- 2022Unlocking High-Accuracy Differentially Private Image Classification through Scalecited by 218
- 2019R'enyi Differential Privacy of the Sampled Gaussian Mechanismcited by 199
- 2021Numerical Composition of Differential Privacycited by 174
- 2021Practical and Private (Deep) Learning without Sampling or Shufflingcited by 169
- 2018Amplification by Shuffling: From Local to Central Differential Privacy via Anonymitycited by 163
- 2020DART: Open-Domain Structured Data Record to Text Generationcited by 144
- 2021Large-Scale Differentially Private BERTcited by 117
- 2018Distributed Differential Privacy via Shufflingcited by 115
- 2020Hiding Among the Clones: A Simple and Nearly Optimal Analysis of Privacy Amplification by Shufflingcited by 96
- 2020Bypassing the Ambient Dimension: Private SGD with Gradient Subspace Identificationcited by 88
- 2021Large Scale Private Learning via Low-rank Reparametrizationcited by 87
- 2022Toward Training at ImageNet Scale with Differential Privacycited by 87
- 2021Do Not Let Privacy Overbill Utility: Gradient Embedding Perturbation for Private Learningcited by 86
- 2019The Privacy Blanket of the Shuffle Modelcited by 73
- 2022Differentially Private Optimization on Large Model at Small Costcited by 65
- 2022Mixed Differential Privacy in Computer Visioncited by 53
- 2022Exploring the Limits of Differentially Private Deep Learning with Group-wise Clippingcited by 52
- 2022Scalable and Efficient Training of Large Convolutional Neural Networks with Differential Privacycited by 47
- 2020Tight Differential Privacy for Discrete-Valued Mechanisms and for the Subsampled Gaussian Mechanism Using FFTcited by 43
- 2022Composition of Differential Privacy & Privacy Amplification by Subsamplingcited by 42
- 2020Low-rank Gradient Approximation For Memory-Efficient On-device Training of Deep Neural Networkcited by 20
- 2021Computing Differential Privacy Guarantees for Heterogeneous Compositions Using FFTcited by 20
- 2023Permutation Equivariance of Transformers and Its Applicationscited by 20
- 2021Wide Network Learning with Differential Privacycited by 17
- 2023Unified Enhancement of Privacy Bounds for Mixture Mechanisms via f-Differential Privacycited by 13
- 2021Statistical Quantification of Differential Privacy: A Local Approachcited by 3
Built on by
Not cited yet.