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.
Understanding the Impact of Differentially Private Training on Memorization of Long-Tailed Data
King Abdullah University of Science and Technology(卡塔尔国王 Abdullah 科学与技术大学);Renmin University of China(中国人民大学);State University of New York at Buffalo(纽约州立大学布法罗分校);Beijing Institute of Technology(北京理工大学)
DP-aware AdaLN-Zero: Taming Conditioning-Induced Heavy-Tailed Gradients in Differentially Private Diffusion
School of Computer Science(计算机科学学院);Big Data, Minjiang University, Fuzhou, Fujian, China.(大数据,闽江大学,福州,福建,中国);School of Information, Renmin University of China, Beijing, China(信息学院,中国人民大学,北京,中国)
Differentially Private Sparse Linear Regression with Heavy-tailed Responses
Provable Responsible AI and Data Analytics (PRADA) Lab(可证明责任AI与数据分析实验室);King Abdullah University of Science and Technology(卡布斯科学技术大学);Utrecht University(乌得勒支大学);University at Buffalo(布法罗大学);Technical University Berlin(柏林技术大学)
High-Dimensional Differentially Private Quantile Regression: Distributed Estimation and Statistical Inference
School of Statistics and Data Science, Shanghai University of Finance and Economics(上海金融学院统计与数据科学学院);School of Statistics and Data Science, Southeast University(东南大学统计与数据科学学院);School of Statistics and Data Science, Shanghai University of International Business and Economics(上海国际商务学院统计与数据科学学院)
When Gradient Clipping Becomes a Control Mechanism for Differential Privacy in Deep Learning
Computer Science, University of California, Merced, CA 95343, USA(计算机科学,加州大学默塞德分校);Department of Applied Mathematics, University of California, Merced, CA 95343, USA(应用数学系,加州大学默塞德分校);Department of Innovation(创新部门);Research, North Carolina State University, Raleigh, NC, USA(研究,北卡罗来纳州立大学,拉洛城);Automation (MESA) Lab, Department of Mechanical Engineering, School of Engineering, University of California, Merced, CA 95343, USA(自动化(MESA)实验室,机械工程系,工程学院,加州大学默塞德分校)
Differentially Private Stochastic Convex Optimization in (Non)-Euclidean Space Revisited
Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);The Chinese University of Hong Kong(香港中文大学);King Abdullah University of Science and Technology(阿卜杜拉国王科技大学)