Continued Pretraining.

Further training of an existing base model on new or domain-specific data to extend its knowledge without starting from scratch.

Continued pretraining is a training approach where an already-pretrained language model undergoes additional self-supervised learning on new datasets to expand its capabilities or knowledge. Unlike training from scratch, this method leverages the existing learned representations and patterns in the base model, making it more efficient and cost-effective. This technique has become essential for adapting models to new domains, incorporating recent information, or improving performance on specific tasks while preserving the model's general capabilities.

The process involves feeding the pretrained model additional text data using the same self-supervised learning objective as the original pretraining phase, typically next-token prediction. The model continues to learn patterns and knowledge from the new data while building upon its existing understanding. Key considerations include learning rate scheduling to avoid catastrophic forgetting, data quality and relevance, and balancing the amount of new training to achieve desired improvements without degrading existing capabilities. This differs from fine-tuning, which typically uses supervised learning with labeled data for specific tasks.

Continued pretraining offers significant advantages in computational efficiency compared to training from scratch, often requiring orders of magnitude less compute while achieving substantial improvements. However, practitioners must carefully manage the risk of catastrophic forgetting, where the model loses previously learned capabilities, and ensure the new training data aligns with their objectives. Common applications include updating models with recent information, adapting general models to specific domains like medicine or law, and improving performance on underrepresented languages or topics in the original training data.