Towards Hyperparameter Transfer for Differentially Private Optimization
Organizations: Department of Statistics, Rutgers University · Independent Researcher
Abstract
Scaling laws and hyperparameter tuning remain central challenges in training large-scale models, particularly under differential privacy (DP), where optimization is further complicated by noise injection and per-sample gradient clipping. While Maximal Update Parametrization (P) allows for zero-shot hyperparameter transfer in standard training, we show that it fails under DP constraints due to the distinct spectral properties of high-dimensional noise versus low-rank gradients. In this work, we introduce DP-P, a theoretically grounded framework that extends P to the privacy-preserving setting. By analyzing the interaction between gradient clipping, noise injection, and feature learning, we derive a Signal-to-Noise Ratio (SNR) condition that governs layer-wise learning rate scaling. Combining this with our proposed spectral scaling formulation, we provide specific scaling rules for DP-SGD, DP-Adam, and DP-Muon optimizers. Empirically, we demonstrate that DP-P enables effective zero-shot transfer of learning rates across model widths on diverse architectures (MLP, ViT, GPT-2), matching or exceeding the performance of individually tuned baselines while significantly reducing computational costs.
Figures & tables
| Optimizer | NonDP lr scaling Yang et al. (2022a) | Clipping-only lr scaling | DP lr scaling |
|---|---|---|---|
| SGD | |||
| Adam | |||
| Muon |
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
| Optimizer | Non-Private | Clipping Only | Differentially Private (DP) |
|---|---|---|---|
| SGD | |||
| Adam | |||
| Muon |
| width = 256 | width = 512 | width = 1024 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 125 | 250 | 500 | 1000 | 125 | 250 | 500 | 1000 | 125 | 250 | 500 | 1000 | |
| Input | 1.13 | 0.56 | 0.28 | 0.14 | 1.25 | 0.62 | 0.31 | 0.16 | 1.40 | 0.70 | 0.35 | 0.17 |
| First Hidden | 0.51 | 0.25 | 0.13 | 0.06 | 0.72 | 0.36 | 0.18 | 0.09 | 1.03 | 0.51 | 0.26 | 0.13 |
| Second Hidden | 0.50 | 0.25 | 0.13 | 0.06 | 0.72 | 0.36 | 0.18 | 0.09 | 1.01 | 0.51 | 0.26 | 0.13 |
| Third Hidden | 0.51 | 0.25 | 0.13 | 0.07 | 0.72 | 0.36 | 0.18 | 0.09 | 1.02 | 0.51 | 0.25 | 0.13 |
| Output | 0.30 | 0.16 | 0.08 | 0.04 | 0.39 | 0.20 | 0.10 | 0.06 | 0.56 | 0.28 | 0.14 | 0.07 |
| width = 256 | width = 512 | width = 1024 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 125 | 250 | 500 | 1000 | 125 | 250 | 500 | 1000 | 125 | 250 | 500 | 1000 | |
| Input | 71.05 | 71.37 | 71.22 | 70.86 | 77.51 | 77.70 | 77.85 | 77.50 | 87.65 | 87.47 | 87.14 | 86.90 |
| First Hidden | 31.52 | 31.46 | 31.57 | 31.52 | 44.86 | 44.57 | 45.15 | 44.94 | 63.45 | 63.48 | 63.44 | 63.71 |
| Second Hidden | 30.77 | 31.80 | 32.05 | 31.43 | 45.21 | 44.79 | 44.64 | 44.81 | 64.07 | 63.81 | 63.86 | 63.59 |
| Third Hidden | 31.96 | 31.82 | 31.41 | 31.55 | 44.66 | 44.72 | 44.82 | 44.93 | 63.52 | 63.70 | 63.55 | 63.93 |
| Output | 18.64 | 18.52 | 18.09 | 19.00 | 24.62 | 24.60 | 24.79 | 25.72 | 34.20 | 35.04 | 34.22 | 34.20 |
| width = 320 | width = 640 | width = 1280 | |||||||
|---|---|---|---|---|---|---|---|---|---|
| 64 | 128 | 256 | 64 | 128 | 256 | 64 | 128 | 256 | |
| Block 5 QKV | 48.43 | 48.38 | 48.40 | 68.58 | 68.70 | 68.96 | 97.29 | 97.69 | 97.67 |
| Block 5 FC1 | 53.06 | 52.87 | 53.71 | 75.45 | 75.86 | 76.01 | 107.15 | 106.98 | 107.16 |
| Block 5 FC2 | 53.05 | 53.73 | 53.10 | 75.65 | 75.36 | 75.57 | 107.05 | 107.52 | 107.52 |
| Block 10 QKV | 48.39 | 48.36 | 47.99 | 69.27 | 68.85 | 68.88 | 97.46 | 97.68 | 97.71 |
| Block 10 FC1 | 53.17 | 52.91 | 53.08 | 75.44 | 75.97 | 75.36 | 107.36 | 106.92 | 106.91 |
| width | SP SGD | P SGD | SP Adam | P Adam | P Muon |
| 256 | |||||
| 512 | |||||
| 1024 | |||||
| 2048 | |||||
| 4096 | |||||
| 8192 |
| width | P SGD | P Adam | P Muon |
|---|---|---|---|
| 192 | |||
| 384 | |||
| 576 | |||
| 768 | |||
| 960 | |||
| Slope |
Neural Network Optimization
Neural network optimization studies algorithms and training dynamics that help models learn efficiently, reliably, and generalize well.
See all 321 papers