跳到正文
arXiv (AI + Vision + Imaging)· Yikun Hou, Naomi Graham, Alp Yurtsever·· 1 天前AI 评分22

UDV-Rebalance:可迁移的 Transformer 训练重参数化方法

Weight Scale Rebalancing: Transferable Training Recipes for Transformers

AI 导读

UDV-Rebalance(UDVR)在 Transformer 成对权重矩阵(U,V)间插入辅助对角矩阵 D,并周期性重平衡以保持 U 列、V 行为单位范数,使单一超参数配置跨模型规模、架构与数据分布有效。

正文 · 原文

arXiv:2611.32866v1 Announce Type: new Abstract: 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 $\sigma$Reparam and matches a vanilla baseline whose hyperparameters are swept on each target model.

来源:arXiv (AI + Vision + Imaging) · arxiv.org