Beyond Data Schedule: Fast LLM Pretraining on Data Mixtures by Loss-Reweighting
Jiazheng Li, Huaqing Zhang, Jing Xu, Tianle Cai, Jingzhao Zhang
Key points
From the paper's conclusion- These findings demonstrate that adjusting domain loss scales can improve joint capabilities without additional domain exposure.
Abstract
Large language models often acquire specialized capabilities through successive pretraining stages, but these gains can come at the cost of forgetting earlier knowledge. In this work, we investigate whether such trade-offs can be improved by changing how strongly each domain contributes to learning while keeping its data exposure fixed. We find that, in controlled knowledge--mathematics experiments, loss reweighting produces a single checkpoint that surpasses the best knowledge and reasoning scores attained along either stage trajectory. This reveals an independent control that data-mixture ratios alone do not capture. Building on this finding, we propose LARE (Loss-Adaptive Reweighting under fixed Exposure), which automatically adjusts domain weights from running loss statistics. Motivated by a theoretical analysis of gradient noise, its normalized inverse-square-root rule balances relative loss scales without changing the sampled mixture or requiring additional runs to search for weights. Across knowledge, mathematics, and code, \Method{} improves all five evaluated benchmarks for a 1.5B model trained on 240B tokens, averaging +7.84 pp over a matched direct mixture, including gains of +17.06 pp on GSM8K and +9.00 pp on MATH. These findings demonstrate that adjusting domain loss scales can improve joint capabilities without additional domain exposure.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- LinMix: Data Mixing as Linear Domain AttributionarXiv · 2026
- DAiSy: Online Data Selection by Adaptive Utility Estimation for LLM PretrainingarXiv · 2026
- Data Schedules and Learning Rate Schedules Should Be Designed TogetherarXiv · 2026
- GradReason: LLMs as Meta-Learners that Replace Training Epochs with Training-Data-Free Weight UpdatesarXiv · 2026
- Replay on Demand: An Emergent Curriculum for Balancing Adaptation and Forgetting in Continued PretrainingarXiv · 2026
- High-Value Training Data from Noisy, Diverse SourcesarXiv · 2026