← 返回论文检索
ICML 2024PosterAccept (Poster)

Delving into Differentially Private Transformer

Youlong Ding, Xueyang Wu, Yining meng, Yonggang Luo, Hao Wang, Pan Weike

The Hebrew University of Jerusalem · Department of Computer Science and Engineering, The Hong Kong University of Science and Technology · Deep Instinct · AI LAB, Chongqing Changan Automobile Ltd. · Rutgers University · Shenzhen University

PDF 由论文原始站点提供,PaperCompass 不保存论文文件。

摘要

Deep learning with differential privacy (DP) has garnered significant attention over the past years, leading to the development of numerous methods aimed at enhancing model accuracy and training efficiency. This paper delves into the problem of training Transformer models with differential privacy. Our treatment is modular: the logic is to 'reduce' the problem of training DP Transformer to the more basic problem of training DP vanilla neural nets. The latter is better understood and amenable to many model-agnostic methods. Such 'reduction' is done by first identifying the hardness unique to DP Transformer training: the attention distraction phenomenon and a lack of compatibility with existing techniques for efficient gradient clipping. To deal with these two issues, we propose the Re-Attention Mechanism and Phantom Clipping, respectively. We believe that our work not only casts new light on training DP Transformers but also promotes a modular treatment to advance research in the field of differentially private deep learning.