arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.10545cs.LGcs.AIstat.ML
收藏

$\mu$缩放小型模型:有原则的热启动与超参数迁移

$μ$pscaling small models: Principled warm starts and hyperparameter transfer

Department of Applied Mathematics and Statistics(应用数学与统计学系)

Yuxin Ma, Nan Chen, Mateo Díaz, Soufiane Hayou, Dmitriy Kunisky, Soledad Villar

AI总结:

提出一种基于$\mu$P和任意维架构的宽度升级方法,通过理论引导的噪声和优化器超参数缩放,实现功能等价和超参数迁移,降低调参成本。

摘要:

现代大规模神经网络通常以多种尺寸训练和发布,以适应不同的推理预算。为了提高效率,最近的工作探索了模型升级:从训练好的较小模型初始化较大模型以加速收敛。然而,这种方法可能对需要在目标升级模型尺寸上调优的超参数敏感,直接调优成本过高。在此设置下,在较小模型上调优超参数并通过缩放定律外推是否合理尚不清楚。我们通过有原则的宽度升级方法和高效的超参数调优来解决这个问题。受$\mu$P和任意维架构的启发,我们引入了一种通用的升级方法,类似于Net2Net,复制并扰动权重,但使用理论上基于宽度依赖的缩放来设置扰动噪声和优化器超参数。首先,我们证明在零扰动下,升级后的模型在整个训练过程中与基础模型功能等价。其次,我们扩展$\mu$P理论以实现无限宽度极限分析,并为升级模型建立超参数迁移,大大降低了调优成本。我们通过实验证明该方法在真实数据集和架构上是有效的。

英文摘要:

Modern large-scale neural networks are often trained and released in multiple sizes to accommodate diverse inference budgets. To improve efficiency, recent work has explored model upscaling: initializing larger models from trained smaller ones to accelerate convergence. However, this method can be sensitive to hyperparameters that need to be tuned at the target upscaled model size, which is prohibitively costly to do directly. It remains unclear whether tuning hyperparameters on smaller models and extrapolating via scaling laws is sound in this setting. We address this with principled approaches to width-based upscaling and efficient hyperparameter tuning in this setting. Motivated by $μ$P and any-dimensional architectures, we introduce a general upscaling method that, like Net2Net, copies and perturbs weights, but uses theoretically grounded, width-dependent scalings for the perturbation noise and optimizer hyperparameters. First, we prove that under zero perturbation, the upscaled model is functionally equivalent to the base model throughout training. Second, we extend the $μ$P theory to enable infinite-width limit analysis and establish hyperparameter transfer for upscaled models, greatly reducing the tuning cost. We empirically demonstrate that this method is effective on realistic datasets and architectures.

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

↑