arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.04327cs.LGstat.ML
收藏

算术平均μP用于现代架构:CNN和ResNets的统一学习率缩放

Arithmetic-Mean $μ$P for Modern Architectures: A Unified Learning-Rate Scale for CNNs and ResNets

Fudan University(复旦大学);New York University(纽约大学)

Haosong Zhang, Shenxi Wu, Yichi Zhang, Xi Chen, Wei Lin

AI总结:

本文提出算术平均μP,通过统一学习率缩放方法,为CNN和ResNets提供稳健的深度定律,实现零样本学习率转移。

摘要:

在扩展现代深度网络深度时,选择合适的学习率仍然是一个关键挑战。经典的最大更新参数化(μP)强制每个层的更新幅度固定,这适合于同质多层感知机(MLPs),但在异构架构中,残差累积和卷积引入了层间的不平衡,使μP变得不成立。我们引入了算术平均μP(AM-μP),它不仅限制每个单独层,还限制整个网络的平均一步预激活二次矩到一个常量尺度。结合残差感知的He fan-in初始化——通过块数(Var[W]=c/(K·fan-in))缩放残差分支权重——AM-μP产生了对宽度稳健的深度定律,这些定律在不同深度上保持一致。我们证明,对于一维和二维卷积网络,最大更新学习率满足η*(L)∝L^(-3/2);在零填充的情况下,边界效应是常量级的,当N>>k时。对于标准残差网络,使用通用的卷积+MLP块,我们建立了η*(L)=Θ(L^(-3/2)),其中L是最小深度。在各种深度上的实验证果证实了-3/2缩放定律,并实现了零样本学习率转移,为卷积和深度残差网络提供了一个统一且实用的学习率原则,无需额外的调优开销。

英文摘要:

Choosing an appropriate learning rate remains a key challenge in scaling depth of modern deep networks. The classical maximal update parameterization ($μ$P) enforces a fixed per-layer update magnitude, which is well suited to homogeneous multilayer perceptrons (MLPs) but becomes ill-posed in heterogeneous architectures where residual accumulation and convolutions introduce imbalance across layers. We introduce Arithmetic-Mean $μ$P (AM-$μ$P), which constrains not each individual layer but the network-wide average one-step pre-activation second moment to a constant scale. Combined with a residual-aware He fan-in initialization - scaling residual-branch weights by the number of blocks ($\mathrm{Var}[W]=c/(K\cdot \mathrm{fan\text{-}in})$) - AM-$μ$P yields width-robust depth laws that transfer consistently across depths. We prove that, for one- and two-dimensional convolutional networks, the maximal-update learning rate satisfies $η^\star(L)\propto L^{-3/2}$; with zero padding, boundary effects are constant-level as $N\gg k$. For standard residual networks with general conv+MLP blocks, we establish $η^\star(L)=Θ(L^{-3/2})$, with $L$ the minimal depth. Empirical results across a range of depths confirm the $-3/2$ scaling law and enable zero-shot learning-rate transfer, providing a unified and practical LR principle for convolutional and deep residual networks without additional tuning overhead.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑