AbstractPaper



Tensor Programs V: Tuning Large Neural Networks Via Zero-Shot Hyperparameter Transfer


ARXIV  ·  2022  ·  Impact 6

Greg Yang; Edward J. Hu; Igor Babuschkin; Szymon Sidor; Xiaodong Liu; David Farhi; Nick Ryder; Jakub Pachocki; Weizhu Chen; Jianfeng Gao;


HIGHLIGHT
We show that, in the recently discovered Maximal Update Parametrization (muP), many optimal HPs remain stable even as model size changes.
RELATED
Papers      Patents     Grants     Venues     Experts     Code    Cite    Share    Save


ABSTRACT
Hyperparameter (HP) tuning in deep learning is an expensive process, prohibitively so for neural networks (NNs) with billions of parameters. We show that, in the recently discovered Maximal Update Parametrization (muP), many optimal HPs remain stable even as model size changes. This leads to a new HP tuning paradigm we call muTransfer: parametrize the target model in muP, tune the HP indirectly on a smaller model, and zero-shot transfer them to the full-sized model, i.e., without directly tuning the latter at all. We verify muTransfer on Transformer and ResNet. For example, 1) by transferring pretraining HPs from a model of 13M parameters, we outperform published numbers of BERT-large (350M parameters), with a total tuning cost equivalent to pretraining BERT-large once; 2) by transferring from 40M parameters, we outperform published numbers of the 6.7B GPT-3 model, with tuning cost only 7% of total pretraining cost. A Pytorch implementation of our technique can be found at github.com/microsoft/mup and installable via `pip install mup`.

 Paraphrase     Questionfy     Wikify     Simplify     Summarize


FULL PAPER
Download

impact factor6
year_of_publication2022
sourceARXIV
commentNeurIPS 2021

AI Reader
upload a document and start your AI-powered reading
AI Writer
you focus on what matters the most, we handle the rest
Daily Digest
get customized highlights of the latest research & news