Understanding the Impact of Differentially Private Training on Memorization of Long-Tailed Data
Jiaming Zhang, Huanyi Xie, Meng Ding, Shaopeng Fu, Jinyan Liu, Di Wang
TL;DR
This work develops a theoretical feature-learning framework to understand how DP-SGD affects memorization on long-tailed data, using a multi-class, two-layer CNN with class-dependent noise. It shows that gradient clipping and privacy noise can suppress memorization of rare but informative patterns, but DP-induced noise exacerbates test errors for long-tailed subpopulations, revealing a pronounced privacy-utility trade-off. The authors provide formal results on training dynamics and two regimes of generalization, and validate them with synthetic experiments and real datasets (MNIST, CIFAR-10), including a practical method to identify long-tailed samples via influence scores. Overall, the paper highlights the challenges of private deep learning on imbalanced data and informs design choices for DP methods that preserve utility for underrepresented groups.
Abstract
Recent research shows that modern deep learning models achieve high predictive accuracy partly by memorizing individual training samples. Such memorization raises serious privacy concerns, motivating the widespread adoption of differentially private training algorithms such as DP-SGD. However, a growing body of empirical work shows that DP-SGD often leads to suboptimal generalization performance, particularly on long-tailed data that contain a large number of rare or atypical samples. Despite these observations, a theoretical understanding of this phenomenon remains largely unexplored, and existing differential privacy analysis are difficult to extend to the nonconvex and nonsmooth neural networks commonly used in practice. In this work, we develop the first theoretical framework for analyzing DP-SGD on long-tailed data from a feature learning perspective. We show that the test error of DP-SGD-trained models on the long-tailed subpopulation is significantly larger than the overall test error over the entire dataset. Our analysis further characterizes the training dynamics of DP-SGD, demonstrating how gradient clipping and noise injection jointly adversely affect the model's ability to memorize informative but underrepresented samples. Finally, we validate our theoretical findings through extensive experiments on both synthetic and real-world datasets.
