NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Towards Hyperparameter Transfer for Differentially Private Optimization

Tianze Wang, Zhiqi Bu, Linjun ZhangNeurIPS 2026

TL;DR

Training massive AI models requires expensive hyperparameter tuning, and adding Differential Privacy (DP) makes the math even messier—breaking standard shortcuts that let us transfer settings from small "proxy" models to giant ones. This paper introduces DP-$\mu$P, a mathematical framework that fixes this breakdown by aligning the Signal-to-Noise Ratio across model scales. Now, you can tune your learning rate on a tiny, cheap private model and transfer it zero-shot to a massive model, slashing compute costs by up to 90% without sacrificing performance or privacy.

What Problem Does This Paper Address?

Imagine trying to bake a wedding cake, so you test your recipe on a single cupcake first. In modern deep learning, that "cupcake-to-wedding-cake" trick is called Maximal Update Parametrization ($\mu$P). Instead of burning thousands of GPU hours tuning learning rates directly on a massive target model, $\mu$P mathematically scales weights and updates so that the optimal learning rate found on a tiny proxy model transfers zero-shot (with zero extra tuning) to a giant one.

Enter Differential Privacy (DP). Larger models perform better, width-for-width, than smaller ones, especially in private learning—yet they are also notorious for memorizing sensitive training data. To prevent data leaks, DP optimizers do two things at every step: clip individual sample gradients (capping how much any single data point can influence the model) and inject random Gaussian noise to mask individual contributions.

Here is the catch: when you combine $\mu$P with DP, the magic breaks. Standard $\mu$P calibrates layer updates based on their total magnitude. In high-dimensional DP training, injected privacy noise completely overwhelms the clipped gradient signal in size. If you scale your learning rate based on that noisy total update, the actual learning signal shrinks toward zero as your model gets wider ($O(1/\sqrt{n})$). Your giant model ends up learning nothing at all.

Figure 2: Comparison of hyperparameter transfer scaling rules (µP) on a 5-layer MLP (CIFAR- 10). (a) Under the clipping-only regime (no noise), loss curves align across widths, validating µP. (b) Scaling by the spectral norm of the noisy update fails to align curves, demonstrating the failure of standard µP under differential privacy.

Methods

To rescue zero-shot transfer, the authors build DP-$\mu$P by pairing standard $\mu$P initialization with two new ingredients:

  1. Spectral Scaling for DP Optimizers: Using random matrix theory, the authors analyze the exact mathematical geometry (specifically, the spectral norm, which measures the maximum stretching factor of a matrix) of noisy, clipped updates. From this, they derive exact layer-wise learning rate scaling laws tailored for DP-SGD, DP-Adam, and DP-Muon.
  2. Layer-wise SNR Alignment: Scaling the learning rate alone isn't enough because learning rate multiplies both signal and noise equally. For a small proxy model to truly mimic a wide target model, every layer must experience the exact same Signal-to-Noise Ratio (SNR). Because input and output dimensions (like vocabulary size or image channels) stay fixed while hidden layers widen, global noise scaling fails at the boundaries. The authors replace global clipping with layer-wise automatic clipping and solve a clean, closed-form system of equations (Eq. 8) that adjusts the proxy model's noise multiplier and layer-wise clipping thresholds to lock in identical SNR across scales.
Figure 1: DP-µP Training Workflow. We employ µP initialization to stabilize the initial state and align the Signal-to-Noise Ratio (SNR) to derive the appropriate noise parameters for the small proxy model. After identifying the optimal base learning rate on the proxy, we apply layer-wise scaling to the large model to ensure O(1) loss updates, resulting in invariant training dynamics across model scales. A numerical example is provided in Appendix C.6.

Datasets

The authors evaluate DP-$\mu$P on standard benchmarks (no new datasets are introduced):

  • CIFAR-10 & CIFAR-100: Used for image classification pretraining across varying model widths and batch sizes.
  • Shakespeare Character Dataset: Used for character-level text generation pretraining.

Key Insights and Ideas

  • Geometry explains why DP breaks $\mu$P: Per-sample gradients are rank-1 (low-rank, structured signals), whereas injected Gaussian privacy noise is a full-rank random matrix. As layer width $n$ grows, the spectral norm of full-rank noise balloons by $\Theta(\sqrt{n})$, drowning out the $\Theta(1)$ clipped signal.
  • Noise dominance isn't fatal—mismatch is: Large private models naturally live in a "noise-dominated regime" where noise norm vastly exceeds signal norm. Models can still learn remarkably well here, provided the ratio of signal to noise stays invariant as you scale up.
  • Fixing Muon at the boundaries: Standard implementations of the Muon optimizer use Adam for the input and output layers. The authors discover this breaks hyperparameter transfer even without privacy; swapping those boundary layers to SGD or pure Muon updates restores clean transferability.
  • Batch size transfers for free: By treating the noise-to-batch ratio ($\sigma_{\text{DP}}/B$) as a single unified term, DP-$\mu$P seamlessly transfers learning rates across different batch sizes when total update steps are fixed.

Key Results

All DP experiments enforce a strict privacy budget of $\epsilon = 2, \delta = 10^{-5}$ on a single NVIDIA A100 GPU:

  • 90.35% Compute Reduction on GPT-2: To train a 787.8M-parameter GPT-2 Large model (20 heads, width 1280), the authors tuned the learning rate on a 76.0M-parameter proxy (5 heads, width 320). Theoretical compute dropped by 90.35%, cutting wall-clock time per tuning run from ~30 minutes to 11 minutes, while preserving the exact optimal learning rate ranking across 76M, 227.3M, and 787.8M scales.
  • Consistent Width Transfer: Across 5-layer MLPs (widths 256 to 8192) and Vision Transformers (widths 192 to 960) on CIFAR-10 and CIFAR-100, optimal learning rates aligned cleanly across widths for DP-SGD, DP-Adam, and DP-Muon, consistently beating Standard Parametrization (SP) with lower losses and stable activation norms.

Limitations and Future Work

  • Width works, Depth doesn't (yet): DP-$\mu$P handles width and batch-size scaling, but not depth scaling. As networks get deeper, privacy noise accumulates across successive layers, violating the layer-wise SNR condition. Future work must either find a depth-scaling fix or prove it mathematically impossible.
  • The "Transition Regime" Gap: The math assumes noise dominates the gradient signal. With massive batch sizes (common in frontier-scale private pretraining), noise shrinks until it rivals the signal magnitude—eventually reducing to clipping-only rules. Analyzing the awkward middle ground where signal and noise are comparable remains an open question.

Summary updated

BibTeX
@inproceedings{wang2026towards,
  author = {Tianze Wang and Zhiqi Bu and Linjun Zhang},
  title = {{Towards Hyperparameter Transfer for Differentially Private Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=opbIOcQ6tb},
}
Figure