A Little Help Goes a Long Way: Efficient LLM Training by Leveraging Small LMs

Ankit Singh Rawat, Veeranjaneyulu Sadhanala, Afshin Rostamizadeh, Ayan Chakrabarti, Wittawat Jitkrittum +10 more
10/24/2024
cs.LGcs.CL

No confident code implementation found for this paper.

Abstract

A primary challenge in large language model (LLM) development is their onerous pre-training cost. Typically, such pre-training involves optimizing a self-supervised objective (such as next-token prediction) over a large corpus. This paper explores a promising paradigm to improve LLM pre-training efficiency and quality by suitably leveraging a small language model (SLM). In particular, this paradigm relies on an SLM to both (1) provide soft labels as additional training supervision, and (2) select a small subset of valuable ("informative" and "hard") training examples. Put together, this enables an effective transfer of the SLM's predictive distribution to the LLM, while prioritizing specific regions of the training data distribution. Empirically, this leads to reduced LLM training time compared to standard training, while improving the overall quality. Theoretically, we develop a statistical framework to systematically study the utility of SLMs in enabling efficient training of high-quality LLMs. In particular, our framework characterizes how the SLM's seemingly low-quality supervision can enhance the training of a much more capable LLM. Furthermore, it also highlights the need for an adaptive utilization of such supervision, by striking a balance between the bias and variance introduced by the SLM-provided soft labels. We corroborate our theoretical framework by improving the pre-training of an LLM with 2.8B parameters by utilizing a smaller LM with 1.5B parameters on the Pile dataset.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{rawat2024little,
  title  = {A Little Help Goes a Long Way: Efficient LLM Training by Leveraging Small LMs},
  author = {Ankit Singh Rawat and Veeranjaneyulu Sadhanala and Afshin Rostamizadeh and Ayan Chakrabarti and Wittawat Jitkrittum and Vladimir Feinberg and Seungyeon Kim and Hrayr Harutyunyan and Nikunj Saunshi and Zachary Nado and Rakesh Shivanna and Sashank J. Reddi and Aditya Krishna Menon and Rohan Anil and Sanjiv Kumar},
  year   = {2024},
  eprint = {2410.18779},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.18779v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.18779.svg)](https://codeofpaper.com/paper/2410.18779)

Discussion