cs.LGNov 24, 2026

Weight Scale Rebalancing: Transferable Training Recipes for Transformers

Authors: Yikun Hou, Naomi Graham, Alp Yurtsever

Organizations: Department of Mathematics and Mathematical Statistics Umeå University, Sweden

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 DD between naturally paired weight matrices (U,V)(U,V) appearing throughout Transformer architectures. UDVR periodically rebalances the factors to maintain unit-norm columns in UU and unit-norm rows in VV, with DD 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.

Figures & tables

Appendix figures & tables27 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

Oct 13, 2026

Same Function, Different Trajectory: No Standard Optimizer Is Equivariant to Transformer Reparameterization

We show that two Transformers representing the same function can follow different training trajectories. For example, doubling a query matrix and halving its key matrix preserves the model's function but changes the gradient scales seen by the optimizer. Our theoretical analysis establishes that standard block-local first-order optimizers fail to scale updates with parameters under a shared learning rate. For AdamW, transforming the first- and second-moment estimates alone does not correct the mismatch between parameter and update scales. To make runs restarted from equivalent checkpoints follow the same trajectory, we balance matrix pairs and transform their moment estimates together, bringing distinct but equivalent training states to the same starting point. To correct scale imbalance between paired Transformer matrices without changing predictions, we propose Symmetry-Aware Gradient Geometry Stabilization (SAGGS), which periodically equalizes the Frobenius norms of exact symmetry pairs, and its damped variant, Soft SAGGS. SAGGS reduces perplexity (PPL) by 0.374±0.0260.374\pm0.026 at 101M parameters on WikiText-103, and Soft SAGGS reduces PPL by 0.780±0.0400.780\pm0.040 in a 31M modern-architecture replication, both under scale imbalance. In a 123.8M checkpoint-resume experiment, reciprocally rescaling matrix pairs barely changes validation loss at restart but increases final PPL by 3.78±0.423.78\pm0.42; hard and soft rebalancing recover to within 0.020.02 PPL of the control.
Oct 23, 2026

From Parameter Rebasin to Functional Transfer Across Heterogeneous Transformers

Adapting pretrained Transformers to downstream tasks produces task-specific updates that are expensive to reproduce for every model variant. Reusing these updates across different depths and widths is challenging because their parameters have incompatible shapes and do not share a canonical coordinate system. We introduce Ariadne, a training-free method that transfers task-specific behavior across heterogeneous Transformers without resizing the source model or transporting its parameters. Rather than treating the source task vector, i.e. the difference in parameter space between the fine-tuned and the base models, as the object to move, Ariadne characterizes fine-tuning by the activation changes it induces at matched blocks. First, it aligns these effects to a target base through local Procrustes maps. Then, it directly synthesizes a native target update by closed-form ridge regression. Across Transformer expansion, reduction and language-model transfer, Ariadne improves target-model performance while substantially reducing the time and memory required to construct an update relative to previous cross-architecture rebasin approaches. These results show that local functional effects provide an efficient alternative to parameter transport.
Nov 20, 2026

DistP\mathtt{DistP}: Scaling Local-Update Training with Zero-Shot Hyperparameter Transfer

Local-update methods offer a communication-efficient alternative to Distributed Data Parallelism (DDP\mathtt{DDP}), but introduce additional hyperparameters that require costly tuning. For DDP\mathtt{DDP}, zero-shot hyperparameter transfer reduces this cost by reusing settings tuned on smaller models, but its applicability to local-update training remains unclear. We propose DistP\mathtt{DistP}, a theoretical framework extending existing transfer rules from DDP\mathtt{DDP} to local-update training with varying worker counts, local steps, and outer optimizers. With averaging as the outer optimizer, DistP\mathtt{DistP} supports learning-rate transfer across width and depth while improving model quality. The tuned inner learning rate also directly transfers across synchronization intervals, but follows two regimes when increasing the global batch size: square-root learning-rate scaling for larger local batches and a fixed reference rate for additional workers. We then generalize width and depth transfer to other outer optimizers, enabling stable scaling with Adam\mathtt{Adam}. However, with momentum in the outer optimizer, changing batch size or local steps can require inner--outer learning-rate tuning, consistent with prior work. In language-modeling experiments at 823823M parameters, DistP\mathtt{DistP} reduces validation loss by 8.1%8.1\% and improves mean downstream accuracy by 10%10\% relative to baselines without retuning at the larger scale. Fitted scaling laws suggest that this advantage grows with the compute budget, reinforcing the benefits of DistP\mathtt{DistP} for communication-efficient training.