Reproduce “Learning Dynamics in Continual Pre-Training for Large Language Models” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Xingjin Wang, Howe Tissue, Lu Wang, Linjing Li, Daniel Dajun Zeng
Researchers from the University of Chinese Academy of Sciences and Ritzz-AI developed a novel scaling law that describes the dynamic evolution of Large Language Model performance during Continual Pre-Training. The law accurately predicts validation loss at each training step by decoupling the effects of learning rate annealing and data distribution shift, demonstrating that models with higher initial 'loss potential' adapt better to new domains.
Key insights
- CPT loss curves behave as a 'transfer curve,' evolving from a trajectory resembling continued pre-training on the original dataset to one resembling training from scratch on the new dataset.
- Pre-trained models retaining higher 'loss potential' (less annealed during pre-training) achieve lower continual pre-training (CPT) validation losses on new domains.
- Out-of-domain (OOD) loss can be accurately predicted as a linear combination of original pre-training dataset (D_pt) and CPT dataset (D_cpt) losses, simplifying OOD optimization.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.