paper-with-me

Papers

Continual Pre-Training of Large Language Models: How to (re)warm your model?

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

Large language models (LLMs) are routinely pre-trained on billions of tokens, only to restart the process over again once new data becomes available. A much cheaper and more efficient solution would be to enable the continual pre-training of these models, i.e. updating pre-trained models with new data instead of re-training them from scratch. However, the distribution shift induced by novel data typically results in degraded performance on past data. Taking a step towards efficient continual pre-training, in this work, we examine the effect of different warm-up strategies. Our hypothesis is that the learning rate must be re-increased to improve compute efficiency when training on a new dataset. We study the warmup phase of models pre-trained on the Pile (upstream data, 300B tokens) as we continue to pre-train on SlimPajama (downstream data, 297B tokens), following a linear warmup and cosine decay schedule. We conduct all experiments on the Pythia 410M language model architecture and evaluate performance through validation perplexity. We experiment with different pre-training checkpoints, various maximum learning rates, and various warmup lengths. Our results show that while rewarming models first increases the loss on upstream and downstream data, in the longer run it improves the downstream performance, outperforming models trained from scratch$\unicode{x2013}$even for a large downstream dataset.

📄 PDF Abstract BibTeX arXiv:2308.04014

Code (2)

eleutherai/gpt-neox 공식 구현 pytorch
openaccess-ai-collective/axolotl pytorch

Tasks

Language Modelling

Methods 이 논문이 사용한 방법론

Linear Warmup Linear Warmup is a learning rate schedule where we linearly increase the learning rate from a low rate to a constant rate thereafter. This reduces volatility in the early…
Pythia Pythia is a suite of decoder-only autoregressive language models all trained on public data seen in the exact same order and ranging in size from 70M to 12B parameters. The…

Similar Papers 제목 키워드 기반

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

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

2024-03-13 · Adam Ibrahim, Benjamin Thérien, Kshitij Gupta, Mats L. Richter 외

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,…

Continual LearningLanguage Modelling

When Your Own Output Becomes Your Training Data: Noise-to-Meaning Loops and a Formal RSI Trigger

2025-05-05 · Rintaro Ando

We present Noise-to-Meaning Recursive Self-Improvement (N2M-RSI), a minimal formal model showing that once an AI agent feeds its own outputs back as inputs and crosses an explicit information-integration threshold, its i…

AI AgentAutoML

Large Language Model Empowered Recommendation Meets All-domain Continual Pre-Training

2025-04-11 · Haokai Ma, Yunshan Ma, Ruobing Xie, Lei Meng 외

Recent research efforts have investigated how to integrate Large Language Models (LLMs) into recommendation, capitalizing on their semantic comprehension and open-world knowledge for user behavior understanding. These ap…

AllLanguage ModelingLanguage ModellingLarge Language Model+1

Beyond Cosine Decay: On the effectiveness of Infinite Learning Rate Schedule for Continual Pre-training

2025-03-04 · Vaibhav Singh, Paul Janson, Paria Mehrbod, Adam Ibrahim 외

The ever-growing availability of unlabeled data presents both opportunities and challenges for training artificial intelligence systems. While self-supervised learning (SSL) has emerged as a powerful paradigm for extract…

Self-Supervised Learning