arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.22768cs.LGcs.AIstat.ML
收藏

理解快速超参数转移的机制

Understanding the Mechanisms of Fast Hyperparameter Transfer

Flatiron Institute(Flatiron研究所)

Nikhil Ghosh, Denny Wu, Alberto Bietti

AI总结:

本文研究了深度学习中快速超参数转移的机制,通过理论分析和实验验证,揭示了转移策略在不同问题结构下的有效性及计算效率。

摘要:

深度学习模型规模的不断扩大使标准超参数(HP)优化变得成本过高。一种有前途的解决方案是使用规模感知的超参数,这可以使得从小规模网格搜索直接转移到大模型时,性能损失最小。为了理解这种转移策略的原理,我们开发了一个通用的概念框架来思考跨规模的超参数转移,将转移定义为当其引起的次优性消失的速度比有限规模性能差距更快时,转移是快速的。我们正式证明了快速转移等同于对计算最优的网格搜索有用的转移,这意味着转移在渐近上比直接调优更具计算效率。尽管实证工作发现最大更新参数化(μP)在扩展模型宽度时表现出快速转移,但其机制仍不明确。我们展示这种性质依赖于问题结构,通过构造合成设置,其中转移要么提供可证明的计算优势,要么即使在μP下也未能优于直接调优。为了解释实践中观察到的快速转移,我们推测分解优化轨迹会揭示两个损失减少的贡献:(1)一个宽度稳定的组件,决定最优的超参数,以及(2)一个宽度敏感的组件,随着宽度增加而改善,但轻微扰动最优的超参数。我们展示了在各种设置下的实证证据,包括大型语言模型预训练。

英文摘要:

The growing scale of deep learning models has rendered standard hyperparameter (HP) optimization prohibitively expensive. A promising solution is the use of scale-aware hyperparameters, which can enable direct transfer of optimal HPs from small-scale grid searches to large models with minimal performance loss. To understand the principles governing such transfer strategy, we develop a general conceptual framework for reasoning about HP transfer across scale, characterizing transfer as fast when the suboptimality it induces vanishes asymptotically faster than the finite-scale performance gap. We show formally that fast transfer is equivalent to useful transfer for compute-optimal grid search, meaning that transfer is asymptotically more compute-efficient than direct tuning. While empirical work has found that the Maximal Update Parameterization ($μ$P) exhibits fast transfer when scaling model width, the mechanisms remain poorly understood. We show that this property depends critically on problem structure by presenting synthetic settings where transfer either offers provable computational advantage or fails to outperform direct tuning even under $μ$P. To explain the fast transfer observed in practice, we conjecture that decomposing the optimization trajectory reveals two contributions to loss reduction: (1) a width-stable component that determines the optimal HPs, and (2) a width-sensitive component that improves with width but weakly perturbs the HP optimum. We present empirical evidence for this hypothesis across various settings, including large language model pretraining.

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

↑