NanoBatch Privacy: Enabling fast Differentially Private learning on the IPU
Not on the map. Why?
Abstract (arXiv)
Differentially private SGD (DPSGD) has recently shown promise in deep learning. However, compared to non-private SGD, the DPSGD algorithm places computational overheads that can undo the benefit of batching in GPUs. Micro-batching is a common method to alleviate this and is fully supported in the TensorFlow Privacy library (TFDP). However, it degrades accuracy. We propose NanoBatch Privacy, a lightweight add-on to TFDP to be used on Graphcore IPUs by leveraging batch size of 1 (without microbatching) and gradient accumulation. This allows us to achieve large total batch sizes with minimal impacts to throughput. Second, we illustrate using Cifar-10 how larger batch sizes are not necessarily optimal from a privacy versus utility perspective. On ImageNet, we achieve more than 15x speedup over TFDP versus 8x A100s and significant speedups even across libraries such as Opacus. We also provide two extensions: 1) DPSGD for pipelined models and 2) per-layer clipping that is 15x faster than the Opacus implementation on 8x A100s. Finally as an application case study, we apply NanoBatch training for use on private Covid-19 chest CT prediction.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 24 of its 31 references that are in the map. First posted on arXiv 24 Sep 2021.
Builds on
24 of 31 references.
References · 24
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,592
- 2016Deep Learning with Differential Privacycited by 2,682
- 2018Group Normalizationcited by 1,514
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
- 2017Differentially Private Federated Learning: A Client Level Perspectivecited by 451
- 2019Differential Privacy Has Disparate Impact on Model Accuracycited by 316
- 2018Scalable Private Learning with PATEcited by 266
- 2019Privacy-preserving Federated Brain Tumour Segmentationcited by 169
- 2018Multi-Institutional Deep Learning Modeling Without Sharing Patient Data: A Feasibility Study on Brain Tumor Segmentationcited by 148
- 2021Large-Scale Differentially Private BERTcited by 117
- 2018Revisiting Small Batch Training for Deep Neural Networkscited by 100
12 more
- 2018A General Approach to Adding Differential Privacy to Iterative Training Procedurescited by 84
- 2019AdaCliP: Adaptive Clipping for Private SGDcited by 77
- 2020Enabling Fast Differentially Private SGD via Just-in-Time Compilation and Vectorizationcited by 58
- 2019Dissecting the Graphcore IPU Architecture via Microbenchmarkingcited by 47
- 2021An Efficient DP-SGD Mechanism for Large Scale NLP Modelscited by 27
- 2018Three Tools for Practical Differential Privacycited by 20
- 2020Bundle Adjustment on a Graph Processorcited by 15
- 2021Proxy-Normalizing Activations to Match Batch Normalization while Removing Batch Dependencecited by 12
- 2021Multi-Horizon Forecasting for Limit Order Books: Novel Deep Learning Approaches and Hardware Acceleration using Intelligent Processing Unitscited by 10
- 2018Privacy-Preserving Distributed Deep Learning for Clinical Datacited by 8
- 2021Making EfficientNet More Efficient: Exploring Batch-Independent Normalization, Group Convolutions and Reduced Resolution Trainingcited by 6
- 2020Hardware-accelerated Simulation-based Inference of Stochastic Epidemiology Models for COVID-19cited by 1
Built on by
Not cited yet.