DPDR: Gradient Decomposition and Reconstruction for Differentially Private Deep Learning

Yixuan Liu, Li Xiong, Yuhan Liu, Yujie Gu, Ruixuan Liu, Hong ChenarXiv 2024 · DOI

Abstract

Differentially Private Stochastic Gradient Descent (DP-SGD) often suffers from excessive noise injection, which degrades model utility. This paper introduces DPDR (Gradient Decomposition and Reconstruction), a framework that improves privacy-utility trade-offs by "recycling" information from previous gradients. By decomposing gradients into a shared direction and a smaller orthogonal incremental component, DPDR reduces the sensitivity of the noise-addition step. Empirical results on MNIST, CIFAR-10, and SVHN demonstrate that DPDR achieves higher accuracy and faster convergence compared to existing DP-SGD variants.

Introduction

Training deep learning models with Differential Privacy (DP) typically relies on DP-SGD, which clips gradients and adds random noise to protect individual data points. However, this process often introduces significant noise that hampers model performance. The authors of DPDR identify a core inefficiency: standard DP-SGD treats every training step as if it provides entirely new sensitive information, ignoring the fact that gradients often point in similar directions (coherence), especially early in training. This results in wasting the "privacy budget" by repeatedly re-protecting a general descent direction that is already well-known.

Gradient Decomposition and Reconstruction (GDR)

The proposed DPDR framework addresses this by "recycling" information through a two-part strategy. The core mechanism is Gradient Decomposition and Reconstruction (GDR). Instead of adding noise to the entire gradient, DPDR uses the previous noisy gradient as a basis vector ($b$). It decomposes the current gradient into two parts: a parallel component ($g_{||}$) representing alignment with the previous direction ("common knowledge"), and an orthogonal component ($g_{\perp}$) representing truly new, "incremental" information.

Geometric intuition of gradient decomposition and the resulting reduction in gradient norm over training steps.

By the Pythagorean theorem, the norm of the orthogonal component is almost always smaller than the full gradient. Since DP noise scales with the sensitivity (norm), noising only $g_{\perp}$ requires much less noise, improving the signal-to-noise ratio. The full gradient is then reconstructed by combining the noisy incremental part with the recycled common direction. This is more efficient than a simple subtraction approach, which can inadvertently increase the norm if directions diverge.

Mixed Strategy and Performance

Gradients are most coherent at the start of training. As the model approaches a local optimum, they become "stale" and fluctuate. DPDR employs a Mixed Strategy, using GDR during early steps and automatically switching to standard DP-SGD once the benefits of decomposition diminish (typically around step 50).

The researchers evaluated DPDR on MNIST, CIFAR-10, and SVHN benchmarks using architectures like ResNet18. DPDR consistently outperformed state-of-the-art baselines such as AutoClip and DPAdam.

Optimization trajectory of the model parameters showing the path towards the minimum on the loss surface.

On CIFAR-10 with a privacy budget of $\epsilon=3$, DPDR achieved 57.14% accuracy, compared to DP-SGD’s 55.48%. On the SVHN dataset, the improvement was approximately 2% higher than baselines. It also demonstrated faster convergence, reaching target accuracy levels with a lower privacy cost (approx. 0.2 less $\epsilon$).

Conclusion

DPDR provides a geometrically motivated way to improve the privacy-utility trade-off in deep learning. By focusing noise on the smaller orthogonal components of gradients, it preserves more signal for the same privacy budget. Future work will explore its application in Federated Learning and integration with advanced optimizers like DP-Adam.

Summary updated

BibTeX
@misc{liu2024dpdr,
  author = {Yixuan Liu and Li Xiong and Yuhan Liu and Yujie Gu and Ruixuan Liu and Hong Chen},
  title = {{DPDR: Gradient Decomposition and Reconstruction for Differentially Private Deep Learning}},
  year = {2024},
  eprint = {2406.02744},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.02744},
}
Figure