mlsanityData to 7 Oct 2026

Weights Shuffling for Improving DPSGD in Transformer-based Models

arXiv 2407.15414 ↗First posted 22 Jul 2024cs.LG cs.CRcited by 0

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  5. 2016Deep Learning with Differential Privacycited by 2,682
  6. 2019Deep Leakage from Gradientscited by 1,004
  7. 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 847
  8. 2021Large Language Models Can Be Strong Differentially Private Learnerscited by 405
  9. 2021Differentially Private Fine-tuning of Language Modelscited by 392
  10. 2021Opacus: User-Friendly Differential Privacy Library in PyTorchcited by 375
  11. 2019White-box vs Black-box: Bayes Optimal Strategies for Membership Inferencecited by 265
  12. 2017The E2E Dataset: New Challenges For End-to-End Generationcited by 252
27 more
  1. 2019PowerSGD: Practical Low-Rank Gradient Compression for Distributed Optimizationcited by 234
  2. 2022Unlocking High-Accuracy Differentially Private Image Classification through Scalecited by 218
  3. 2019R'enyi Differential Privacy of the Sampled Gaussian Mechanismcited by 199
  4. 2021Numerical Composition of Differential Privacycited by 174
  5. 2021Practical and Private (Deep) Learning without Sampling or Shufflingcited by 169
  6. 2018Amplification by Shuffling: From Local to Central Differential Privacy via Anonymitycited by 163
  7. 2020DART: Open-Domain Structured Data Record to Text Generationcited by 144
  8. 2021Large-Scale Differentially Private BERTcited by 117
  9. 2018Distributed Differential Privacy via Shufflingcited by 115
  10. 2020Hiding Among the Clones: A Simple and Nearly Optimal Analysis of Privacy Amplification by Shufflingcited by 96
  11. 2020Bypassing the Ambient Dimension: Private SGD with Gradient Subspace Identificationcited by 88
  12. 2021Large Scale Private Learning via Low-rank Reparametrizationcited by 87
  13. 2022Toward Training at ImageNet Scale with Differential Privacycited by 87
  14. 2021Do Not Let Privacy Overbill Utility: Gradient Embedding Perturbation for Private Learningcited by 86
  15. 2019The Privacy Blanket of the Shuffle Modelcited by 73
  16. 2022Differentially Private Optimization on Large Model at Small Costcited by 65
  17. 2022Mixed Differential Privacy in Computer Visioncited by 53
  18. 2022Exploring the Limits of Differentially Private Deep Learning with Group-wise Clippingcited by 52
  19. 2022Scalable and Efficient Training of Large Convolutional Neural Networks with Differential Privacycited by 47
  20. 2020Tight Differential Privacy for Discrete-Valued Mechanisms and for the Subsampled Gaussian Mechanism Using FFTcited by 43
  21. 2022Composition of Differential Privacy & Privacy Amplification by Subsamplingcited by 42
  22. 2020Low-rank Gradient Approximation For Memory-Efficient On-device Training of Deep Neural Networkcited by 20
  23. 2021Computing Differential Privacy Guarantees for Heterogeneous Compositions Using FFTcited by 20
  24. 2023Permutation Equivariance of Transformers and Its Applicationscited by 20
  25. 2021Wide Network Learning with Differential Privacycited by 17
  26. 2023Unified Enhancement of Privacy Bounds for Mixture Mechanisms via f-Differential Privacycited by 13
  27. 2021Statistical Quantification of Differential Privacy: A Local Approachcited by 3

Built on by

Not cited yet.