mlsanityData to 14 Oct 2026

DPFormer: Learning Differentially Private Transformer on Long-Tailed Data

arXiv 2305.17633 ↗First posted 28 May 2023cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

The Transformer has emerged as a versatile and effective architecture with broad applications. However, it still remains an open problem how to efficiently train a Transformer model of high utility with differential privacy guarantees. In this paper, we identify two key challenges in learning differentially private Transformers, i.e., heavy computation overhead due to per-sample gradient clipping and unintentional attention distraction within the attention mechanism. In response, we propose DPFormer, equipped with Phantom Clipping and Re-Attention Mechanism, to address these challenges. Our theoretical analysis shows that DPFormer can reduce computational costs during gradient clipping and effectively mitigate attention distraction (which could obstruct the training process and lead to a significant performance drop, especially in the presence of long-tailed data). Such analysis is further corroborated by empirical results on two real-world datasets, demonstrating the efficiency and effectiveness of the proposed DPFormer.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 35 of its 47 references that are in the map. First posted on arXiv 28 May 2023.

Builds on

35 of 47 references.

References · 35

  1. 2017Attention Is All You Needcited by 60,361
  2. 2016Layer Normalizationcited by 5,669
  3. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,057
  4. 2016Deep Learning with Differential Privacycited by 2,728
  5. 2018Self-Attentive Sequential Recommendationcited by 1,184
  6. 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 864
  7. 2015Image-based Recommendations on Styles and Substitutescited by 706
  8. 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 460
  9. 2021Large Language Models Can Be Strong Differentially Private Learnerscited by 412
  10. 2021Differentially Private Fine-tuning of Language Modelscited by 400
  11. 2021Opacus: User-Friendly Differential Privacy Library in PyTorchcited by 383
  12. 2018Privacy Amplification by Subsampling: Tight Analyses via Couplings and Divergencescited by 242
23 more
  1. 2018Subsampled R'enyi Differential Privacy and Analytical Moments Accountantcited by 236
  2. 2020Differentially Private Learning Needs Better Features (or Much More Data)cited by 235
  3. 2022Unlocking High-Accuracy Differentially Private Image Classification through Scalecited by 224
  4. 2021Large-Scale Differentially Private BERTcited by 118
  5. 2021Hyperparameter Tuning with Renyi Differential Privacycited by 104
  6. 2022Automatic Clipping: Differentially Private Deep Learning Made Easier and Strongercited by 88
  7. 2018Training Tips for the Transformer Modelcited by 85
  8. 2018Lightweight Probabilistic Deep Networkscited by 77
  9. 2019Sampling-free Epistemic Uncertainty Estimation Using Approximated Variance Propagationcited by 74
  10. 2022Differentially Private Optimization on Large Model at Small Costcited by 65
  11. 2015Privacy for Free: Posterior Sampling and Stochastic Gradient Monte Carlocited by 63
  12. 2019Improving Deep Transformer with Depth-Scaled Initialization and Merged Attentioncited by 59
  13. 2020Enabling Fast Differentially Private SGD via Just-in-Time Compilation and Vectorizationcited by 58
  14. 2022Mixed Differential Privacy in Computer Visioncited by 54
  15. 2022Exploring the Limits of Differentially Private Deep Learning with Group-wise Clippingcited by 52
  16. 2020On Differentially Private Stochastic Convex Optimization with Heavy-tailed Datacited by 51
  17. 2020Scaling up Differentially Private Deep Learning with Fast Per-Example Gradient Clippingcited by 47
  18. 2021Improved Rates for Differentially Private Stochastic Convex Optimization with Heavy-Tailed Datacited by 47
  19. 2015Efficient Per-Example Gradient Computationscited by 42
  20. 2020Optimizing Deeper Transformers on Small Datasetscited by 42
  21. 2021High Dimensional Differentially Private Stochastic Optimization with Heavy-tailed Datacited by 42
  22. 2022Normalized/Clipped SGD with Perturbation for Differentially Private Non-Convex Optimizationcited by 36
  23. 2016Natural-Parameter Networks: A Class of Probabilistic Neural Networkscited by 34

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 1; 2024: 0; 2025: 0; 2026: 1.

2 papers.