DP-$λ$CGD: Efficient Noise Correlation for Differentially Private Model Training
Nikita P. Kalinin, Ryan McKenna, Rasmus Pagh, Christoph H. Lampert
TL;DR
DP-$\lambda$CGD tackles the memory bottleneck of correlated-noise DP-SGD by introducing a memory-free scheme that regenerates the previous iteration's noise and cancels a $\lambda$-fraction using a lower triangular Toeplitz matrix $C_\lambda$. The approach leverages PRNG replay to avoid storing past noise, yielding near-DP-SGD runtimes with improved utility and a single tunable parameter $\lambda$ that balances standard DP-SGD against RMSE/MaxSE-optimal factorizations. The authors provide theoretical insights into RMSE and MaxSE factors, show structural properties, and demonstrate empirically that DP-$\lambda$CGD often surpasses DP-SGD and several memory-efficient baselines on vision and NLP tasks across privacy budgets. They also analyze amplification effects, showing that Balls-in-Bins subsampling interacts with $\lambda$ to influence optimality, and discuss practical considerations for implementation and future extensions.
Abstract
Differentially private stochastic gradient descent (DP-SGD) is the gold standard for training machine learning models with formal differential privacy guarantees. Several recent extensions improve its accuracy by introducing correlated noise across training iterations. Matrix factorization mechanisms are a prominent example, but they correlate noise across many iterations and require storing previously added noise vectors, leading to substantial memory overhead in some settings. In this work, we propose a new noise correlation strategy that correlates noise only with the immediately preceding iteration and cancels a controlled portion of it. Our method relies on noise regeneration using a pseudorandom noise generator, eliminating the need to store past noise. As a result, it requires no additional memory beyond standard DP-SGD. We show that the computational overhead is minimal and empirically demonstrate improved accuracy over DP-SGD.
