[Paper Review] Differentially private training of residual networks with scale normalisation
This paper introduces ScaleNorm, a simple architectural modification that adds a normalization layer after the residual block's addition operation in residual networks, alleviating 'scale mixing'—a phenomenon where residual and convolutional path activations have mismatched scales. By applying ScaleNorm with DP-SGD and recent training adaptations, the authors achieve a new state-of-the-art top-1 accuracy of 82.5% on CIFAR-10 at ε=8.0, training from scratch.
The training of neural networks with Differentially Private Stochastic Gradient Descent offers formal Differential Privacy guarantees but introduces accuracy trade-offs. In this work, we propose to alleviate these trade-offs in residual networks with Group Normalisation through a simple architectural modification termed ScaleNorm by which an additional normalisation layer is introduced after the residual block's addition operation. Our method allows us to further improve on the recently reported state-of-the art on CIFAR-10, achieving a top-1 accuracy of 82.5% (ε=8.0) when trained from scratch.
Motivation & Objective
- Address the privacy-utility trade-off in differentially private training of deep neural networks, particularly in medical and vision applications requiring high accuracy and strong privacy.
- Investigate and resolve the 'scale mixing' problem in residual networks during DP-SGD training, where residual path activations are unnormalized while feature path activations are normalized.
- Improve convergence and test accuracy in ResNets trained from scratch with DP-SGD by introducing a minimal architectural change.
- Demonstrate that ScaleNorm, combined with existing training adaptations, achieves state-of-the-art performance on image benchmarks under differential privacy.
Proposed method
- Propose ScaleNorm: an additional normalization layer inserted after the residual connection's addition operation in residual blocks.
- Apply Group Normalization to the residual path to maintain differential privacy guarantees, replacing Batch Normalization which is incompatible with DP-SGD.
- Integrate ScaleNorm into standard ResNet and WideResNet architectures, modifying the forward pass to normalize the sum of residual and feature paths.
- Train models using Differentially Private Stochastic Gradient Descent (DP-SGD) with privacy accounting via the Rényi DP accountant (Opacus).
- Apply recent training adaptations from De et al. (2022), including augmentation multiplicity and weight averaging, to further boost performance.
- Conduct hyperparameter searches using Optuna with Tree-structured Parzen Estimator and threshold pruning, resetting privacy budget per run.
Experimental results
Research questions
- RQ1How does scale mixing in residual networks affect training convergence and test accuracy under DP-SGD?
- RQ2Can a simple architectural modification like ScaleNorm effectively mitigate scale mixing and improve model performance in differentially private training?
- RQ3To what extent does ScaleNorm improve accuracy when combined with advanced training techniques in DP-SGD?
- RQ4Does ScaleNorm generalize across different architectures and datasets, including CIFAR-10, ImageNette, and Tiny ImageNet?
- RQ5What is the trade-off between accuracy gains and training efficiency when applying ScaleNorm with high-computation training adaptations?
Key findings
- ScaleNorm achieves a top-1 accuracy of 82.5% on CIFAR-10 at ε=8.0 when training from scratch, setting a new state-of-the-art.
- On CIFAR-10, ScaleNorm improves accuracy by 1.25 percentage points over standard WRN-16/4 (81.25% vs. 82.5%) under the same privacy budget.
- On ImageNette, ScaleNorm improves top-1 accuracy by 1.3 percentage points at ε=9.88 (67.1% vs. 65.0%).
- On Tiny ImageNet, ScaleNorm achieves 25.8% top-1 accuracy at ε=70, outperforming the baseline by 1.1 percentage points.
- The improvement is consistent across all privacy levels tested, with the largest relative gain observed at higher privacy budgets.
- Training with ScaleNorm and full training adaptations increases training time to ~16 hours (dual GPU), but yields a significant 10% accuracy gain over baseline models.
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.