Scalable and Efficient Training of Large Convolutional Neural Networks with Differential Privacy
摘要
Large convolutional neural networks (CNN) can be difficult to train in the differentially private (DP) regime, since the optimization algorithms require a computationally expensive operation, known as the per-sample gradient clipping. We propose an efficient and scalable implementation of this clipping on convolutional layers, termed as the mixed ghost clipping, that significantly eases the private training in terms of both time and space complexities, without affecting the accuracy. The improvement in efficiency is rigorously studied through the first complexity analysis for the mixed ghost clipping and existing DP training algorithms. Extensive experiments on vision classification tasks, with large ResNet, VGG, and Vision Transformers (ViT), demonstrate that DP training with mixed ghost clipping adds 1 ∼ 10% memory overhead and < 2× slowdown to the standard non-private training. Specifically, when training VGG19 on CIFAR10, the mixed ghost clipping is 3× faster than state-of-the-art Opacus library with 18× larger maximum batch size. To emphasize the significance of efficient DP training on convolutional layers, we achieve 96.7% accuracy on CIFAR10 and 83.0% on CIFAR100 at = 1 using BEiT, while the previous best results are 94.8% and 67.4%, respectively. We opensource a privacy engine ( https://github.com/woodyx218/private_ vision ) that implements DP training of CNN (including convolutional ViT) with a few lines of code.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 31 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Differentially Private Optimization on Large Model at Small Cost 引用了 BEiT: BERT Pre-Training of Image Transformers
- Differentially Private Optimization on Large Model at Small Cost 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Differentially Private Optimization on Large Model at Small Cost 引用了 Deep Learning with Differential Privacy
- BEiT: BERT Pre-Training of Image Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classification 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classification 引用了 Training data-efficient image transformers & distillation through attention
- GREATS: Online Selection of High-Quality Data for LLM Training in Every Iteration 引用了 Differentially Private Optimization on Large Model at Small Cost
- Training data-efficient image transformers & distillation through attention 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- How Private are DP-SGD Implementations? 引用了 Deep Learning with Differential Privacy
- Scalable DP-SGD: Shuffling vs. Poisson Subsampling 引用了 Deep Learning with Differential Privacy
- Differentially Private Bias-Term Fine-tuning of Foundation Models 引用了 Differentially Private Optimization on Large Model at Small Cost
- Differentially Private Bias-Term Fine-tuning of Foundation Models 引用了 Deep Learning with Differential Privacy
引用它的顶会 Paper31
- GREATS: Online Selection of High-Quality Data for LLM Training in Every IterationJiachen T. Wang, Tong Wu, Dawn Song, Prateek Mittal 等NeurIPS 2024 · 91 次引用
- Differentially Private Optimization on Large Model at Small CostZhiqi Bu, Yu-Xiang Wang, Sheng Zha, George KarypisICML 2023 · 85 次引用
- Differentially Private Bias-Term Fine-tuning of Foundation ModelsZhiqi Bu, Yu-Xiang Wang, Sheng Zha, George KarypisICML 2024 · 59 次引用
- Scalable DP-SGD: Shuffling vs. Poisson SubsamplingLynn Chua, Badih Ghazi, Pritish Kamath, Ravi Kumar 等NeurIPS 2024 · 29 次引用
- How Private are DP-SGD Implementations?Lynn Chua, Badih Ghazi, Pritish Kamath, Ravi Kumar 等ICML 2024 · 25 次引用
它引用的 Paper18
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa 等ICML 2021 · 8,974 次引用
- Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan 等CCS 2016 · 7,620 次引用
- BEiT: BERT Pre-Training of Image TransformersHangbo Bao, Li Dong, Songhao Piao, Furu WeiICLR 2022 · 3,632 次引用
- CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image ClassificationChun-Fu (Richard) Chen, Quanfu Fan, Rameswar PandaICCV 2021 · 2,072 次引用
相关 Paper
- Automatic Clipping: Differentially Private Deep Learning Made Easier and StrongerZhiqi Bu, Yu-Xiang Wang, Sheng Zha, George KarypisNeurIPS 2023 · 140 次引用
- Exploring the Limits of Differentially Private Deep Learning with Group-wise ClippingJiyan He, Xuechen Li, Da Yu, Huishuai Zhang 等ICLR 2023 · 4 次引用
- Large Language Models Can Be Strong Differentially Private LearnersXuechen Li, Florian Tramèr, Percy Liang, Tatsunori HashimotoICLR 2022 · 502 次引用
- Private Training Large-scale Models with Efficient DP-SGDLiangyu Wang, Junxiao Wang, Jie Ren, Zihang Xiang 等NeurIPS 2025 · 8 次引用
- Delving into Differentially Private TransformerYoulong Ding, Xueyang Wu, Yining Meng, Yonggang Luo 等ICML 2024 · 11 次引用
