Completed Hyperparameter Transfer across Modules, Width, Depth, Batch and Duration

Bruno Kacper Mlodozeniec, Pierre Ablin, Louis Béthune, Dan Busbridge, Michal Klein, Jason Ramapuram, marco cuturi

Training Large Language Models (LLMs) is prohibitively expensive, making exhaustive hyperparameter tuning at full scale virtually impossible. While frameworks like $\mu$P (Maximal Update Parameterization) allow researchers to transfer optimal learning rates across model widths, they often fall short when scaling other critical dimensions such as depth, batch size, or the total number of training tokens (the "token horizon").

Furthermore, most existing methods search for a single "global" hyperparameter—for instance, one learning rate applied to the entire model. This approach ignores the "per-module" gap: the reality that different components of a transformer (e.g., embedding layers versus MLP blocks) benefit from distinct hyperparameters. However, searching for per-module hyperparameters creates a high-dimensional optimization nightmare that is traditionally intractable for large models.

To solve this, researchers introduce Complete(d)P, a unified parameterization framework that enables the transfer of optimal hyperparameters across model width, depth, batch size, and training duration.

The Complete(d)P Methodology

Complete(d)P refines and extends the earlier "CompleteP" framework to handle the complexities of modern LLM architectures. Key technical contributions include:

  • Multi-Axis Scaling Rules: The authors derive specific scaling rules for both width and depth, incorporating fixes for modern components like Query-Key (QK) Normalization.
  • SDE-Inspired Scaling: Using Stochastic Differential Equations (SDE) as a theoretical lens, the team derived square-root scaling rules for learning rates and weight decay when altering batch sizes and token horizons. This ensures the "noise" of the optimizer remains consistent across different training lengths.
  • Per-Module Optimization via Kronecker Factorization: Instead of relying on one global learning rate, the authors optimize hyperparameters for 13 different module types. To manage the resulting dimensionality, they employ a depth-Kronecker factorization. Here, a hyperparameter is determined by its module type multiplied by a depth-dependent factor, proving that a unique hyperparameter isn't needed for every single layer. Grouping by module type and applying a simple linear interpolation across depth captures almost all the performance gains of a fully uncoupled search.
  • Trust Region Random Search: The researchers characterize the hyperparameter landscape as "invex" (where local minima are global minima) but plagued by sharp "cliffs" where training diverges into NaNs. Because of these cliffs, standard Bayesian Optimization often fails. Instead, local search strategies within a defined "trust region" proved highly effective.
Hyperparameter transfer across width and depth scales

Key Insights and Scaling Results

One of the most significant insights from the study is that the optimal learning rate is not data-agnostic; it decays as the number of training iterations increases. The authors provide a theoretical rule ($\eta \propto 1/\sqrt{\kappa}$) to adjust the learning rate based on the intended training duration.

To evaluate the quality of the transferred hyperparameters, models were pre-trained on the RedPajama dataset. The team optimized hyperparameters on a per-module basis at a small proxy scale (50M parameters) and transferred them directly to a 7.2B parameter model—a 10,000x increase in FLOP budget.

The efficiency gains were substantial:

  • At the 50M parameter scale, per-module hyperparameters reached the target loss level 2.31x faster than optimized global hyperparameters.
  • When transferred to the 7.2B model, a 1.32x training speedup persisted without any additional tuning at scale.
Training speedups from 50M proxy search transferred to 7.2B scale

Beyond training speed, the 7.2B model trained with transferred per-module hyperparameters consistently outperformed the globally optimized model across standard downstream benchmarks, including Common Sense/Reasoning (Piqa, Hellaswag, Winogrande, Arc), Language Modeling (Lambada), and General Knowledge (MMLU).

Limitations and Future Work

While Complete(d)P offers a robust solution for hyperparameter transfer, the study focused exclusively on decoder-only Transformers. These rules may require adjustment for other architectures like Mixture of Experts (MoE) or State Space Models (SSMs). Additionally, the speedup from per-module hyperparameters diminished slightly as the model scaled (from 2.31x at 50M to 1.32x at 7.2B), leaving it an open question whether this trend stabilizes or continues to shrink at the 100B+ scale. Finally, future work could explore whether the shape of the learning rate decay schedule itself should be treated as a per-module hyperparameter, rather than relying on a fixed cosine decay.

Summary updated

BibTeX
@inproceedings{mlodozeniec2026completed,
  author = {Bruno Kacper Mlodozeniec and Pierre Ablin and Louis Béthune and Dan Busbridge and Michal Klein and Jason Ramapuram and marco cuturi},
  title = {{Completed Hyperparameter Transfer across Modules, Width, Depth, Batch and Duration}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=elB9k4nTL1},
}
Figure