Continued Pre-Training

Category: Generative AI / LLM

The process of further pre-training an existing model on domain-specific text data to enhance its knowledge in a particular field before task-specific fine-tuning.

Full Explanation

Continued pre-training (also called domain-adaptive pre-training) extends a model pre-training on a new corpus, typically domain-specific text, to improve its performance in a particular field. Unlike fine-tuning on labeled task data, continued pre-training uses the same self-supervised objectives as original pre-training (next-token prediction or masked language modeling) on unlabeled domain text. This is valuable for domains with specialized terminology and knowledge that is underrepresented in general pre-training data, such as medicine, law, finance, or science. Models like BioGPT, CodeLlama, and finance-specific models use continued pre-training. The approach requires careful learning rate scheduling to prevent catastrophic forgetting of general capabilities. Continued pre-training is typically followed by instruction tuning and alignment to create a domain-specialized assistant.

Related Terms

More in Generative AI / LLM

Explore More