Warmstarting for Scaling Language Models

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Mallik, Neeratyoy, Janowski, Maciej, Hog, Johannes, Rakotoarison, Herilalaina, Klein, Aaron, Grabocka, Josif, Hutter, Frank
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866917834559324160
author Mallik, Neeratyoy
Janowski, Maciej
Hog, Johannes
Rakotoarison, Herilalaina
Klein, Aaron
Grabocka, Josif
Hutter, Frank
author_facet Mallik, Neeratyoy
Janowski, Maciej
Hog, Johannes
Rakotoarison, Herilalaina
Klein, Aaron
Grabocka, Josif
Hutter, Frank
contents Scaling model sizes to scale performance has worked remarkably well for the current large language models paradigm. The research and empirical findings of various scaling studies led to novel scaling results and laws that guides subsequent research. High training costs for contemporary scales of data and models result in a lack of thorough understanding of how to tune and arrive at such training setups. One direction to ameliorate the cost of pretraining large models is to warmstart the large-scale training from smaller models that are cheaper to tune. In this work, we attempt to understand if the behavior of optimal hyperparameters can be retained under warmstarting for scaling. We explore simple operations that allow the application of theoretically motivated methods of zero-shot transfer of optimal hyperparameters using μTransfer. We investigate the aspects that contribute to the speedup in convergence and the preservation of stable training dynamics under warmstarting with μTransfer. We find that shrinking smaller model weights, zero-padding, and perturbing the resulting larger model with scaled initialization from μP enables effective warmstarting of $\mut{}$.
format Preprint
id arxiv_https___arxiv_org_abs_2411_07340
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Warmstarting for Scaling Language Models
Mallik, Neeratyoy
Janowski, Maciej
Hog, Johannes
Rakotoarison, Herilalaina
Klein, Aaron
Grabocka, Josif
Hutter, Frank
Machine Learning
Artificial Intelligence
Scaling model sizes to scale performance has worked remarkably well for the current large language models paradigm. The research and empirical findings of various scaling studies led to novel scaling results and laws that guides subsequent research. High training costs for contemporary scales of data and models result in a lack of thorough understanding of how to tune and arrive at such training setups. One direction to ameliorate the cost of pretraining large models is to warmstart the large-scale training from smaller models that are cheaper to tune. In this work, we attempt to understand if the behavior of optimal hyperparameters can be retained under warmstarting for scaling. We explore simple operations that allow the application of theoretically motivated methods of zero-shot transfer of optimal hyperparameters using μTransfer. We investigate the aspects that contribute to the speedup in convergence and the preservation of stable training dynamics under warmstarting with μTransfer. We find that shrinking smaller model weights, zero-padding, and perturbing the resulting larger model with scaled initialization from μP enables effective warmstarting of $\mut{}$.
title Warmstarting for Scaling Language Models
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2411.07340