atlas

Research map / Continual learning / Continual fine-tuning of LLMs

Learning Dynamics in Continual Pre-Training for Large Language Models

ICML 2025 · Continual learning › Continual fine-tuning of LLMs · approach: Continual pretraining of language models · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Derives a continual pre-training (CPT) scaling law that decomposes the CPT loss curve into an LR-annealing scaling law plus a power-law distribution shift term, predicting per-step general (D_pt) and downstream (D_cpt) validation loss and guiding hyper-parameter choice.

Problem

Existing scaling laws for continual pre-training only predict final loss and do not describe how general and downstream validation losses evolve at each CPT step under varying learning rate schedules, peak LRs, and replay ratios.

Approach

The CPT loss curve is a transfer curve between two hidden pre-training curves; it is modeled as an LR-annealing scaling law (forward and annealing areas) plus a power-law distribution shift term driven by the CPT forward area, enabling step-wise prediction and hyper-parameter optimization for balancing general and downstream loss.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add LR-weighted coefficient ε=0.1 to S_2 (ablation)CPT scaling law · D_pt (FineWeb) and D_cpt (Knowledge Pile)Huber Loss: D_pt: 0.0016 -> 0.0016; D_cpt: 0.0021 -> 0.0025Mixed
add LR-weighted coefficient ε=0.2 to S_2 (ablation)CPT scaling law · D_pt (FineWeb) and D_cpt (Knowledge Pile)Huber Loss: D_pt: 0.0016 -> 0.0017; D_cpt: 0.0021 -> 0.0024Mixed
use S_2 power format (ablation)CPT scaling law · D_pt (FineWeb) and D_cpt (Knowledge Pile)Huber Loss: D_pt: 0.0016 -> 0.0016; D_cpt: 0.0021 -> 0.0025Mixed
use higher loss-potential PT modelsContinual pre-training · D_cpt (Knowledge Pile)validation lossHelped
increase CPT peak learning rateContinual pre-training · D_cpt (downstream) and D_pt (general)validation lossMixed
increase the PT-data replay ratioContinual pre-training · D_pt and D_cpt validation setsdistribution shiftHelped
increase CPT training stepsContinual pre-training · D_cptvalidation lossHelped
continue CPT after the critical pointContinual pre-training · D_ptvalidation lossHurt
fit the CPT scaling law using a proxy D_pt dataset and fitted unknown PT training amountOpen-source PT models · RedPajama-C4 proxy D_pt and Pile-of-Law D_cptloss predictionHelped
represent OOD validation loss as a linear combination of D_pt and D_cpt lossesCPT scaling law · Out-of-domain validation datasetsvalidation loss predictionHelped

Surprising findings

Limitations

Experimental setup

Datasets: FineWeb Knowledge-Pile Pile-of-Law RedPajama (C4 proxy) StackExchange arXiv PhilPapers Books SlimPajama Open-Web-Math

Benchmarks: FineWeb validation loss (D_pt) Knowledge-Pile validation loss (D_cpt) Pile-of-Law validation loss out-of-domain validation sets

Metrics: validation loss Huber loss R^2 absolute error

Baselines: D-CPT law CMR

Builds on: Chinchilla scaling law scaling law with LR annealing (WSD) D-CPT law Data Mixing Law

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy