[Paper Review] On the Convergence and Calibration of Deep Learning with Differential Privacy
This paper provides a continuous-time convergence analysis of differentially private (DP) deep learning using the neural tangent kernel (NTK), revealing that gradient clipping—not noise addition—affects convergence and calibration. It shows that large clipping norms yield models with similar accuracy and privacy but significantly better calibration than small clipping norms, resolving a key trade-off in DP training.
Differentially private (DP) training preserves the data privacy usually at the cost of slower convergence (and thus lower accuracy), as well as more severe mis-calibration than its non-private counterpart. To analyze the convergence of DP training, we formulate a continuous time analysis through the lens of neural tangent kernel (NTK), which characterizes the per-sample gradient clipping and the noise addition in DP training, for arbitrary network architectures and loss functions. Interestingly, we show that the noise addition only affects the privacy risk but not the convergence or calibration, whereas the per-sample gradient clipping (under both flat and layerwise clipping styles) only affects the convergence and calibration. Furthermore, we observe that while DP models trained with small clipping norm usually achieve the best accurate, but are poorly calibrated and thus unreliable. In sharp contrast, DP models trained with large clipping norm enjoy the same privacy guarantee and similar accuracy, but are significantly more <i>calibrated</i>. Our code can be found at https://github.com/woodyx218/opacus_global_clipping.
Motivation & Objective
- To understand the theoretical convergence dynamics of differentially private deep learning beyond empirical observations.
- To disentangle the effects of gradient clipping and noise addition on convergence, accuracy, and calibration in DP training.
- To resolve the privacy-accuracy-calibration trade-off by analyzing the impact of clipping norm selection.
- To demonstrate empirically that large clipping norms yield better-calibrated models with comparable accuracy.
Proposed method
- Formulates a continuous-time analysis of DP training using the neural tangent kernel (NTK) to model gradient clipping and noise addition.
- Derives theoretical conditions under which convergence is affected by per-sample gradient clipping, distinguishing it from noise addition.
- Introduces a global clipping function that adapts clipping norms during training, enabling large-R phases for improved convergence.
- Employs reliability diagrams and calibration metrics to evaluate model confidence vs. actual accuracy across different clipping norms.
- Conducts experiments on image (CIFAR-10), text (SNLI, BERT), and regression (California Housing, Wine Quality) datasets with DP-AdamW and DP-GD.
- Uses mix-up training with alternating small and large clipping norms to study dynamic effects on loss and calibration.
Experimental results
Research questions
- RQ1How does per-sample gradient clipping affect convergence and calibration in differentially private deep learning?
- RQ2What is the role of noise addition versus gradient clipping in determining model convergence and privacy risk?
- RQ3Does using a large clipping norm improve calibration while maintaining accuracy and privacy guarantees?
- RQ4Can dynamic clipping strategies (e.g., switching from small to large R) enhance training dynamics and model reliability?
- RQ5Why do small clipping norms lead to overconfident, poorly calibrated models despite high accuracy?
Key findings
- Large clipping norms (R=20) significantly improve model calibration compared to small clipping norms (R=0.1), even when accuracy remains similar.
- Models trained with small clipping norms are overconfident—predicted confidence is much higher than actual accuracy—indicating severe mis-calibration.
- In the SNLI BERT experiment, mix-up training with large R in the final 5% of training reduced test NLL from 1.79 to 1.08 and improved calibration without reducing accuracy.
- On the Wine Quality and California Housing regression tasks, large clipping norms led to monotonic convergence, while small R caused non-monotonic loss behavior, as predicted by theory.
- Noise addition affects only privacy risk, not convergence or calibration, whereas gradient clipping directly impacts both.
- The same privacy budget (ε=1.25, δ=1/550152) is maintained across all experiments, confirming that large R does not compromise privacy.
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.