DP-MicroAdam: Private and Frugal Algorithm for Training and Fine-tuning
Mihaela Hudişteanu, Nikita P. Kalinin, Edwige Cyffers
TL;DR
DP-MicroAdam introduces a memory-efficient, sparsity-aware adaptive optimizer for differential privacy. By integrating top-$k$ gradient selection, error feedback, and quantization with DP noise and clipping, it preserves per-coordinate adaptivity while mitigating DP-induced bias in moment estimates. Theoretical analysis shows an $O(1/\sqrt{T})$ convergence rate up to privacy-dependent constants; empirical results across CIFAR-10, ImageNet, and private transformer fine-tuning demonstrate consistent gains over DP-Adam variants and competitive performance with DP-SGD, with reduced hyperparameter sensitivity and memory requirements. Overall, the approach suggests adaptive optimization can be effectively combined with DP to improve stability and accuracy in private learning.
Abstract
Adaptive optimizers are the de facto standard in non-private training as they often enable faster convergence and improved performance. In contrast, differentially private (DP) training is still predominantly performed with DP-SGD, typically requiring extensive compute and hyperparameter tuning. We propose DP-MicroAdam, a memory-efficient and sparsity-aware adaptive DP optimizer. We prove that DP-MicroAdam converges in stochastic non-convex optimization at the optimal $\mathcal{O}(1/\sqrt{T})$ rate, up to privacy-dependent constants. Empirically, DP-MicroAdam outperforms existing adaptive DP optimizers and achieves competitive or superior accuracy compared to DP-SGD across a range of benchmarks, including CIFAR-10, large-scale ImageNet training, and private fine-tuning of pretrained transformers. These results demonstrate that adaptive optimization can improve both performance and stability under differential privacy.
