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

在宽度-深度扩展下μP的谱条件

Spectral Condition for $μ$P under Width-Depth Scaling

Gaoling School of AI, Renmin University of China(中国人民大学东城区人工智能学院)

Chenyu Zheng, Rongzhen Wang, Xinyu Zhang, Chongxuan Li

AI总结:

本文提出一种统一的谱框架,用于在宽度-深度扩展下实现μP,揭示了从k=1到k≥2的转变,统一了不同μP形式并验证了其在实际架构中的有效性。

摘要:

生成式基础模型在宽度和深度上不断扩展,给稳定特征学习和可靠超参数(HP)转移带来了重大挑战。虽然最大更新参数化(μP)已为宽度扩展提供了原理性解决方案,但现有联合宽度-深度扩展的扩展仍碎片化、架构和优化器特定,并常依赖技术复杂的理论。本文开发了一种简单且统一的μP谱框架,用于联合宽度-深度扩展。对于残差块包含k个转换的深度残差网络,该框架指定了权重范数及其每步更新的范数如何随宽度和深度扩展。它揭示了从k=1到k≥2的基本转变,统一了之前分散的μP形式,并将k≥2的情况识别为更适合具有多转换分支的实际架构,如Transformer。基于此框架,我们推导出一种通用的实现μP的配方,通过将谱约束映射到具体的超参数参数化,恢复现有结果并扩展到其他优化器。最后,实验表明,从k≥2情况导出的μP形式在宽度-深度扩展下实现了稳定的特征学习和鲁棒的超参数转移,而标准参数化和k=1情况的μP经常无法做到。这些结果支持了所提出谱框架的实用性。

英文摘要:

Generative foundation models are increasingly scaled in both width and depth, posing significant challenges for stable feature learning and reliable hyperparameter (HP) transfer across model sizes. While maximal update parameterization ($μ$P) has provided a principled solution to both problems for width scaling, existing extensions to the joint width-depth scaling regime remain fragmented, architecture- and optimizer-specific, and often rely on technically involved theories. In this work, we develop a simple and unified spectral framework for $μ$P under joint width-depth scaling. For deep residual networks whose residual blocks contain $k$ transformations, the framework specifies how the norms of weights and their per-step updates should scale with width and depth. It reveals a fundamental transition from $k=1$ to $k\geq 2$, unifying previously disparate $μ$P formulations and identifying the $k\geq 2$ case as more appropriate for practical architectures with multi-transformation branches such as Transformers. Building on this framework, we derive a general recipe for implementing $μ$P across a broad class of optimizers by mapping spectral constraints to concrete HP parameterizations, recovering existing results and extending them to additional optimizers. Finally, experiments on GPT-2 style language models show that the $μ$P formulation derived from the $k\geq 2$ case achieves stable feature learning and robust HP transfer under width-depth scaling, whereas standard parameterization and $μ$P in the $k=1$ case often fail to do so. These results support the practical effectiveness of the proposed spectral framework.

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

↑