UDV-Rebalance:让 Transformer 训练超参数跨规模免调参
Weight Scale Rebalancing: Transferable Training Recipes for Transformers
这篇论文解决的是训练大模型时超参数反复调的痛点。它在 (U,V) 权重对之间加一个对角矩阵做尺度再平衡,规则只需按矩阵维度计算,从 CIFAR-10 上的 ViT 一路迁移到 1.3B 语言模型都有效,比 Weight Normalization 和 σReparam 都更稳。经常跑训练的工程师可以看看。
一篇新论文提出 UDV-Rebalance(UDVR),在 Transformer 中成对出现的权重矩阵 (U,V) 之间插入辅助对角矩阵 D,通过周期性再平衡保持 U 列单位范数、V 行单位范数,让 D 吸收对应尺度。
由此得到一条只依赖权重矩阵维度的免调参规则。作者仅在 CIFAR-10 和 CIFAR-100 上训练的 ViT 模型拟合该规则,更换激活函数或优化器后依然有效,并可迁移到 DomainNet 新图像域、ImageNet 上的 ViT/Swin/MaxViT,以及最高 1.
3B 参数的语言模型预训练。基准对比上,UDVR 持续优于 Weight Normalization 和 σReparam,并能追平在每个目标模型上单独扫超参数的 vanilla 基线。
对需要跨模型规模训练的团队而言,这提供了一条免调参替代路径。
Weight Scale Rebalancing: Transferable Training Recipes for Transformers
Training Transformers requires careful hyperparameter tuning, which becomes increasingly costly for large models. We introduce UDV-Rebalance (UDVR), a reparameterization that inserts an auxiliary diagonal matrix $D$ between naturally paired weight matrices $(U,V)$ appearing throughout Transformer architectures. UDVR periodically rebalances the factors to maintain unit-norm columns in $U$ and unit-norm rows in $V$, with $D$ absorbing the corresponding scales. With rebalancing, a single hyperparameter setting of UDVR remains effective across model scales, architectures, and data distributions. This yields a tuning-free rule that adapts to each weight matrix using only its dimensions. We fit this rule once on ViT models trained on CIFAR-10 and CIFAR-100, and it remains valid when the activation function or the optimizer is changed. The same rule transfers to new image domains in DomainNet, to ViT, Swin, and MaxViT on ImageNet, and to language-model pretraining with up to 1.3B parameters. UDVR consistently outperforms Weight Normalization and $σ$Reparam and matches a vanilla baseline whose hyperparameters are swept on each target model.
This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include UDVR, Transformer, Weight Normalization, ViT.
Source attribution: curated from arXiv cs.LG (@Yikun Hou, Naomi Graham, Alp Yurtsever).