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