betaFeedback

WorksComputer Science

Towards Hyperparameter Transfer for Differentially Private Optimization

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.

Introduction

The success of large-scale models such as GPT [33, 3], LLaMA [37], Qwen [41], and DeepSeek [24], trained with billions of parameters and trillions of tokens, has underscored the importance of effective hyperparameter tuning [19, 18, 21]. Empirically, model performance is sensitive to choices like learning rate, momentum, and weight decay, necessitating fine-grained and computationally intensive tuning. However, the resources used for tuning hyperparameters grow exponentially with model size under grid or random search, posing a development for scalable model training [34, 11].

Maximal Update Parametrization (μ\muP) [42] has emerged as a compelling solution to hyperparameter tuning in large-scale models. By reparameterizing neural networks to preserve update magnitudes across widths [43, 44], μ\muP enables zero-shot transfer of hyperparameters, such as learning rate, from small models to significantly larger ones without performance degradation. μ\muP achieves this by ensuring consistent layer-wise updates that stabilize activations and weights across both training iterations and model layers. In contrast to empirical scaling laws, which can be inaccurate, model-specific, or computationally expensive, μ\muP offers a theoretically grounded, architecture-agnostic framework for scalable training and robust feature learning [45].

In this work, we investigate μ\muP in differentially private (DP) optimization [1] to enable hyperparameter (learning rate) transfer in privacy-preserving deep learning. To put this into perspective, a well-known empirical tradeoff exists between model utility and privacy risk. On the one hand, larger models typically achieve better performance in tasks such as image classification and language modeling [16, 3]. On the other hand, these models are also more prone to memorizing training data, which can be extracted through membership inference attacks [35] or prompt-based data extraction techniques [10]. To protect data privacy while retaining model utility, DP can be equipped with any optimizer. Moreover, DP has proven effective in settings such as continual learning and fine-tuning [14, 5, 49], making it a practical and increasingly adopted approach for privacy-preserving machine learning.

Specifically, we consider DP optimizers equipped with layer-wise clipping [6, 8, 15, 28]. Our objective is to quantify the layer-wise stabilization required to ensure robust learning rate transfer in DP optimization. In particular, we focus on the noise-dominated regime, where the spectral norm of the injected privacy noise overwhelms the gradient signal. This is an inevitable scenario that naturally arises in large models due to the high dimensionality of the noise matrix [38], and is a standard setting commonly analyzed in DP deep learning [40, 50, 23]. However, we emphasize that noisy learning frameworks (including both DP training and zero-order optimization [27]) can still achieve meaningful utility even when noise dominates in magnitude. We mark our contributions as follows:

  1. [Spectral condition for DP] We characterize the spectral properties of the noise-dominated regime using random matrix theory: the full-rank nature of high-dimensional Gaussian noise, in contrast to the stable low-rank structure of the gradient signal, induces fundamentally different spectral dynamics that dictate the optimal scaling rules.

  1. [Signal-to-noise condition for DP] We derive a signal-to-noise ratio (SNR) condition under the μ\muP framework, which, together with the spectral condition, enables learning rate transfer across model sizes. We demonstrate this for three optimizers: DP-SGD, DP-Adam, and DP-Muon, establishing novel scaling rules for both clipping-only and DP settings, summarized in Table 1.

OptimizerNonDP lr scaling [44]Clipping-only lr scalingDP lr scaling
SGDnlnl−1\frac{n_l}{n_{l-1}}nlnl−1\sqrt{\frac{n_l}{n_{l-1}}}nl/nl−1σDPB(nl+nl−1)\frac{\sqrt{n_l/n_{l-1}}}{\frac{\sigma_{\mathrm{DP}}}{B}\left(\sqrt{n_l}+\sqrt{n_{l-1}}\right)}
Adam1nl−1\frac{1}{n_{l-1}}1nl−1\frac{1}{n_{l-1}}1nl+nl−1\frac{1}{\sqrt{n_l}+\sqrt{n_{l-1}}}
Muonnlnl−1\sqrt{\frac{n_l}{n_{l-1}}}nlnl−1\sqrt{\frac{n_l}{n_{l-1}}}nlnl−1\sqrt{\frac{n_l}{n_{l-1}}}

Table 1. Summary of layer-wise learning rate (lr) scaling rules for μ\muP under different privacy settings. Note that for DP-SGD, the scaling explicitly accounts for the noise-to-batch ratio.

  1. [Zero-shot hyperparameter transfer] We present a comprehensive empirical study, including coordinate checks to support our scaling method. We demonstrate that our method effectively transfers optimal learning rates from small to large models, matching or exceeding the performance of individually tuned baselines.

Preliminary

Notations

We use the big-Θ\Theta notation to describe asymptotic scaling, where f(n)=Θ(g(n))f(n) = \Theta(g(n)) if there exist positive constants c,Cc, C such that

c⋅g(n)≤f(n)≤C⋅g(n), for all sufficiently large n.c \cdot g(n) \le f(n) \le C \cdot g(n), \text{ for all sufficiently large } n.

We denote the Frobenius norm by ∥W∥F:=∑i,jWij2\lVert W\rVert_F := \sqrt{\sum_{i,j} W_{ij}^{2}}, and the spectral norm (or operator norm) by ∥W∥∗:=max⁡x≠0∥Wx∥F/∥x∥F\lVert W\rVert_* := \max_{x\ne0}\lVert Wx\rVert_F/\lVert x\rVert_F. Finally, we use ≍\asymp to indicate asymptotic equivalence up to constant factors.

Deep Learning and Gradient Descent

Consider a neural network composed of LL layers, where each layer transforms the output of the previous one. A simplified forward pass through the network can be represented layer-wise as follows:

al=al−1Wl,∂L∂Wl=∂alT∂Wl∂L∂al=al−1T∂L∂al(1)\mathbf{a}_l = \mathbf{a}_{l-1}W_l,\qquad\frac{\partial\mathcal{L}}{\partial W_l} = \frac{\partial\mathbf{a}_l^{\mathsf{T}}}{\partial W_l}\frac{\partial\mathcal{L}}{\partial\mathbf{a}_l} = \mathbf{a}_{l-1}^{\mathsf{T}}\frac{\partial\mathcal{L}}{\partial\mathbf{a}_l} \tag*{(1)}

where ll denotes the layer index. Here, al∈RB×nl\mathbf{a}_l \in\mathbb{R}^{B\times n_l} represents the activation at layer ll for a mini-batch of size BB, with a0\mathbf{a}_0 being the input data, and Wl∈Rnl−1×nlW_l \in\mathbb{R}^{n_{l-1}\times n_l} is the weight matrix of the ll-th layer. Following the convention in μ\muP literature [44, 45], we omit bias terms and nonlinear activation functions (e.g., ReLU or GELU) between layers for notational simplicity. We highlight that our analysis also works without such simplification and explain it in Appendix § 7.§ 1.

Training neural networks typically involves iterative updates using gradient-based optimization algorithms (e.g. SGD, Adam and Muon). At each iteration tt, the weights are updated according to:

Wl,t+1=Wl,t+ΔWl,t:=Wl,t−ηlgl,t(2)W_{l,t+1} = W_{l,t} + \Delta W_{l,t} := W_{l,t} - \eta_l g_{l,t} \tag*{(2)}

where ηl\eta_l is the learning rate associated with layer ll, and gl,t=g(∇Wl,tL)g_{l,t} = g(\nabla_{W_{l,t}}\mathcal{L}) is the pre-conditioned gradient of the mini-batch loss function L\mathcal{L}. The function g(⋅)g(\cdot) defines the optimizer-specific transformation applied to the raw gradient. For example, g(x)=xg(x)=x corresponds to standard SGD; g(x)=sign⁡(x)g(x)=\operatorname{sign}(x) corresponds to SignSGD or the gradient update in Adam-like optimizers; g(x)=UTVg(x)=U^{\mathsf{T}}V (with x=UTSVx=U^{\mathsf{T}}SV being the singular value decomposition) corresponds to Muon and Shampoo.

Maximal Update Parametrization (μ\muP)

To ensure feature learning, μ\muP stabilizes each element of al\mathbf{a}_l at Θ(1)\Theta(1) in two dimensions: layer-wise and iteration-wise. Mathematically, μ\muP normalizes the weights to satisfy the following scales:

∥al∥2=Θ(nl)⟸∥Wl,t∥∗=Θ(nlnl−1)⏟Desideratum 1 in [45] (Feature learning)\underbrace{\lVert\mathbf{a}_l\rVert_2 = \Theta(\sqrt{n_l}) \Longleftarrow\lVert W_{l,t}\rVert_* = \Theta\left(\sqrt{\frac{n_l}{n_{l-1}}}\right)}_{\text{Desideratum 1 in [45] (Feature learning)}}
∥Wl,t∥∗=Θ(nlnl−1)⟸∥ΔWl,t∥∗=Θ(nlnl−1)⏟Condition 1 in [45] (Spectral scaling)(3)\underbrace{\lVert W_{l,t}\rVert_* = \Theta\left(\sqrt{\frac{n_l}{n_{l-1}}}\right) \Longleftarrow\lVert\Delta W_{l,t}\rVert_* = \Theta\left(\sqrt{\frac{n_l}{n_{l-1}}}\right)}_{\text{Condition 1 in [45] (Spectral scaling)}} \tag*{(3)}

Note that (3) can be derived via mathematical induction (detailed in Appendix § 7.§ 1), provided the following specifications are met:

  1. weight initialization with specific variance (known as the spectral parametrization in [45]), so that at t=0t=0, ∥Wl,0∥∗=Θ(nl/nl−1)\lVert W_{l,0}\rVert_* = \Theta\left(\sqrt{n_l/n_{l-1}}\right).

  1. layer-wise learning rate η\eta, so that ∥ΔWl,t∥∗=Θ(nl/nl−1)\lVert\Delta W_{l,t}\rVert_* = \Theta\left(\sqrt{n_l/n_{l-1}}\right) for any gl,tg_{l,t}.

Crucially, it has been established that preserving this feature learning regime is fundamental to enabling hyperparameter transfer across model widths [44, 45]. For residual connections in transformers, since μ\muP meticulously scales the residual outputs to ensure the activation norms remain stable, the framework extends to residual architectures without loss of generality. Consequently, to achieve this transferability in the differentially private setting, we determine the layer-wise learning rate specifically to enforce these spectral scaling laws. This requirement leads to the condition formalized in the following lemma.

Lemma 2.1 (Spectral condition via layer-wise learning rate [45]). For glg_l from any optimizer, the spectral scaling condition in (3) is equivalent to setting

ηl=∥ΔWl∥∗∥gl∥∗=Θ(nlnl−1∥gl∥∗)(4)\eta_l = \frac{\lVert\Delta W_l\rVert_*}{\lVert g_l\rVert_*} = \Theta\left(\frac{\sqrt{n_l}}{n_{l-1}\lVert g_l\rVert_*}\right) \tag*{(4)}

We can leverage Lemma 2.1 to derive Table 1 by analyzing ∥gl∥∗\lVert g_l\rVert_* under different optimizers. To see this, we elaborate in § 3 for both DP and non-DP optimizers, with a special focus on the influence of DP operations (i.e. per-sample gradient clipping and Gaussian noising).

Differentially Private Optimization

Recall the formal definition of (ϵ,δ)(\epsilon,\delta)-DP.

Definition 2.2. [13] A randomized algorithm M\mathcal{M} is (ϵ,δ)(\epsilon,\delta)-differentially private if, for any two neighboring datasets DD and D′D' that differ in exactly one datapoint, and for all S⊂Range⁡(M)S \subset\operatorname{Range}(\mathcal{M}), it holds that:

Pr⁡[M(D)∈S]≤eϵPr⁡[M(D′)∈S]+δ.(5)\Pr[\mathcal{M}(D) \in S] \le e^\epsilon\Pr[\mathcal{M}(D') \in S] + \delta. \tag*{(5)}

Differentially private (DP) optimization applies any optimizer with the privatized gradient:

p(∇WL)=1B∑i=1Bci∇WLi+σDPBN(0,I),p(\nabla_W \mathcal{L}) = \frac{1}{B}\sum_{i=1}^{B} c_i \nabla_W \mathcal{L}_i + \frac{\sigma_{\mathrm{DP}}}{B}N(0,I),

hence transforming SGD to DP-SGD, as well as AdamW [22, 26], Muon [20], GeN [9, 25], etc. Here ∇WLi\nabla_W \mathcal{L}_i is the per-sample gradient, cic_i is a constant to perform gradient clipping (e.g. ci=1∥∇WLi∥Fc_i = \frac{1}{\lVert\nabla_W \mathcal{L}_i\rVert_F}), BB is the batch size and σDP\sigma_{\mathrm{DP}} is the noise level.

We study the layer-wise automatic clipping [7, 47], for the ll-th layer,

pl:=p(∇WlL)=1B∑i∇WlLiD∥∇WlLi∥F+σDPBN(0,Il)(6)p_l := p(\nabla_{W_l}\mathcal{L}) = \frac{1}{B}\sum_i \frac{\nabla_{W_l}\mathcal{L}_i}{\sqrt{D}\lVert\nabla_{W_l}\mathcal{L}_i\rVert_F} + \frac{\sigma_{\mathrm{DP}}}{B}N(0,I_l) \tag*{(6)}

where DD is the number of layers. We focus on this type of method for two reasons: (I) automatic clipping avoids hyperparameter tuning for the per-sample clipping threshold, and (II) we choose layer-wise clipping [29] because μ\muP requires a layer-wise analysis, and because layer-wise clipping is the most efficient and scalable clipping style in distributed training [4, 7]. To summarize, the pre-conditioned and privatized gradient is gl=g(pl)g_l = g(p_l) for any optimizer gg, which has the same level of DP guarantee by the post-processing property of DP.

P for DP optimizers

In this section, we analyze the spectral scaling properties of DP optimizers to address the unique challenges introduced by the privacy mechanism. We demonstrate that the interaction between clipping and noise invalidates standard μ\muP transfer rules, necessitating a rigorous derivation of clipping thresholds and noise levels that satisfy a specific SNR constraint. Ultimately, we establish that learning rate transfer under DP requires two conditions to hold simultaneously: the μ\muP spectral condition, which keeps the update at the feature-learning scale, and the layer-wise SNR condition, which keeps the share of signal in that update consistent across widths. The SNR condition is necessary, and together with the spectral condition it is sufficient (Proposition 3.6). Our analysis relies on the following fact and assumption.

Fact 3.1 (Norm equivalence for per-sample gradient). ∥∇WlLi∥∗=∥∇WlLi∥F\lVert\nabla_{W_l}\mathcal{L}_i\rVert_* = \lVert\nabla_{W_l}\mathcal{L}_i\rVert_F. Since the gradient is computed on a per-sample basis (equivalent to B=1B=1), it is a rank-1 matrix.

Assumption 3.2. ∥1B∑i=1Bg(pi)∥∗=Θ(1B∑i=1B∥g(pi)∥∗)\left\lVert\frac{1}{B}\sum_{i=1}^{B} g(p_i)\right\rVert_* = \Theta\left(\frac{1}{B}\sum_{i=1}^{B}\lVert g(p_i)\rVert_*\right). This geometric alignment assumption for gradients within a mini-batch is widely used for analyzing large-batch training [48, 39]. We emphasize that this assumption is practical, with empirical validation provided in Appendix § 8.

Standard Optimizers with Per-Sample Gradient Clipping

Begin with analyzing DP optimizers without noise, which effectively reduces to standard optimizers with per-sample gradient clipping, we isolate the scaling behavior induced by clipping.

Proposition 3.3. The spectral norms of the clipped gradient updates g(pl)g(p_l) under different optimizers satisfy:

∥g(pl)∥∗={Θ(1),SGD/Muon,Θ(nlnl−1),Adam.(7)\lVert g(p_l)\rVert_* = \begin{cases} \Theta(1), & SGD / Muon,\\ \Theta\left(\sqrt{n_l n_{l-1}}\right), & Adam. \end{cases} \tag*{(7)}

Substituting these estimates into Lemma 2.1 yields the scaling rules listed in the second column of Table 1. We empirically validate these derivations in Figure 2a, which demonstrates successful learning rate transfer across model widths.

Comparison of clipping-only and noisy norm scaling across optimizers

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

For input layer, the feature norm follows ∥a1∥=Θ(∥W1∥∗⋅∥x∥)\lVert a_1\rVert= \Theta(\lVert W_1\rVert_* \cdot\lVert x\rVert). This behavior depends on the data norm ∥x∥\lVert x\rVert, distinguishing from hidden layers where scaling is governed solely by the width of the preceding layer. We provide a detailed derivation of this boundary condition in Appendix § 7.§ 4.

Remark 3.4. For non-noisy optimizers, the spectral condition in Lemma 2.1 is necessary and sufficient for transfer. Fundamentally, μ\muP operates by scaling gradient updates to preserve feature learning as width increases. Gradient clipping operates as a scaling adjustment and thus remains within the μ\muP framework. Therefore, standard μ\muP guarantees apply directly provided feature learning holds.

DP Optimizers with Per-Sample Gradient Clipping and Noise

However, the spectral condition in Lemma 2.1 alone is insufficient for DP optimizers. In the privacy-preserving setting, the total update norm is often dominated by the injected noise rather than the signal. Scaling rules derived solely from the total spectral norm fail to preserve the feature learning dynamics, causing loss curves diverge significantly across widths (Figure 2b). We formally characterize this insufficiency in the following Lemma 3.5.

Lemma 3.5 (Spectral condition is insufficient for DP optimizers). In the noise-dominated regime of SGD, the signal update vanishes as width increases.

Proof. Let the signal sls_l and noise ξl\xi_l be defined as:

sl=1B∑i=1B∇WlLiD∥∇WlLi∥F,ξl∼σDPBN(0,Inl×nl−1)s_l = \frac{1}{B}\sum_{i=1}^{B}\frac{\nabla_{W_l}\mathcal{L}_i}{\sqrt{D}\lVert\nabla_{W_l}\mathcal{L}_i\rVert_F}, \qquad\xi_l \sim\frac{\sigma_{\mathrm{DP}}}{B}\mathcal{N}\left(0,I_{n_l\times n_{l-1}}\right)

Consider the noise-dominated regime, where the spectral norm of the update is dominated by the random matrix contribution. Using standard random matrix theory results, we have:

∥sl+ξl∥∗=Θ(∥ξl∥∗)=Θ(σDPB(nl+nl−1)).\lVert s_l+\xi_l\rVert_* = \Theta\left(\lVert\xi_l\rVert_*\right) = \Theta\left(\frac{\sigma_{\mathrm{DP}}}{B}\left(\sqrt{n_l}+\sqrt{n_{l-1}}\right)\right).

The first equality holds as ∥sl∥∗=Θ(1)\lVert s_l\rVert_*=\Theta(1) due to automatic clipping, which remains non-vanishing even when iterates near stationary. After applying the scaling suggested in Lemma 2.1, the effective update to the weight matrix WlW_l with respect to the signal scales as:

∥ηlsl∥∗=Θ(nlnl−1∥sl∥∗∥ξl∥∗)=Θ(nl/nl−1nl+nl−1).\lVert\eta_l s_l\rVert_* = \Theta\left(\sqrt{\frac{n_l}{n_{l-1}}}\frac{\lVert s_l\rVert_*}{\lVert\xi_l\rVert_*}\right) = \Theta\left(\frac{\sqrt{n_l/n_{l-1}}}{\sqrt{n_l}+\sqrt{n_{l-1}}}\right).

This scales as Θ(1/n)\Theta(1/\sqrt{n}), which implies that the signal contribution vanishes as the width increases, thereby violating the feature learning scales required for transfer.

Next, we introduce Proposition 3.6, which establishes a layer-wise SNR condition for hyperparameter transfer under DP. We show that this condition is necessary for transfer, and that it is also sufficient when combined with the layer-wise learning rate of Lemma 2.1. To satisfy this condition at every layer, we replace the global clipping coefficient with a layer-dependent one, parametrized by DlD_l.

Proposition 3.6 (SNR condition is necessary and sufficient for DP optimizers). We define the spectral noise-to-signal ratio C(⋅)C(\cdot) for the ll-th layer as a function of the noise multiplier σ\sigma, clipping coefficient 1/Dl1/\sqrt{D_l}, and layer widths:

∥ξl∥∗∥sl∥∗≃σDlB(nl+nl−1):=C(σ,Dl,nl,nl−1).\frac{\lVert\xi_l\rVert_*}{\lVert s_l\rVert_*} \simeq\frac{\sigma\sqrt{D_l}}{B}\left(\sqrt{n_l}+\sqrt{n_{l-1}}\right) := C(\sigma,D_l,n_l,n_{l-1}).

Let cltargetc_l^{\mathrm{target}} denote this value calculated using the target model’s configuration (σtarget,Dltarget,nltarget)(\sigma^{\mathrm{target}},D_l^{\mathrm{target}},n_l^{\mathrm{target}}), and clproxyc_l^{\mathrm{proxy}} denote the corresponding value for the proxy model (σproxy,Dlproxy,nlproxy)(\sigma^{\mathrm{proxy}},D_l^{\mathrm{proxy}},n_l^{\mathrm{proxy}}). In the noise-dominated regime, hyperparameters tuned on the proxy transfer to the target if and only if

clproxy=cltarget,∀l∈{1,…,L}.c_l^{\mathrm{proxy}} = c_l^{\mathrm{target}}, \qquad\forall l \in\{1,\ldots,L\}.

This equality implies that the effective noise intensity relative to the signal is preserved layer-wise, independent of the model scale.

Proof. We first show sufficiency: under the SNR condition defined in Proposition 3.6, the effective signal contribution to the weight update remains independent of the variable width nln_l, thus enabling hyperparameter transfer.

Consider the normalized update step used in μ\muP within the noise-dominated regime. The update direction is normalized by the spectral norm of the total gradient estimate:

ΔWnorm=sl+ξl∥sl+ξl∥∗≃sl+ξl∥ξl∥∗.\Delta W_{\mathrm{norm}} = \frac{s_l+\xi_l}{\lVert s_l+\xi_l\rVert_*} \simeq\frac{s_l+\xi_l}{\lVert\xi_l\rVert_*}.

This approximation follows directly from the triangle inequality, as the spectral norm of the noise significantly exceeds that of the signal (i.e., ∥ξl∥∗≫∥sl∥∗\lVert\xi_l\rVert_* \gg\lVert s_l\rVert_*). Consequently, the effective contribution of the signal component to this update is ΔWsignal≃sl∥ξl∥∗\Delta W_{\mathrm{signal}} \simeq\frac{s_l}{\lVert\xi_l\rVert_*}. Applying the SNR condition established in Proposition 3.6 and substituting it into the expression for the signal component:

∥ΔWsignal∥∗≃∥sl∥∗clproxy⋅∥sl∥∗=1clproxy=1cltarget.\lVert\Delta W_{\mathrm{signal}}\rVert_* \simeq\frac{\lVert s_l\rVert_*}{c_l^{\mathrm{proxy}}\cdot\lVert s_l\rVert_*} = \frac{1}{c_l^{\mathrm{proxy}}} = \frac{1}{c_l^{\mathrm{target}}}.

Since cltargetc_l^{\mathrm{target}} is a constant determined solely by the fixed target architecture, the effective signal strength is invariant to the proxy width. This ensures that the feature learning signal is preserved at a consistent scale relative to the target model, allowing hyperparameters tuned on small proxies to be directly transferred.

We next show necessity. Under DP, the noise sets the scale of the update and the signal drives feature learning, so transfer requires both to match across the two models. The learning rate ηl\eta_l scales the signal and the noise by the same factor, so their ratio clc_l does not depend on ηl\eta_l. Therefore, if clproxy≠cltargetc_l^{\mathrm{proxy}} \ne c_l^{\mathrm{target}}, no learning rate can match the noise scale and the signal scale simultaneously, and hyperparameter transfer fails.

Remark 3.7. For batch size transfer, we can treat the ratio σDPB\frac{\sigma^{\mathrm{DP}}}{B} as a unified term. This simplifies the derivation of scaling laws, as the effective noise level remains invariant relative to the signal.

Layer-wise Clipping Parameter

Since the input dimension n0n_0 (e.g., embedding size) and output dimension nLn_L (determined by the specific task) are typically fixed, the model widths at the boundaries do not scale proportionally with the hidden layers. Consequently, we cannot rely solely on noise scaling to match the SNR at the input and output layers.

To address this, given a target privacy noise level σ\sigma, we treat the layer-wise clipping coefficient as the adjustable parameter to satisfy the SNR condition in the proxy model (characterized by noise σ′\sigma'). Let DlD_l and Dl′D'_l denote the clipping parameters for the target and proxy models, respectively. We obtain the following system of constraints, which determines the optimal layer-wise parameters:

{(σ′σ)2Dl′Dl=(nl−1+nlnl−1′+nl′)2≔fl,l∈{1,…,L},∑l=1L1Dl=∑l=1L1Dl′=1,(8)\begin{cases} \left(\dfrac{\sigma'}{\sigma}\right)^2 \dfrac{D'_l}{D_l} = \left(\dfrac{\sqrt{n_{l-1}}+\sqrt{n_l}}{\sqrt{n'_{l-1}}+\sqrt{n'_l}}\right)^2 \coloneqq f_l,\quad l\in\{1,\ldots,L\},\\ \sum_{l=1}^{L}\dfrac{1}{D_l}=\sum_{l=1}^{L}\dfrac{1}{D'_l}=1, \tag*{(8)} \end{cases}

The rescaled parameters (σ′,Dl′)(\sigma',D'_l) admit the closed-form solution σ′=σ/∑l=1L1Dlfl\sigma'=\sigma/\sqrt{\sum_{l=1}^{L}\frac{1}{D_lf_l}}, Dl′=Dlfl⋅∑t=1L1DtftD'_l=D_lf_l\cdot\sum_{t=1}^{L}\frac{1}{D_tf_t}. (8) enforces layer-wise SNR alignment, ensuring that the proxy model effectively mimics the optimization dynamics of the target model despite the difference in width. The LayerNorm operation in Transformers differs from standard linear layers, we present the detailed derivations in Appendix A.6.

In practice, DP-μ\muP proceeds as follows. We first calibrate the noise multiplier of the target model with the privacy accountant and adopt uniform clipping on the proxy. Solving equation (8) then gives the noise multiplier of the proxy and the layer-wise clipping parameters of the target. Finally, we grid search the learning rate on the proxy and map it to the layer-wise learning rates of the target through Lemma 2.1. Appendix C.6 presents this procedure step by step with a worked example.

Experiments

In this section, we evaluate the effectiveness of DP-μ\muP in two key aspects: (i) enabling robust hyperparameter transfer across model scales, including variations in width and batch size; and (ii) achieving comparable or superior performance under differential privacy constraints. Following the μ\muP literature, we compare training loss across widths in the main text, and report multi-seed results on the final test accuracy in Appendix C.4.

Our experiments cover two primary settings: (i) image classification, focusing on scale transfer and gradient coordinate analysis, and (ii) text generation. We compare our approach against standard parametrization (SP) using multiple optimizers (SGD, Adam, and Muon). Unless otherwise specified, all differentially private experiments use a fixed privacy budget of ϵ=2\epsilon=2 and δ=10−5\delta=10^{-5}. Following common practice [12, 49], this budget covers the training of the target model and excludes the privacy cost of the learning rate search on the proxy. DP-μ\muP therefore assumes that the proxy learning rate is either selected privately [30, 31] or obtained from public data [17, 32]; Appendix C.7 gives the end-to-end accounting and shows that the search adds little privacy cost.

Furthermore, all experiments were conducted using a single NVIDIA A100 GPU. This comprehensive setup allows us to assess both the robustness and generality of DP-μ\muP across diverse architectures, tasks, and optimization landscapes.

Image Classification Pretraining

We begin with experiments on CIFAR-10 to evaluate DP-μ\muP in a controlled setting, focusing on both hyperparameter transfer and optimization performance. Our evaluation spans hyperparameter transfer across width using a 5-layer MLP and Vision Transformer (ViT), complemented by a coordinate-wise gradient analysis under different optimizers.

Figure 3 illustrates the training loss of a 5-layer MLP on CIFAR-10 over 10 epochs. We display the SGD and Muon results here as representative examples, and defer the results for Adam to

Figure 3. Comparison between SP and μ\muP (SGD). We adjust the clipping coefficient and noise to satisfy the SNR condition while keeping the input dimension fixed.

Appendix C.1. Across all optimizers, μ\muP consistently yields more stable training dynamics and lower final loss compared to standard parametrization (SP).

Regarding the input and output layers in the Muon optimizer, we deviate from the original implementation, which typically employs Adam updates. Instead, we apply either Muon or SGD updates. This modification is necessary because the standard Adam update fails to exhibit hyperparameter transfer in this context, even in non-private settings. Figure 4 compares these two choices in both the non-private and the DP setting. For the non-private results, we report test loss instead of training loss, because Muon overfits significantly in the non-private regime.

Figure 4. Comparison between Muon and SGD-Muon. We evaluate different update rules (Muon vs. SGD) for the Input and Output layers under the μ\muP scaling conditions. The left two panels show the non-private setting (test loss), and the right two panels show the DP setting (training loss).

Figure 5 displays the pretraining loss curves for ViT models of increasing width on CIFAR-100, with corresponding results for CIFAR-10 deferred to Appendix § 9.§ 3. Across all widths, μ\muP enables effective hyperparameter transfer, allowing larger models to be trained using the same learning rate as smaller ones in the DP setting. Furthermore, larger ViTs consistently achieve lower training loss, provided the SNR condition is satisfied.

Figure 5. DP-μ\muP ViT on CIFAR-100. For Muon, the input and output layers are updated using SGD.

We also extend our evaluation to batch size transferability. In this setting, we fix the model width and scale the noise multiplier σ\sigma proportionally to the batch size. Crucially, to ensure a rigorous comparison of optimization trajectories, we fix the total number of update steps (iterations) across all runs, rather than the number of epochs. The detailed results confirming robust transfer under these conditions are provided in Section C.2.

Coordinate Check

While the theoretical foundations of DP-μ\muP are well-established, practical implementation remains error-prone. To support correctness, we adopt the coordinate checking procedure introduced by [44]. As illustrated in Figure 6 and Figure 7, we track the l1l_1 norm of feature activations for specific coordinates over the initial training steps, sweeping model width across a broad range. A correct μ\muP implementation preserves the scale of these activations across varying widths. For comparison, coordinate check results for standard parametrization (SP) are provided in Appendix § 9.§ 5, where activation norms typically explode as width increases.

Coordinate check for MLP (DP-$\mu$P)

Figure 6. Coordinate check for MLP (DP-μ\muP). The evolution of activation l1l_1 norms across different widths shows consistent scaling, confirming correct implementation.

Coordinate check for ViT (DP-$\mu$P)

Figure 7. Coordinate check for ViT (DP-μ\muP). Similar to the MLP case, the Vision Transformer maintains stable activation scales across varying widths.

Text Generation Pretraining

To validate our approach on generative tasks, we conduct pretraining experiments using the GPT-2 architecture on the Shakespeare Character dataset. Our target configuration is a GPT-2 Large model (36 layers, 20 heads, dmodel=1280d_{\mathrm{model}} = 1280) with 787.8M parameters. To maximize search efficiency, we determine the optimal learning rate on a small proxy model (5 heads, dmodel=320d_{\mathrm{model}} = 320, 76.0M parameters), which yields a 90.35% reduction in theoretical computational cost. Empirically, on a single NVIDIA A100 GPU, this reduces the wall-clock execution time per training run from approximately 30 minutes to 11 minutes. Additionally, we evaluate an intermediate model (10 heads, 227.3M parameters) to corroborate the consistency of the loss landscape across widths. As shown in Figure 8, the training loss curves exhibit remarkably consistent patterns across all three model scales for each learning rate, demonstrating successful zero-shot hyperparameter transfer.

GPT-2 pretraining loss curves for three model widths

Figure 8. GPT-2 Pretraining with DP-μ\muP on Shakespeare Character-Level Task. Loss curves across varying widths (controlled by head counts) exhibit consistent ranking and dynamics. This consistency indicates that the optimal learning rate remains invariant across model sizes, demonstrating successful hyperparameter transfer.

Discussion

Maximal update parametrization (μ\muP) has inspired numerous extensions across various architectures and training regimes [2, 46, 51]. Our work introduces DP-μ\muP, a theoretically grounded and empirically validated framework for hyperparameter transfer in differentially private deep learning. By bridging the gap between μ\muP and differential privacy, we resolve the tension between gradient clipping and feature scaling. Specifically, our derivation of layer-wise learning rate scaling rules ensures that the Signal-to-Noise Ratio (SNR) remains consistent across model scales, a critical requirement often overlooked in standard DP optimization.

Empirically, we validate this theoretical framework across diverse settings, including MLP, ViT, and GPT-2 architectures. Our results demonstrate that optimal hyperparameters (e.g., learning rate and clipping threshold) identified on small, inexpensive proxy models transfer zero-shot to large-scale targets. This capability provides a critical alternative to established DP hyperparameter tuning strategies [12, 31], which typically require repeated search iterations or rely heavily on auxiliary public datasets, thereby drastically reducing the computational costs.

Limitations and Future Work

While our work establishes robust scaling laws for width and batch size across MLPs, ViTs, and GPT-style transformers, we do not currently address depth scaling. Extending our framework to deeper networks presents a fundamental challenge, as the accumulation of privacy noise across successive layers naturally tends to violate the layer-wise SNR condition required for stable learning. Future work is needed to either derive a depth-scaling mechanism that preserves this SNR or to rigorously establish a theoretical impossibility result.

Finally, our current analysis operates under a noise-dominant regime, an assumption that holds in typical differentially private training where gradient clipping and noise injection often overwhelm the signal. With extremely large batch sizes, such as those used in large-scale private pretraining [36], the noise-to-signal ratio becomes small and the scaling reduces to the clipping-only rules in Table 1. A valuable direction for future research would be to extend this analysis to the transition regime, where signal and noise magnitudes are comparable, to understand if the scaling laws require adjustment when the privacy constraint is relaxed.

Mathematical Derivations

Handling Bias and Nonlinearities

To justify the simplification in the main text, we analyze the magnitude of the bias terms and the effect of nonlinear activation functions. We show that they do not alter the order of magnitude of the hidden states or gradients with respect to the width nn.

Bias Terms.

Let bl∈Rnl\mathbf{b}_l \in\mathbb{R}^{n_l} be the bias vector at layer ll. The pre-activation is given by al=al−1Wl+bl\mathbf{a}_l = \mathbf{a}_{l-1}W_l + \mathbf{b}_l. following the perspective in modern parametrization literature [45], we view the bias vector as a weight matrix bl∈Rnl×1\mathbf{b}_l \in\mathbb{R}^{n_l \times1} connecting an auxiliary layer with width 1 and a constant output of 1 to the ll-th hidden layer.

This unification allows us to apply our spectral scaling analysis directly to the bias bl\mathbf{b}_l. A key property utilized here is that for any vector v\mathbf{v}, its spectral norm is equivalent to its Euclidean norm:

∥bl∥∗=∥bl∥2(9)\|\mathbf{b}_l\|_* = \|\mathbf{b}_l\|_2 \tag*{(9)}

Under the spectral scaling condition, treating bl\mathbf{b}_l as a weight matrix prescribes ∥bl∥2=Θ(nl)\|\mathbf{b}_l\|_2 = \Theta(\sqrt{n_l}). Furthermore, this formulation naturally accommodates the SNR condition under layer-wise clipping, where the weight matrix and bias share the same clipping coefficient and noise scale. Assuming proportional width scaling where the aspect ratio between layers is preserved (i.e., nl−1/nl−1′=nl/nl′n_{l-1}/n'_{l-1} = n_l/n'_l), the scaling factor simplifies as follows:

σ′σDl′Dl=nl−1+nlnl−1′+nl′=nlnl′(10)\frac{\sigma'}{\sigma}\sqrt{\frac{D'_l}{D_l}} = \frac{\sqrt{n_{l-1}}+\sqrt{n_l}}{\sqrt{n'_{l-1}}+\sqrt{n'_l}} = \frac{\sqrt{n_l}}{\sqrt{n'_l}} \tag*{(10)}

The last equality holds because the term (nl−1/nl+1)(\sqrt{n_{l-1}/n_l} + 1) factors out from both the numerator and the denominator.

Nonlinear Activations

Following the analysis in prior literature [45], we adopt the assumption that the activation function ϕ(⋅)\phi(\cdot) preserves the order of the signal magnitude:

∥ϕ(al)∥2=Θ(∥al∥2)(11)\|\phi(\mathbf{a}_l)\|_2 = \Theta(\|\mathbf{a}_l\|_2) \tag*{(11)}

This assumption is justified by the design of standard activation functions (e.g., ReLU, GELU), which are constructed to take order-one inputs and yield outputs that neither explode nor uniformly vanish. Consequently, the introduction of nonlinearity does not alter the asymptotic scaling of the network width, allowing our spectral analysis to proceed effectively under the linear approximation.

Proof of Lemma 2.1

Lemma A.1. For any optimizer gradient update gl\mathbf{g}_l, satisfying the spectral scaling condition for feature learning is equivalent to setting the layer-wise learning rate ηl\eta_l as:

ηl=Θ(nl/nl−1∥gl∥∗).(12)\eta_l = \Theta\left(\frac{\sqrt{n_l/n_{l-1}}}{\|\mathbf{g}_l\|_*}\right). \tag*{(12)}

In this section, we provide a simplified proof of Lemma A.1 (referenced as Lemma 2.1 in the main text) to illustrate the core mechanism. For the complete rigorous derivation and additional theoretical details, we refer readers to [45].

Definition A.2 (Desideratum 1 in [45]). Let al(x)∈Rnl\mathbf{a}_l(x) \in\mathbb{R}^{n_l} denote the features of input xx at layer ll of a neural network, and let Δal(x)∈Rnl\Delta\mathbf{a}_l(x) \in\mathbb{R}^{n_l} denote their change after a gradient step. We desire that:

∥al∥2=Θ(nl)and∥Δal∥2=Θ(nl),(13)\|\mathbf{a}_l\|_2 = \Theta(\sqrt{n_l}) \quad\text{and} \quad\|\Delta\mathbf{a}_l\|_2 = \Theta(\sqrt{n_l}), \tag*{(13)}

for layers l=1,…,L−1l = 1,\ldots,L-1.

Proof. Recall that the weight update at step tt is given by ΔWl=−ηl⋅gl\Delta W_l=-\eta_l\cdot g_l. Taking the spectral norm of both sides, we have:

∥ΔWl∥∗=ηl∥gl∥∗.(14)\|\Delta W_l\|_*=\eta_l\|g_l\|_*. \tag*{(14)}

To ensure feature learning in the limit of infinite width, the spectral scaling condition requires the weight update to scale as:

∥ΔWl∥∗=Θ(nlnl−1).(15)\|\Delta W_l\|_*=\Theta\left(\sqrt{\frac{n_l}{n_{l-1}}}\right). \tag*{(15)}

This requirement stems from the property that the change in output activations satisfies ∥Δal∥2≍∥ΔWl∥∗⋅∥al−1∥2\|\Delta a_l\|_2\asymp\|\Delta W_l\|_*\cdot\|a_{l-1}\|_2 when the input al−1a_{l-1} aligns with the top singular vector of the weight update ΔWl\Delta W_l. Since ∥al−1∥2=Θ(nl−1)\|a_{l-1}\|_2=\Theta(\sqrt{n_{l-1}}), ensuring ∥ΔWl∥∗=Θ(nl/nl−1)\|\Delta W_l\|_*=\Theta(\sqrt{n_l/n_{l-1}}) guarantees that the feature updates scale comparably to the activations themselves (∥Δal∥2=Θ(nl)\|\Delta a_l\|_2=\Theta(\sqrt{n_l})), enabling stable feature learning.

Substituting this condition into the update equation, we solve for ηl\eta_l:

ηl∥gl∥∗=Θ(nlnl−1)⟹ηl=Θ(nl/nl−1∥gl∥∗).(16)\eta_l\|g_l\|_*=\Theta\left(\sqrt{\frac{n_l}{n_{l-1}}}\right)\Longrightarrow\eta_l=\Theta\left(\frac{\sqrt{n_l/n_{l-1}}}{\|g_l\|_*}\right). \tag*{(16)}

This completes the proof.

Derivation of Layer-wise Learning Rate Scaling Rules

We derive the optimal layer-wise learning rates ηl\eta_l by ensuring that the spectral norm of the weight update satisfies the Feature Learning condition:

∥ΔWl∥∗=Θ(nlnl−1).(17)\|\Delta W_l\|_*=\Theta\left(\sqrt{\frac{n_l}{n_{l-1}}}\right). \tag*{(17)}

First, we recall the assumptions and algebraic facts used in our derivations.

Fact A.3. For rank-1 matrices (such as per-sample gradients in standard networks), the spectral norm is equal to the Frobenius norm: ∥∇WlLi∥∗=∥∇WlLi∥F\|\nabla_{W_l}\mathcal{L}_i\|_*=\|\nabla_{W_l}\mathcal{L}_i\|_F.

Assumption A.4. We assume that the per-sample gradients are sufficiently aligned across the batch, such that the spectral norm of the sum scales with the sum of the spectral norms:

∥1B∑i=1Bg(pi)∥∗=Θ(1B∑i=1B∥g(pi)∥∗).(18)\left\|\frac{1}{B}\sum_{i=1}^{B}g(p_i)\right\|_*=\Theta\left(\frac{1}{B}\sum_{i=1}^{B}\|g(p_i)\|_*\right). \tag*{(18)}

Fact A.5. The sign operator preserves the rank-1 structure for outer products: sign⁡(uv⊤)=sign⁡(u)sign⁡(v)⊤\operatorname{sign}(uv^\top)=\operatorname{sign}(u)\operatorname{sign}(v)^\top. Consequently, ∥sign⁡(uv⊤)∥∗=∥sign⁡(uv⊤)∥F=Θ(nlnl−1)\|\operatorname{sign}(uv^\top)\|_*=\|\operatorname{sign}(uv^\top)\|_F=\Theta(\sqrt{n_l n_{l-1}}).

Non-Private Case (Standard μ\muP)

In the standard non-private setting, we derive the scaling of the gradient spectral norms for SGD and Adam.

SGD: Using the definition of the update and applying our alignment assumption:

∥g(pl)∥∗=∥1B∑i=1B∇WlLi∥∗=(A.2)Θ(1B∑i=1B∥∇WlLi∥∗)=(A.1)Θ(1B∑i=1Bnl−1nl)=Θ(nl−1nl).(19)\lVert g(p_l)\rVert_* = \left\lVert\frac{1}{B}\sum_{i=1}^{B}\nabla W_l\mathcal{L}_i\right\rVert_* \mathrel{\overset{\mathrm{(A.2)}}{=}} \Theta\left(\frac{1}{B}\sum_{i=1}^{B}\lVert\nabla W_l\mathcal{L}_i\rVert_*\right) \mathrel{\overset{\mathrm{(A.1)}}{=}} \Theta\left(\frac{1}{B}\sum_{i=1}^{B}\sqrt{\frac{n_{l-1}}{n_l}}\right) = \Theta\left(\sqrt{\frac{n_{l-1}}{n_l}}\right). \tag*{(19)}

SignSGD / Adam: For sign-based optimizers, the update magnitude depends on the full dimension of the matrix due to the element-wise operation:

∥g(pl)∥∗=∥1B∑i=1Bsign⁡(∇WlLi)∥∗=(A.2)Θ(1B∑i=1B∥sign⁡(∇WlLi)∥∗)=(A.3)Θ(1B∑i=1B∥sign⁡(∇WlLi)∥F)=Θ(1B∑i=1Bnl−1nl)=Θ(nl−1nl).(20)\lVert g(p_l)\rVert_* = \left\lVert\frac{1}{B}\sum_{i=1}^{B}\operatorname{sign}(\nabla W_l\mathcal{L}_i)\right\rVert_* \mathrel{\overset{\mathrm{(A.2)}}{=}} \Theta\left(\frac{1}{B}\sum_{i=1}^{B}\lVert\operatorname{sign}(\nabla W_l\mathcal{L}_i)\rVert_*\right) \mathrel{\overset{\mathrm{(A.3)}}{=}} \Theta\left(\frac{1}{B}\sum_{i=1}^{B}\lVert\operatorname{sign}(\nabla W_l\mathcal{L}_i)\rVert_F\right) = \Theta\left(\frac{1}{B}\sum_{i=1}^{B}\sqrt{n_{l-1}n_l}\right) = \Theta\left(\sqrt{n_{l-1}n_l}\right). \tag*{(20)}

Muon: The Muon optimizer updates weights using an orthogonalized momentum. The update rule is defined as:

ΔWl=−ηl⋅g(pl):=−ηl⋅O(m(pl)),(21)\Delta W_l = -\eta_l \cdot g(p_l) := -\eta_l \cdot\mathcal{O}(m(p_l)), \tag*{(21)}

where m(pl)m(p_l) is the momentum accumulator for the gradient, and O(⋅)\mathcal{O}(\cdot) denotes the orthogonalization operator. This operator projects the momentum matrix onto the manifold of orthogonal matrices by solving the following optimization problem:

O(M)=argmin⁡U:U⊤U=I ∥M−U∥F.(22)\mathcal{O}(M) = \underset{U:U^{\top}U=I}{\operatorname{argmin}}\ \lVert M-U\rVert_F. \tag*{(22)}

The constraint U⊤U=IU^{\top}U=I explicitly controls the spectral properties of the update. By definition, any matrix UU satisfying this constraint has all singular values equal to 1. Consequently, the spectral norm of the update direction is invariant to the choice of momentum or the presence of privacy noise:

∥g(pl)∥∗≡∥O(m(pl))∥∗=1=Θ(1).(23)\lVert g(p_l)\rVert_* \equiv\lVert\mathcal{O}(m(p_l))\rVert_* = 1 = \Theta(1). \tag*{(23)}

To satisfy the feature learning condition ∥ΔWl∥∗=Θ(nl/nl−1)\lVert\Delta W_l\rVert_* = \Theta(\sqrt{n_l/n_{l-1}}), we apply the relationship ηl=∥ΔWl∥∗/∥g(pl)∥∗\eta_l = \lVert\Delta W_l\rVert_*/\lVert g(p_l)\rVert_* using the spectral norms derived above. These scaling rules correspond directly to the first column of Table 2.

OptimizerNon-PrivateClipping OnlyDifferentially Private (DP)
SGDnlnl−1\frac{n_l}{n_{l-1}}nlnl−1\sqrt{\frac{n_l}{n_{l-1}}}nl/nl−1σDPB(nl+nl−1)\frac{\sqrt{n_l/n_{l-1}}}{\frac{\sigma_{\mathrm{DP}}}{B}\left(\sqrt{n_l}+\sqrt{n_{l-1}}\right)}
Adam1nl−1\frac{1}{n_{l-1}}1nl−1\frac{1}{n_{l-1}}nl/nl−1nl+nl−1\frac{\sqrt{n_l/n_{l-1}}}{\sqrt{n_l}+\sqrt{n_{l-1}}}
Muonnlnl−1\sqrt{\frac{n_l}{n_{l-1}}}nlnl−1\sqrt{\frac{n_l}{n_{l-1}}}nlnl−1\sqrt{\frac{n_l}{n_{l-1}}}

Table 2. Summary of layer-wise learning rate scaling rules for μ\muP under different privacy settings. This table restates Table 1 so that the derivation in this section can be read on its own.

Clipping-Only Case

In this regime, we assume per-sample gradient clipping is active, but noise injection is negligible. The pre-conditioned gradient is defined as g(pl)g(p_l).

Note that for SignSGD/Adam and Muon, the clipping operation (which scales the gradient by a scalar) does not fundamentally alter the rank or the spectral properties of the update matrix; thus, their scaling orders remain unchanged compared to the non-private setting. However, for SGD, the normalization by the Frobenius norm significantly alters the scaling behavior, as derived below.

SGD: The update is defined as the average of clipped per-sample gradients. By invoking the sufficient alignment assumption (Assumption A.4), we derive:

∥g(pl)∥∗=∥1B∑i=1B∇WlLiD∥∇WlLi∥F∥∗=(A.2)Θ(1B∑i=1B∥∇WlLi∥∗D∥∇WlLi∥F)=(A.1)Θ(1B∑i=1B1D)=Θ(1),\lVert g(p_l)\rVert_* = \left\lVert\frac{1}{B}\sum_{i=1}^{B}\frac{\nabla W_l\mathcal{L}_i}{\sqrt{D}\lVert\nabla W_l\mathcal{L}_i\rVert_F}\right\rVert_* \mathrel{\overset{\mathrm{(A.2)}}{=}} \Theta\left(\frac{1}{B}\sum_{i=1}^{B}\frac{\lVert\nabla W_l\mathcal{L}_i\rVert_*}{\sqrt{D}\lVert\nabla W_l\mathcal{L}_i\rVert_F}\right) \mathrel{\overset{\mathrm{(A.1)}}{=}} \Theta\left(\frac{1}{B}\sum_{i=1}^{B}\frac{1}{\sqrt{D}}\right) = \Theta(1),

where DD denotes the number of layers, which is independent of the model width.

Differentially Private Case (Noise-Dominated)

In the DP setting, the update is dominated by the injected Gaussian noise ξ∼N(0,Inl×nl−1)\xi\sim\mathcal{N}(0, I_{n_l \times n_{l-1}}). We utilize the result from Random Matrix Theory that the spectral norm of a random Gaussian matrix of size nl×nl−1n_l \times n_{l-1} scales as nl+nl−1\sqrt{n_l} + \sqrt{n_{l-1}}.

DP-SGD: The gradient is dominated by noise scaled by σDPB\frac{\sigma_{\mathrm{DP}}}{B}:

∥g(pl)∥∗≍∥σDPBξ∥∗=Θ(σDPB(nl+nl−1)).(24)\lVert g(p_l) \rVert_* \asymp\left\lVert\frac{\sigma_{\mathrm{DP}}}{B}\xi\right\rVert_* = \Theta\left(\frac{\sigma_{\mathrm{DP}}}{B}\left(\sqrt{n_l}+\sqrt{n_{l-1}}\right)\right). \tag*{(24)}

DP-Adam: In the noise-dominated regime, the update geometry of Adam is governed by the injected noise, and the spectral norm of the update direction scales as:

∥g(pl)∥∗=Θ(nl+nl−1).(25)\lVert g(p_l) \rVert_* = \Theta\left(\sqrt{n_l}+\sqrt{n_{l-1}}\right). \tag*{(25)}

This differs from the clipping-only case, where the norm scales as nlnl−1\sqrt{n_l n_{l-1}}, because the noise does not align across coordinates as the signal gradients do.

DP-Muon: As in the non-private case, the orthogonalization sets all singular values of the momentum to one, regardless of the privacy noise:

∥g(pl)∥∗=Θ(1).(26)\lVert g(p_l) \rVert_* = \Theta(1). \tag*{(26)}

In practice, Muon approximates O(⋅)\mathcal{O}(\cdot) with a few Newton–Schulz iterations, which act only on the singular values and bring them close to one, so the width dependence is unchanged.

Boundary Condition at the Input Layer

Unlike hidden layers, where the input signal strength depends on the width of the preceding layer nl−1n_{l-1}, the input layer receives fixed data samples x∈Rn0x \in\mathbb{R}^{n_0}. The feature norm at the first layer is bounded by:

∥a1∥≤∥Win∥∗⋅∥x∥.(27)\lVert a_1 \rVert\le\lVert W_{\mathrm{in}} \rVert_* \cdot\lVert x \rVert. \tag*{(27)}

Standard data preprocessing in deep learning (e.g., image whitening or standardization) typically ensures that input features have zero mean and unit variance per dimension. Consequently, the norm of the input vector scales with the square root of the input dimension:

E[∥x∥2]=∑j=1n0E[xj2]=n0⋅Θ(1)  ⟹  ∥x∥=Θ(n0).(28)\mathbb{E}[\lVert x \rVert^2] = \sum_{j=1}^{n_0} \mathbb{E}[x_j^2] = n_0 \cdot\Theta(1) \implies\lVert x \rVert= \Theta(\sqrt{n_0}). \tag*{(28)}

Given that n0n_0 is fixed for a specific task, we do not explicitly distinguish this scaling factor in our main notation. However, we note that if the data is standardized differently (e.g., non-unit variance), the learning rate scale for the input layer would need to be adjusted accordingly.

SNR for Layer Normalization Parameters

For the affine parameters in Layer Normalization (specifically the gain vector γ∈Rnl\gamma\in\mathbb{R}^{n_l}), the operation corresponds to element-wise multiplication. This is mathematically equivalent to matrix multiplication by a diagonal matrix WLnorm=diag⁡(γ)W_{\mathrm{Lnorm}} = \operatorname{diag}(\gamma), where WLnorm∈Rnl×nlW_{\mathrm{Lnorm}} \in\mathbb{R}^{n_l \times n_l}.

Consequently, the spectral norm of the LayerNorm gradient update matrix, denoted as g(pLnorm)g(p_{\mathrm{Lnorm}}), behaves differently from dense weight matrices. The spectral norm of a diagonal matrix is simply the maximum absolute value of its diagonal entries (the infinity norm of the vector):

∥g(pLnorm)∥∗=∥diag⁡(g(γ))∥∗=max⁡i∈{1,…,nl}∣g(γ)i∣.(29)\lVert g(p_{\mathrm{Lnorm}}) \rVert_* = \lVert\operatorname{diag}(g(\gamma)) \rVert_* = \max_{i \in\{1,\ldots,n_l\}} |g(\gamma)_i|. \tag*{(29)}

Unlike dense matrices where the spectral norm typically scales with nl\sqrt{n_l}, the scaling here is governed by Extreme Value Theory. Assuming the gradient entries (or the injected DP noise) are independent and identically distributed with sub-Gaussian tails, the expected maximum of nln_l variables scales logarithmically:

∥g(pLnorm)∥∗=Θ(ln⁡nl).(30)\lVert g(p_{\mathrm{Lnorm}}) \rVert_* = \Theta\left(\sqrt{\ln n_l}\right). \tag*{(30)}

To maintain the SNR condition, we require the effective noise magnitude to scale consistently. This implies the following relationship:

σDkBln⁡(nk)=σ′Dk′Bln⁡(nk′)⟺(σ′σ)2Dk′Dk=ln⁡(nk)ln⁡(nk′),∀k∈LLnorm.(31)\frac{\sigma\sqrt{D_k}}{B}\sqrt{\ln(n_k)} = \frac{\sigma'\sqrt{D'_k}}{B}\sqrt{\ln(n'_k)} \Longleftrightarrow\left(\frac{\sigma'}{\sigma}\right)^2\frac{D'_k}{D_k} = \frac{\ln(n_k)}{\ln(n'_k)}, \qquad\forall k \in\mathcal{L}_{\mathrm{Lnorm}}. \tag*{(31)}

Scaling Rules for Transformers with LayerNorm

In the main text, Equation (8) establishes the layer-wise constraints for standard linear networks. Here, we formally extend this system to Transformer architectures by explicitly accounting for normalization layers. Let Llinear\mathcal{L}_{\mathrm{linear}} denote the set of indices for standard linear layers, and Lnorm\mathcal{L}_{\mathrm{norm}} denote the set for normalization layers.

Remark A.6. Note that the operation of LayerNorm in Transformers is analogous to diagonal matrix multiplication. However, driven by extreme value theory, the spectral norm of its gradient scales with ln⁡n\sqrt{\ln n} rather than the n\sqrt{n} scaling observed in linear layers. Specifically, the expanded system of constraints is given by:

{(σ′σ)2Dl′Dl=(nin(l)+nout(l)nin(l′)+nout(l′))2,∀l∈Llinear,(σ′σ)2Dk′Dk=ln⁡(nk)ln⁡(nk′),∀k∈Lnorm,∑j∈Llinear∪Lnorm1Dj=∑j∈Llinear∪Lnorm1Dj′=1.(32)\begin{cases} \left(\frac{\sigma'}{\sigma}\right)^2\frac{D'_l}{D_l}=\left(\frac{\sqrt{n_{\mathrm{in}}^{(l)}}+\sqrt{n_{\mathrm{out}}^{(l)}}}{\sqrt{n_{\mathrm{in}}^{(l')}}+\sqrt{n_{\mathrm{out}}^{(l')}}}\right)^2, & \forall l\in\mathcal{L}_{\mathrm{linear}},\\ \left(\frac{\sigma'}{\sigma}\right)^2\frac{D'_k}{D_k}=\frac{\ln(n_k)}{\ln(n'_k)}, & \forall k\in\mathcal{L}_{\mathrm{norm}},\\ \sum_{j\in\mathcal{L}_{\mathrm{linear}}\cup\mathcal{L}_{\mathrm{norm}}}\frac{1}{D_j}=\sum_{j\in\mathcal{L}_{\mathrm{linear}}\cup\mathcal{L}_{\mathrm{norm}}}\frac{1}{D'_j}=1. \tag*{(32)} \end{cases}

Empirical Support for Assumption 3.2

In this section, we provide empirical validation for Assumption 3.2:

∥1B∑i=1Bg(pi)∥∗=Θ(1B∑i=1B∥g(pi)∥∗)\left\lVert\frac{1}{B}\sum_{i=1}^{B}g(p_i)\right\rVert_*=\Theta\left(\frac{1}{B}\sum_{i=1}^{B}\lVert g(p_i)\rVert_*\right)

We evaluate a 5-layer Multi-Layer Perceptron (MLP) trained with DP-SGD and DP-Adam. DP-Muon is omitted from this analysis, as its preconditioning operation inherently maps updates to matrices with a unit spectral norm. Throughout the experiments, we maintain a fixed noise multiplier σ\sigma and learning rate, while systematically varying the batch size B∈{125,250,500,1000}B\in\{125,250,500,1000\} and the network width ∈{256,512,1024}\in\{256,512,1024\}.

As established in our theoretical analysis, the spectral norm of the DP-SGD gradient scales as:

∥g(pl)∥∗∝σB(nl+nl−1)(33)\lVert g(p_l) \rVert_* \propto\frac{\sigma}{B}\left(\sqrt{n_l}+\sqrt{n_{l-1}}\right) \tag*{(33)}

where σ\sigma is the noise multiplier, BB is the batch size, and nl,nl−1n_l,n_{l-1} denote the input and output dimensions of layer ll, respectively. Table 3 empirically confirms this prediction: for a given layer and width (along each row), the spectral norm approximately halves as the batch size BB doubles, verifying the expected 1/B1/B dependence. Furthermore, across the three width configurations, the values grow proportionally to nl+nl−1\sqrt{n_l}+\sqrt{n_{l-1}}. Together, these observations strongly validate the predicted scaling behavior for DP-SGD. For DP-Adam, our analysis indicates that the spectral norm scales as:

width = 256width = 512width = 1024
BB =125250500100012525050010001252505001000
Input1.130.560.280.141.250.620.310.161.400.700.350.17
First Hidden0.510.250.130.060.720.360.180.091.030.510.260.13
Second Hidden0.500.250.130.060.720.360.180.091.010.510.260.13
Third Hidden0.510.250.130.070.720.360.180.091.020.510.250.13
Output0.300.160.080.040.390.200.100.060.560.280.140.07

Table 3. Empirical spectral norm of the mini-batch average gradients for DP-SGD across varying batch sizes and network widths.

∥g(pl)∥∗∝(nl+nl−1)(34)\lVert g(p_l) \rVert_* \propto\left(\sqrt{n_l}+\sqrt{n_{l-1}}\right) \tag*{(34)}

Table 4 corroborates this behavior. The empirical spectral norm remains remarkably stable across different batch sizes for any given layer and width combination, demonstrating its independence from BB. Simultaneously, it correctly scales proportionally to nl+nl−1\sqrt{n_l}+\sqrt{n_{l-1}} as the network width increases.

width = 256width = 512width = 1024
BB125250500100012525050010001252505001000
Input71.0571.3771.2270.8677.5177.7077.8577.5087.6587.4787.1486.90
First Hidden31.5231.4631.5731.5244.8644.5745.1544.9463.4563.4863.4463.71
Second Hidden30.7731.8032.0531.4345.2144.7944.6444.8164.0763.8163.8663.59
Third Hidden31.9631.8231.4131.5544.6644.7244.8244.9363.5263.7063.5563.93
Output18.6418.5218.0919.0024.6224.6024.7925.7234.2035.0434.2234.20

Table 4. Empirical spectral norm of the mini-batch average gradients for DP-Adam across varying batch sizes and network widths.

We further repeat the check for DP-Adam on a GPT-2 model trained on Shakespeare-char, varying the width in {320,640,1280}\{320, 640, 1280\} and the batch size B∈{64,128,256}B \in\{64, 128, 256\}. As shown in Table 5, the spectral norms are again independent of the batch size and grow with nl+nl−1\sqrt{n_l}+\sqrt{n_{l-1}}, confirming that the assumption also holds for Transformers. Moreover, DP-μ\muP does not require the alignment to hold exactly: the assumption enters our analysis only through the signal norm, so it suffices that the degree of alignment is comparable between the proxy and the target model.

width = 320width = 640width = 1280
BB641282566412825664128256
Block 5 QKV48.4348.3848.4068.5868.7068.9697.2997.6997.67
Block 5 FC153.0652.8753.7175.4575.8676.01107.15106.98107.16
Block 5 FC253.0553.7353.1075.6575.3675.57107.05107.52107.52
Block 10 QKV48.3948.3647.9969.2768.8568.8897.4697.6897.71
Block 10 FC153.1752.9153.0875.4475.9775.36107.36106.92106.91
Block 10 FC253.2753.2053.3675.6075.4475.58107.07106.94106.94
Head26.0525.5025.3232.7533.0133.2344.0943.0442.98

Table 5. Empirical spectral norm of the mini-batch average gradients for DP-Adam on GPT-2 across varying batch sizes and network widths.

Supplementary Experiments

Additional MLP Results for Adam

In this section, we provide the supplementary MLP experimental results referenced in the main text. Figure 9 illustrates the training loss of a 5-layer MLP on CIFAR-10 over 10 epochs across varying model widths. We compare SP and μ\muP with Adam under both non-private and differentially private settings.

Figure 9. Comparison between SP and μ\muP (Adam). Similar to SGD, we adjust the clipping coefficient and noise to satisfy the SNR condition.

Batch Size Transfer

In this section, we supplement our main analysis with batch size transfer experiments, as illustrated in Figure 10 and Figure 11. For a fixed model width, we adjust the noise multiplier σ\sigma proportionally to the batch size. Crucially, to ensure a valid comparison of optimization trajectories, we fix the total number of training iterations across settings rather than the number of epochs.

Figure 10. Batch size transfer of 5-layer MLP on CIFAR-10. We compare training loss across different batch sizes using SGD, Adam, and Muon optimizers. Curves align when plotted against iterations, confirming effective transfer.

Figure 11. Batch size transfer of ViT on CIFAR-10. Similar to the MLP results, the ViT loss curves align across different batch sizes when plotted against iterations, confirming effective transfer for the Transformer architecture.

The noise multiplier and the batch size enter the noise-to-signal ratio only through σ/B\sigma/B, so scaling them together leaves the SNR unchanged. Fixing the number of iterations also keeps the privacy budget approximately fixed as the batch size varies, since the sampling rate grows with BB at the same rate as σ\sigma. Hence the transfer applies to any batch size, once it is paired with the noise multiplier returned by the privacy accountant.

ViT Supplementary Results

In this section, we present supplementary evidence demonstrating the failure of Standard Parametrization (SP), alongside the results on CIFAR-10 for Vision Transformers (ViT). As shown in Figure 12, when trained with DP-SGD and DP-Adam, SP models fail to maintain consistent training dynamics across varying widths. In contrast, our DP-μ\muP approach (Figure 13) demonstrates perfect hyperparameter transfer.

Figure 12. Failure of Standard Parametrization (SP) on ViT. As model width increases, the training dynamics under SP become unstable or diverge, failing to exhibit the hyperparameter transfer seen in μP\mu P.

Figure 13. μP\mu P ViT on CIFAR-10. The optimizer configuration is SGD, Adam and Muon (with SGD boundary updates).

Final Utility and Robustness across Seeds

We examine whether transfer also holds for the final test accuracy, and whether it is robust to the randomness of the DP noise and the initialization. For the 5-layer MLP and the ViT on CIFAR-10, we grid search the learning rate at every width, select the one achieving the best test accuracy, and repeat each run over 5 seeds fixed in advance. All runs use (ϵ,δ)=(2,10−5)(\epsilon, \delta) = (2, 10^{-5}) for the target model, so the comparison is made at matched privacy. As shown in Table 6, the optimal learning rate under SP drifts with width, while under μP\mu P it stays nearly constant. At the largest width, μP\mu P reaches slightly higher test accuracy than SP tuned directly at that width, for both SGD and Adam. Table 7 shows the same stability for the ViT, and in both tables the optimal learning rate is stable across seeds. These optimal learning rates differ from those in the training-loss figures, since the learning rate minimizing training loss need not maximize test accuracy.

widthSP SGDμP\mu P SGDSP AdamμP\mu P AdamμP\mu P Muon
256−1.50±0.25-1.50 \pm0.25−3.55±0.21-3.55 \pm0.21−10.50±0.18-10.50 \pm0.18−9.75±0.18-9.75 \pm0.18−8.25±0.18-8.25 \pm0.18
512−1.70±0.27-1.70 \pm0.27−3.60±0.14-3.60 \pm0.14−10.90±0.29-10.90 \pm0.29−9.65±0.22-9.65 \pm0.22−8.75±0.31-8.75 \pm0.31
1024−2.25±0.25-2.25 \pm0.25−3.25±0.00-3.25 \pm0.00−11.10±0.22-11.10 \pm0.22−9.75±0.18-9.75 \pm0.18−8.55±0.11-8.55 \pm0.11
2048−2.85±0.14-2.85 \pm0.14−3.15±0.14-3.15 \pm0.14−11.55±0.21-11.55 \pm0.21−9.15±0.14-9.15 \pm0.14−8.75±0.25-8.75 \pm0.25
4096−3.45±0.21-3.45 \pm0.21−2.90±0.14-2.90 \pm0.14−12.30±0.21-12.30 \pm0.21−9.10±0.14-9.10 \pm0.14−8.65±0.22-8.65 \pm0.22
8192−4.00±0.18-4.00 \pm0.18−2.90±0.14-2.90 \pm0.14−12.85±0.14-12.85 \pm0.14−8.90±0.14-8.90 \pm0.14−8.65±0.14-8.65 \pm0.14
Slope β\beta−0.52-0.52+0.16+0.16−0.47-0.47+0.19+0.19−0.05-0.05
Acc41.16±0.2341.16 \pm0.2341.77±0.3841.77 \pm0.3841.14±0.2941.14 \pm0.2941.80±0.2841.80 \pm0.2840.76±0.1640.76 \pm0.16

Table 6. Optimal log⁡2\log_2 learning rate (by test accuracy) at each width for a 5-layer MLP on CIFAR-10, reported as mean ±\pm std over 5 seeds. Slope β\beta is the regression slope of the optimal log⁡2\log_2 learning rate against log⁡2\log_2 width, and Acc is the test accuracy (%) at the largest width.

widthμ\muP SGDμ\muP Adamμ\muP Muon
192−1.35±0.34-1.35 \pm0.34−8.50±0.25-8.50 \pm0.25−5.85±0.14-5.85 \pm0.14
384−1.40±0.22-1.40 \pm0.22−8.05±0.11-8.05 \pm0.11−5.70±0.11-5.70 \pm0.11
576−1.00±0.35-1.00 \pm0.35−8.10±0.29-8.10 \pm0.29−5.65±0.14-5.65 \pm0.14
768−0.95±0.45-0.95 \pm0.45−8.10±0.22-8.10 \pm0.22−5.80±0.21-5.80 \pm0.21
960−1.15±0.22-1.15 \pm0.22−8.30±0.21-8.30 \pm0.21−5.65±0.14-5.65 \pm0.14
Slope β\beta+0.16+0.16+0.10+0.10+0.06+0.06
Acc33.37±0.4333.37 \pm0.4336.79±0.2136.79 \pm0.2130.08±0.4130.08 \pm0.41

Table 7. Optimal log⁡2\log_{2} learning rate (by test accuracy) at each width for a ViT on CIFAR-10, reported as mean ±\pm std over 5 seeds. Slope β\beta and Acc are defined as in Table 6.

Standard Parametrization Coordinate Check

We visualize the coordinate-wise activation norms for Standard Parametrization in Figure 14, Figure 15 and Figure 16, to contrast with the stable behavior of μP\mu P shown in the main text.

Coordinate check plots for MLP (SP) with SNR condition

Figure 14. Coordinate check for MLP (SP) with SNR condition. Even with the SNR condition applied, standard parametrization often fails to preserve feature scale across widths.

Coordinate check plots for MLP (SP) without SNR condition

Figure 15. Coordinate check for MLP (SP) without SNR condition. Without privacy-aware scaling, feature activations diverge significantly as width increases.

Coordinate check plots for ViT (SP)

Figure 16. Coordinate check for ViT (SP). Similar to the MLP case, SP leads to inconsistent activation scales in Vision Transformers.

Illustrative Example of Parameter Derivation

In this section, we provide a concrete parameter derivation to illustrate the DP-μ\muP framework depicted in Figure 1. We consider a 5-layer MLP trained on CIFAR-10, where the input dimension is n0=3072n_{0}=3072 (3×32×323 \times32 \times32) and the output dimension is n5=10n_{5}=10. Our objective is to transfer hyperparameters from a small proxy model with hidden widths n1,…,4′=128n'_{1,\ldots,4}=128 to a large target model with widths n1,…,4=8192n_{1,\ldots,4}=8192.

Figure 1. DP-μ\muP Training Workflow. We employ μ\muP 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)O(1) loss updates, resulting in invariant training dynamics across model scales. A numerical example is provided in Appendix C.6.

Before the search, we fix the proxy width, the target width, the privacy budget, the batch size and the number of training steps, since the last three determine the noise multiplier.

Step 1: Calibrate the noise multiplier of the target. For a target privacy budget of (ϵ,δ)=(2,10−5)(\epsilon,\delta)=(2,10^{-5}) on the CIFAR-10 dataset (50, 000 samples), we configure the training with a batch size of B=500B = 500 and train for 10 epochs. Based on these parameters, the privacy accountant computes the required noise multiplier for the large model to be σ≈1.0229\sigma\approx1.0229, which we approximate as σ≈1\sigma\approx1.

Step 2: Adopt uniform clipping on the proxy. To facilitate the hyperparameter search on the proxy model, we employ a uniform clipping (e.g. Dl′=5D'_l = 5). We use uniform clipping on the proxy in all experiments.

Step 3: Solve the SNR constraints. By solving the SNR constraints defined in Equation (8), we obtain the required noise multiplier for the proxy model:

σ′≈6.91.(35)\sigma' \approx6.91. \tag*{(35)}

Simultaneously, we derive the layer-wise scaling coefficients 1D\frac{1}{\sqrt{D}} for the target large model:

D≈(49.9,3.73,3.73,3.73,5.7)⟹1D≈(0.14,0.52,0.52,0.52,0.42).(36)D \approx(49.9, 3.73, 3.73, 3.73, 5.7) \Longrightarrow\frac{1}{\sqrt{D}} \approx(0.14, 0.52, 0.52, 0.52, 0.42). \tag*{(36)}

This specific configuration ensures that the Signal-to-Noise Ratio (SNR) is preserved across widths.

Step 4: Search on the proxy. We proceed to perform hyperparameter tuning on the small proxy model using the derived noise multiplier σ′≈6.91\sigma' \approx6.91 and a uniform clipping coefficient 1/D′=1/51/\sqrt{D'} = 1/\sqrt{5}. We conduct a grid search to identify the optimal learning rate. For illustrative simplicity, we assume this search yields an optimal value of ηsmall∗=1\eta^*_{\mathrm{small}} = 1. Note that we employ a global learning rate for the small model, as the primary objective at this stage is to ensure numerical stability (preventing gradient vanishing or explosion) rather than strictly enforcing layer-wise alignment.

Step 5: Transfer to the target. To determine the layer-wise learning rates for the large target model, we scale the optimal proxy rate ηsmall∗=1\eta^*_{\mathrm{small}} = 1 based on the spectral norm ratios, in accordance with Lemma 2.1. The transfer rule is given by:

ηlarge(l)ηsmall∗=nl/nl−1σ⋅(nl+nl−1)nl′/nl−1′σ′⋅(nl′+nl−1′),(37)\frac{\eta^{(l)}_{\mathrm{large}}}{\eta^*_{\mathrm{small}}} = \frac{\frac{\sqrt{n_l/n_{l-1}}}{\sigma\cdot(\sqrt{n_l}+\sqrt{n_{l-1}})}} {\frac{\sqrt{n'_l/n'_{l-1}}}{\sigma' \cdot(\sqrt{n'_l}+\sqrt{n'_{l-1}})}} , \tag*{(37)}

which results in ηlarge≈(25.28,0.86,0.86,0.86,0.13)\eta_{\mathrm{large}} \approx(25.28, 0.86, 0.86, 0.86, 0.13). The rest of the training recipe found on the proxy is reused on the target as it is.

Selecting the batch size. If the batch size is also to be selected, the noise multiplier has to be recomputed for each candidate batch size. Steps 1–5 are then repeated for each candidate, and the best candidate is chosen on the proxy model.

End-to-End Privacy Accounting

We note that DP-μ\muP serves as a method to transferring hyperparameters for DP optimization without privacy cost. We distinguish the privacy cost of hyperparameter search from that of training the final target model, providing an end-to-end privacy accounting.

Let D\mathcal{D} denote the private dataset. We first construct the proxy training configuration according to the DP-μ\muP scaling recipe: the target privacy parameters and the two architectures determine, through the SNR-matching constraints in (8), the proxy noise multiplier and the layer-wise clipping parameters of the target. This step depends only on the privacy parameters and the architectures and does not access D\mathcal{D}, so it incurs no privacy cost.

Hyperparameter search is then performed only over proxy runs generated under this DP-μ\muP-aligned configuration. The selected proxy learning rate is subsequently mapped to the target-model layer-wise learning rates using the deterministic transfer rule TT, given by Lemma 2.1 and illustrated in Appendix C.6.

Privacy cost of hyperparameter search. Suppose the complete search-and-selection mechanism Msearch\mathcal{M}_{\mathrm{search}} is (ϵsearch,δsearch)(\epsilon_{\mathrm{search}},\delta_{\mathrm{search}})-DP. Importantly, this privacy guarantee must account for the entire search procedure, rather than a single proxy-model training run. For example, if multiple candidate learning rates are evaluated on the same private dataset, the privacy costs of those evaluations and the subsequent selection must be incorporated into (ϵsearch,δsearch)(\epsilon_{\mathrm{search}},\delta_{\mathrm{search}}). Alternatively, the search may be performed using public data, in which case ϵsearch=δsearch=0\epsilon_{\mathrm{search}} = \delta_{\mathrm{search}} = 0.

Privacy cost of target-model training. For every fixed transferred hyperparameter configuration η^target\hat{\eta}_{\mathrm{target}}, suppose Mtrain(D;η^target)\mathcal{M}_{\mathrm{train}}(D;\hat{\eta}_{\mathrm{target}}) is (ϵtrain,δtrain)(\epsilon_{\mathrm{train}},\delta_{\mathrm{train}})-DP. Although the target-model training procedure depends adaptively on the private output of Msearch\mathcal{M}_{\mathrm{search}}, adaptive sequential composition shows that the end-to-end mechanism

Mtrain(D;T(Msearch(D)))\mathcal{M}_{\mathrm{train}}(D;T(\mathcal{M}_{\mathrm{search}}(D)))

satisfies

(ϵsearch+ϵtrain,δsearch+δtrain)-DP.(\epsilon_{\mathrm{search}}+\epsilon_{\mathrm{train}},\delta_{\mathrm{search}}+\delta_{\mathrm{train}})\text{-DP}.

Hence, for a prescribed total privacy budget (ϵtotal,δtotal)(\epsilon_{\mathrm{total}},\delta_{\mathrm{total}}), it is sufficient to allocate the budgets such that

ϵsearch+ϵtrain≤ϵtotal,δsearch+δtrain≤δtotal.\epsilon_{\mathrm{search}}+\epsilon_{\mathrm{train}}\le\epsilon_{\mathrm{total}},\qquad\delta_{\mathrm{search}}+\delta_{\mathrm{train}}\le\delta_{\mathrm{total}}.

A simple parameterization is

ϵsearch=γϵtotal,ϵtrain=(1−γ)ϵtotal,\epsilon_{\mathrm{search}}=\gamma\epsilon_{\mathrm{total}},\qquad\epsilon_{\mathrm{train}}=(1-\gamma)\epsilon_{\mathrm{total}},

and

δsearch=γδδtotal,δtrain=(1−γδ)δtotal,\delta_{\mathrm{search}}=\gamma_{\delta}\delta_{\mathrm{total}},\qquad\delta_{\mathrm{train}}=(1-\gamma_{\delta})\delta_{\mathrm{total}},

for predetermined γ,γδ∈[0,1]\gamma,\gamma_{\delta}\in[0,1] before accessing DD.

Tighter accounting. The additive guarantee above follows directly from basic sequential composition and provides the simplest end-to-end accounting rule. In practice, tighter guarantees can be obtained by carrying out both stages in a common privacy accountant. For example, under Rényi differential privacy, if the two stages satisfy ρsearch(α)\rho_{\mathrm{search}}(\alpha)-RDP and ρtrain(α)\rho_{\mathrm{train}}(\alpha)-RDP at order α\alpha, respectively, then

ρtotal(α)=ρsearch(α)+ρtrain(α),\rho_{\mathrm{total}}(\alpha)=\rho_{\mathrm{search}}(\alpha)+\rho_{\mathrm{train}}(\alpha),

and the composed guarantee can be converted once to (ϵtotal,δtotal)(\epsilon_{\mathrm{total}},\delta_{\mathrm{total}})-DP at the end. More refined hyperparameter-tuning or privacy-loss-distribution accountants (such as GDP) may likewise be used without changing our transfer mechanism.

References

  1. [1]Martin Abadi, Andy Chu, Ian Goodfellow, H Brendan McMahan, Ilya Mironov, Kunal Talwar, and Li Zhang. Deep learning with differential privacy. In Proceedings of the 2016 ACM SIGSAC conference on computer and communications security, pages 308–318, 2016.DOI
  2. [2]Charlie Blake, Constantin Eichenberg, Josef Dean, Lukas Balles, Luke Y. Prince, Björn Deis-eroth, Andres Felipe Cruz-Salinas, Carlo Luschi, Samuel Weinbach, and Douglas Orr. u-μp: The unit-scaled maximal update parametrization, 2025.arxiv.org/abs/2407.17465
  3. [3]Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler, Jeffrey Wu, Clemens Winter, Christopher Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. Language models are few-shot learners, 2020.arxiv.org/abs/2005.14165
  4. [4]Zhiqi Bu, Justin Chiu, Ruixuan Liu, Yu-Xiang Wang, Sheng Zha, and George Karypis. Zero redundancy distributed learning with differential privacy. In ICLR 2023 Workshop on Pitfalls of limited data and computation for Trustworthy ML, 2023.arxiv.org/abs/2311.11822
  5. [5]Zhiqi Bu, Jinshuo Dong, Qi Long, and Weijie J Su. Deep learning with gaussian differential privacy. Harvard data science review, 2020(23):10–1162, 2020.DOI
  6. [6]Zhiqi Bu, Ruixuan Liu, Yu-Xiang Wang, Sheng Zha, and George Karypis. On the accuracy and efficiency of group-wise clipping in differentially private optimization, 2023.arxiv.org/abs/2310.19215
  7. [7]Zhiqi Bu, Ruixuan Liu, Yu-Xiang Wang, Sheng Zha, and George Karypis. On the accuracy and efficiency of group-wise clipping in differentially private optimization. arXiv preprint arXiv:2310.19215, 2023.arxiv.org/abs/2310.19215
  8. [8]Zhiqi Bu, Hua Wang, Zongyu Dai, and Qi Long. On the convergence and calibration of deep learning with differential privacy, 2023.
  9. [9]Zhiqi Bu and Shiyun Xu. Gradient descent with generalized newton’s method. In The Thirteenth International Conference on Learning Representations, 2024.arxiv.org/abs/2407.02772
  10. [10]Nicholas Carlini, Florian Tramer, Eric Wallace, Matthew Jagielski, Ariel Herbert-Voss, Katherine Lee, Adam Roberts, Tom Brown, Dawn Song, Ulfar Erlingsson, Alina Oprea, and Colin Raffel. Extracting training data from large language models, 2021.arxiv.org/abs/2012.07805
  11. [11]Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, et al. Palm: Scaling language modeling with pathways. Journal of Machine Learning Research, 24(240):1–113, 2023.arxiv.org/abs/2204.02311
  12. [12]Soham De, Leonard Berrada, Jamie Hayes, Samuel L. Smith, and Borja Balle. Unlocking high-accuracy differentially private image classification through scale, 2022.arxiv.org/abs/2204.13650
  13. [13]Cynthia Dwork, Krishnaram Kenthapadi, Frank McSherry, Ilya Mironov, and Moni Naor. Our data, ourselves: Privacy via distributed noise generation. In Advances in cryptology-EUROCRYPT 2006: 24th annual international conference on the theory and applications of cryptographic techniques, st. Petersburg, Russia, May 28-June 1, 2006. proceedings 25, pages 486–503. Springer, 2006.
  14. [14]Ahmad Hassanpour, Majid Moradikia, Bian Yang, Ahmed Abdelhadi, Christoph Busch, and Julian Fierrez. Differential privacy preservation in robust continual learning. IEEE Access, 10:24273–24287, 2022.DOI
  15. [15]Jiyan He, Xuechen Li, Da Yu, Huishuai Zhang, Janardhan Kulkarni, Yin Tat Lee, Arturs Backurs, Nenghai Yu, and Jiang Bian. Exploring the limits of differentially private deep learning with group-wise clipping, 2022.arxiv.org/abs/2212.01539
  16. [16]Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770–778, 2016.arxiv.org/abs/1512.03385
  17. [17]Shlomi Hod, Lucas Rosenblatt, and Julia Stoyanovich. Do you really need public data? surrogate public data for differential privacy on tabular data, 2025.
  18. [18]Neil Houlsby, Andrei Giurgiu, Stanislaw Jastrzebski, Bruna Morrone, Quentin De Laroussilhe, Andrea Gesmundo, Mona Attarian, and Sylvain Gelly. Parameter-efficient transfer learning for nlp. In International conference on machine learning, pages 2790–2799. PMLR, 2019.arxiv.org/abs/1902.00751
  19. [19]Edward J Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, Weizhu Chen, et al. Lora: Low-rank adaptation of large language models. ICLR, 1(2):3, 2022.arxiv.org/abs/2106.09685
  20. [20]Keller Jordan, Yuchen Jin, Vlado Boza, You Jiacheng, Franz Cesista, Laker Newhouse, and Jeremy Bernstein. Muon: An optimizer for hidden layers in neural networks, 2024.
  21. [21]Rabeeh Karimi Mahabadi, James Henderson, and Sebastian Ruder. Compacter: Efficient low-rank hypercomplex adapter layers. Advances in Neural Information Processing Systems, 34:1022–1035, 2021.arxiv.org/abs/2106.04647
  22. [22]Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In Yoshua Bengio and Yann LeCun, editors, 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings, 2015.arxiv.org/abs/1412.6980
  23. [23]Xuechen Li, Florian Tramèr, Percy Liang, and Tatsunori Hashimoto. Large language models can be strong differentially private learners, 2022.arxiv.org/abs/2110.05679
  24. [24]Aixin Liu, Bei Feng, Bing Xue, Bingxuan Wang, Bochao Wu, Chengda Lu, Chenggang Zhao, Chengqi Deng, Chenyu Zhang, Chong Ruan, et al. Deepseek-v3 technical report. arXiv preprint arXiv:2412.19437, 2024.arxiv.org/abs/2412.19437
  25. [25]Ruixuan Liu and Zhiqi Bu. Towards hyperparameter-free optimization with differential privacy. In The Thirteenth International Conference on Learning Representations.arxiv.org/abs/2503.00703
  26. [26]Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations.
  27. [27]Sadhika Malladi, Tianyu Gao, Eshaan Nichani, Alex Damian, Jason D. Lee, Danqi Chen, and Sanjeev Arora. Fine-tuning language models with just forward passes, 2024.
  28. [28]H. Brendan McMahan, Daniel Ramage, Kunal Talwar, and Li Zhang. Learning differentially private recurrent language models, 2018.arxiv.org/abs/1710.06963
  29. [29]H Brendan McMahan, Daniel Ramage, Kunal Talwar, and Li Zhang. Learning differentially private recurrent language models. In International Conference on Learning Representations, 2018.arxiv.org/abs/1710.06963
  30. [30]Shubhankar Mohapatra, Sajin Sasy, Xi He, Gautam Kamath, and Om Thakkar. The role of adaptive optimizers for honest private hyperparameter selection, 2021.
  31. [31]Nicolas Papernot and Thomas Steinke. Hyperparameter tuning with renyi differential privacy, 2022.arxiv.org/abs/2110.03620
  32. [32]Natalia Ponomareva, Hussein Hazimeh, Alex Kurakin, Zheng Xu, Carson Denison, H. Brendan McMahan, Sergei Vassilvitskii, Steve Chien, and Abhradeep Guha Thakurta. How to dp-fy ml: A practical guide to machine learning with differential privacy. Journal of Artificial Intelligence Research, 77:1113–1201, 2023.
  33. [33]Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9, 2019.
  34. [34]Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. Exploring the limits of transfer learning with a unified text-to-text transformer, 2023.
  35. [35]Reza Shokri, Marco Stronati, Congzheng Song, and Vitaly Shmatikov. Membership inference attacks against machine learning models, 2017.arxiv.org/abs/1610.05820
  36. [36]Amer Sinha, Thomas Mesnard, Ryan McKenna, Daogao Liu, Christopher A. Choquette-Choo, Yangsibo Huang, Da Yu, George Kaissis, Zachary Charles, Ruibo Liu, Lynn Chua, Pritish Kamath, Pasin Manurangsi, Steve He, Chiyuan Zhang, Badih Ghazi, Borja De Balle Pighin, Prem Erurbvetine, Tris Warkentin, Armand Joulin, and Ravi Kumar. Vaultgemma: A differentially private gemma model, 2025.arxiv.org/abs/2510.15001
  37. [37]Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, et al. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971, 2023.arxiv.org/abs/2302.13971
  38. [38]Florian Tramèr and Dan Boneh. Differentially private learning needs better features (or much more data), 2021.arxiv.org/abs/2011.11660
  39. [39]Sharan Vaswani, Aaron Mishkin, Issam Laradji, Mark Schmidt, Gauthier Gidel, and Simon Lacoste-Julien. Painless stochastic gradient: Interpolation, line-search, and convergence rates, 2021.
  40. [40]Thijs Vogels, Sai Praneeth Karimireddy, and Martin Jaggi. Powersgd: Practical low-rank gradient compression for distributed optimization, 2020.arxiv.org/abs/1905.13727
  41. [41]An Yang, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chengyuan Li, Dayiheng Liu, Fei Huang, Haoran Wei, et al. Qwen2. 5 technical report. arXiv preprint arXiv:2412.15115, 2024.arxiv.org/abs/2412.15115
  42. [42]Greg Yang and Edward J Hu. Feature learning in infinite-width neural networks. arXiv preprint arXiv:2011.14522, 2020.arxiv.org/abs/2011.14522
  43. [43]Greg Yang and Edward J Hu. Tensor programs iv: Feature learning in infinite-width neural networks. In International Conference on Machine Learning, pages 11727–11737. PMLR, 2021.
  44. [44]Greg Yang, Edward J Hu, Igor Babuschkin, Szymon Sidor, Xiaodong Liu, David Farhi, Nick Ryder, Jakub Pachocki, Weizhu Chen, and Jianfeng Gao. Tensor programs v: Tuning large neural networks via zero-shot hyperparameter transfer. arXiv preprint arXiv:2203.03466, 2022.arxiv.org/abs/2203.03466
  45. [45]Greg Yang, James B Simon, and Jeremy Bernstein. A spectral condition for feature learning. arXiv preprint arXiv:2310.17813, 2023.arxiv.org/abs/2310.17813
  46. [46]Greg Yang, Dingli Yu, Chen Zhu, and Soufiane Hayou. Tensor programs vi: Feature learning in infinite-depth neural networks, 2023.arxiv.org/abs/2310.02244
  47. [47]Xiaodong Yang, Huishuai Zhang, Wei Chen, and Tie-Yan Liu. Normalized/clipped sgd with perturbation for differentially private non-convex optimization. arXiv preprint arXiv:2206.13033, 2022.arxiv.org/abs/2206.13033
  48. [48]Dong Yin, Ashwin Pananjady, Max Lam, Dimitris Papailiopoulos, Kannan Ramchandran, and Peter Bartlett. Gradient diversity: a key ingredient for scalable distributed learning, 2018.arxiv.org/abs/1706.05699
  49. [49]Da Yu, Saurabh Naik, Arturs Backurs, Sivakanth Gopi, Huseyin A. Inan, Gautam Kamath, Janardhan Kulkarni, Yin Tat Lee, Andre Manoel, Lukas Wutschitz, Sergey Yekhanin, and Huishuai Zhang. Differentially private fine-tuning of language models, 2022.arxiv.org/abs/2110.06500
  50. [50]Da Yu, Huishuai Zhang, Wei Chen, and Tie-Yan Liu. Do not let privacy overbill utility: Gradient embedding perturbation for private learning, 2021.arxiv.org/abs/2102.12677
  51. [51]Chenyu Zheng, Xinyu Zhang, Rongzhen Wang, Wei Huang, Zhi Tian, Weilin Huang, Jun Zhu, and Chongxuan Li. Scaling diffusion transformers efficiently via μp, 2025.arxiv.org/abs/2505.15270

Paper details

vlnc:W_mb9b478y
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 10

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents