Towards Understanding Generalization in DP-GD: A Case Study in Training Two-Layer CNNs
Zhongjie Shi, Puyu Wang, Chenyang Zhang, Yuan Cao
TL;DR
The paper investigates generalization under differential privacy in gradient-based learning, identifying a concrete binary classification setup where DP-GD can surpass standard GD. Using a two-layer Hub ReLU CNN with a noise-containing data model, the authors derive stage-based analyses showing noise memorization harms GD’s test performance, while DP-GD can cross activation thresholds and achieve strong training accuracy plus privacy with early stopping. They provide theoretical bounds on training loss, generalization error, and DP guarantees, and corroborate them with numerical experiments across varying SNRs. The results challenge the usual privacy-utility trade-off by demonstrating task-specific regimes where privacy-preserving training improves generalization.
Abstract
Modern deep learning techniques focus on extracting intricate information from data to achieve accurate predictions. However, the training datasets may be crowdsourced and include sensitive information, such as personal contact details, financial data, and medical records. As a result, there is a growing emphasis on developing privacy-preserving training algorithms for neural networks that maintain good performance while preserving privacy. In this paper, we investigate the generalization and privacy performances of the differentially private gradient descent (DP-GD) algorithm, which is a private variant of the gradient descent (GD) by incorporating additional noise into the gradients during each iteration. Moreover, we identify a concrete learning task where DP-GD can achieve superior generalization performance compared to GD in training two-layer Huberized ReLU convolutional neural networks (CNNs). Specifically, we demonstrate that, under mild conditions, a small signal-to-noise ratio can result in GD producing training models with poor test accuracy, whereas DP-GD can yield training models with good test accuracy and privacy guarantees if the signal-to-noise ratio is not too small. This indicates that DP-GD has the potential to enhance model performance while ensuring privacy protection in certain learning tasks. Numerical simulations are further conducted to support our theoretical results.
