[Paper Review] Wide Network Learning with Differential Privacy
This paper proposes a novel differentially private training algorithm for wide neural networks that exploits gradient sparsity—common in models with embedding layers—to significantly reduce privacy-related accuracy loss. By leveraging sparsity in gradients, the method achieves a logarithmic dependence on model size, improving utility over standard DP-SGD, especially in high-dimensional settings like NLP and recommendation systems.
Despite intense interest and considerable effort, the current generation of neural networks suffers a significant loss of accuracy under most practically relevant privacy training regimes. One particularly challenging class of neural networks are the wide ones, such as those deployed for NLP typeahead prediction or recommender systems. Observing that these models share something in common--an embedding layer that reduces the dimensionality of the input--we focus on developing a general approach towards training these models that takes advantage of the sparsity of the gradients. More abstractly, we address the problem of differentially private empirical risk minimization (ERM) for models that admit sparse gradients. We demonstrate that for non-convex ERM problems, the loss is logarithmically dependent on the number of parameters, in contrast with polynomial dependence for the general case. Following the same intuition, we propose a novel algorithm for privately training neural networks. Finally, we provide an empirical study of a DP wide neural network on a real-world dataset, which has been rarely explored in the previous work.
Motivation & Objective
- Address the significant accuracy degradation in differentially private deep learning, particularly for wide neural networks used in NLP and recommendation systems.
- Identify that wide neural networks often produce sparse gradients due to sparse input data, especially in embedding layers.
- Develop a theoretical and practical framework to reduce the privacy cost in empirical risk minimization by exploiting gradient sparsity.
- Demonstrate that gradient sparsity leads to improved generalization and reduced privacy budget consumption in non-convex optimization.
- Provide empirical validation on a real-world dataset, showing superior utility compared to standard DP-SGD while maintaining strong privacy guarantees.
Proposed method
- Theoretical analysis shows that for non-convex differentially private ERM with gradient sparsity, the risk scales as $ Oig(rac{ ext{poly}( ext{log } p)}{n^{1/4}}ig) $, a significant improvement over the general case $ Oig(rac{ ext{poly}(p)}{ ext{sqrt}(n)}ig) $.
- Proposes a new algorithm that modifies gradient updates to preserve sparsity and reduce noise injection, using the exponential mechanism for private selection in the sparse regime.
- Introduces a private selection mechanism that prioritizes sparse gradient updates, minimizing the impact of noise on model convergence.
- Employs a modified DP-SGD framework where gradient clipping and noise addition are adapted to the sparsity pattern of each update.
- Uses canary phrases and rank-based memorization metrics to empirically estimate privacy leakage, providing a practical tool for hyperparameter tuning.
- Applies the moments accountant technique to track privacy loss, ensuring formal $(ε, δ)$-differential privacy guarantees.
Experimental results
Research questions
- RQ1Can gradient sparsity in wide neural networks be leveraged to reduce the privacy-accuracy trade-off in differentially private learning?
- RQ2How does gradient sparsity affect the generalization and privacy guarantees in non-convex empirical risk minimization?
- RQ3Does the proposed algorithm outperform standard DP-SGD in terms of model utility on real-world wide neural network tasks?
- RQ4Can memorization-based metrics serve as reliable indicators of privacy leakage in differentially private models?
- RQ5What is the impact of input sparsity on the effective privacy budget and model convergence in private training?
Key findings
- The proposed method achieves a risk bound of $ Oig(rac{ ext{poly}( ext{log } p)}{n^{1/4}}ig) $, which is logarithmic in model size, compared to polynomial dependence in the general case.
- Empirical results on a real-world dataset show that the proposed algorithm outperforms standard DP-SGD in utility, with significantly lower perplexity on downstream tasks.
- The memorization-based evaluation shows that the proposed method achieves privacy-preserving behavior comparable to DP-SGD, with $ p $-values of 0.00–0.88 in chi-squared tests, indicating no significant deviation from uniformity.
- For $ n_c = 15 $ canaries, the empirical $ ε $-loss is estimated between 0.07 and 0.11, suggesting strong privacy guarantees under group privacy.
- The chi-squared distance metric is shown to be sensitive and useful for tuning privacy hyperparameters, enabling practical deployment of private models.
- The method maintains strong privacy even when training on datasets with rare phrases, as evidenced by the lack of memorization in canary phrase rankings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.