paper-with-me

홈 › Papers

Simple and Scalable Strategies to Continually Pre-train Large Language Models

2024-03-13 · Adam Ibrahim, Benjamin Thérien, Kshitij Gupta, Mats L. Richter, Quentin Anthony, Timothée Lesort, Eugene Belilovsky, Irina Rish

Large language models (LLMs) are routinely pre-trained on billions of tokens, only to start the process over again once new data becomes available. A much more efficient solution is to continually pre-train these models, saving significant compute compared to re-training. However, the distribution shift induced by new data typically results in degraded performance on previous data or poor adaptation to the new data. In this work, we show that a simple and scalable combination of learning rate (LR) re-warming, LR re-decaying, and replay of previous data is sufficient to match the performance of fully re-training from scratch on all available data, as measured by the final loss and the average score on several language model (LM) evaluation benchmarks. Specifically, we show this for a weak but realistic distribution shift between two commonly used LLM pre-training datasets (English$\rightarrow$English) and a stronger distribution shift (English$\rightarrow$German) at the $405$M parameter model scale with large dataset sizes (hundreds of billions of tokens). Selecting the weak but realistic shift for larger-scale experiments, we also find that our continual learning strategies match the re-training baseline for a 10B parameter LLM. Our results demonstrate that LLMs can be successfully updated via simple and scalable continual learning strategies, matching the re-training baseline using only a fraction of the compute. Finally, inspired by previous work, we propose alternatives to the cosine learning rate schedule that help circumvent forgetting induced by LR re-warming and that are not bound to a fixed token budget.

📄 PDF Abstract BibTeX arXiv:2403.08763

Code (1)

eleutherai/gpt-neox 공식 구현 pytorch

Tasks

Continual LearningLanguage Modelling

Similar Papers 제목 키워드 기반

Random Representations Outperform Online Continually Learned Representations

2024-02-13 · Ameya Prabhu, Shiven Sinha, Ponnurangam Kumaraguru, Philip H. S. Torr 외

Continual learning has primarily focused on the issue of catastrophic forgetting and the associated stability-plasticity tradeoffs. However, little attention has been paid to the efficacy of continually learned represent…

Continual LearningExemplar-FreeRepresentation Learning

Continual Learning for Blind Image Quality Assessment

2021-02-19 · Weixia Zhang, Dingquan Li, Chao Ma, Guangtao Zhai 외

The explosive growth of image data facilitates the fast development of image processing and computer vision methods for emerging visual applications, meanwhile introducing novel distortions to the processed images. This …

Continual LearningImage Quality AssessmentNo-Reference Image Quality Assessment

LLM Post-Training: A Deep Dive into Reasoning Large Language Models

2025-02-28 · Komal Kumar, Tajamul Ashraf, Omkar Thawakar, Rao Muhammad Anwer 외

Large Language Models (LLMs) have transformed the natural language processing landscape and brought to life diverse applications. Pretraining on vast web-scale data has laid the foundation for these models, yet the resea…

Process Reward Models for LLM Agents: Practical Framework and Directions

2025-02-14 · Sanjiban Choudhury

We introduce Agent Process Reward Models (AgentPRM), a simple and scalable framework for training LLM agents to continually improve through interactions. AgentPRM follows a lightweight actor-critic paradigm, using Monte …

Continual Pre-training of MoEs: How robust is your router?

2025-03-06 · Benjamin Thérien, Charles-Étienne Joseph, Zain Sarwar, Ashwinee Panda 외

Sparsely-activated Mixture of Experts (MoE) transformers are promising architectures for foundation models. Compared to dense transformers that require the same amount of floating point operations (FLOPs) per forward pas…

DecoderMixture-of-Experts