Beyond Data Schedule: Fast LLM Pretraining on Data Mixtures by Loss-Reweighting
On the map: LLM pre-training data and scaling laws → Continual pre-training and training dynamics also fits: Data mixtures and data selection
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Continual pre-training and training dynamics, one of 8 directions in LLM pre-training data and scaling laws. Builds on 52 of its 59 references that are in the map. Submitted 23 Oct 2026.
Builds on
52 of 59 references.
Closest ancestors · 3
Same direction, newest first
- 2024Investigating Continual Pretraining in Large Language Models: Insights and Implications27 Feb
- 2023Continual Pre-training of Language Models7 Feb
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Tasks23 Apr
Other references · 49
- 2021Training Verifiers to Solve Math Word Problemscited by 11,055
- 2021Evaluating Large Language Models Trained on Codecited by 8,938
- 2020Measuring Massive Multitask Language Understandingcited by 8,473
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,852
- 2021Program Synthesis with Large Language Modelscited by 3,972
- 2022Training Compute-Optimal Large Language Modelscited by 3,290
- 2023CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Societycited by 1,484
- 2017Multi-Task Learning Using Uncertainty to Weigh Losses for Scene Geometry and Semanticscited by 1,416
- 2024OlympiadBench: A Challenging Benchmark for Promoting AGI with Olympiad-Level Bilingual Multimodal Scientific Problemscited by 1,230
- 2017GradNorm: Gradient Normalization for Adaptive Loss Balancing in Deep Multitask Networkscited by 882
- 2018Multi-Task Learning as Multi-Objective Optimizationcited by 855
- 2023MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Modelscited by 782
37 more
- 2023MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuningcited by 507
- 2023DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretrainingcited by 436
- 2024OpenMathInstruct-2: Accelerating AI for Math with Massive Open-Source Instruction Datacited by 224
- 2024Data Mixing Laws: Optimizing Data Mixtures by Predicting Language Modeling Performancecited by 206
- 2024RegMix: Data Mixture as Regression for Language Model Pre-trainingcited by 197
- 2024MAmmoTH2: Scaling Instructions from the Webcited by 157
- 2024OpenCoder: The Open Cookbook for Top-Tier Code Large Language Modelscited by 148
- 2013Stochastic Gradient Descent, Weighted Sampling, and the Randomized Kaczmarz algorithmcited by 140
- 2023Skill-it! A Data-Driven Skills Framework for Understanding and Training Language Modelscited by 132
- 2025Fantastic Pretraining Optimizers and Where to Find Themcited by 119
- 2023DoGE: Domain Reweighting with Generalization Estimationcited by 100
- 2024Augmenting Math Word Problems via Iterative Question Composingcited by 61
- 2024MathCoder2: Better Math Reasoning from Continued Pretraining on Model-translated Mathematical Codecited by 40
- 2024AutoScale: Scale-Aware Data Mixing for Pre-Training LLMscited by 27
- 2025Rewriting Pre-Training Data Boosts LLM Performance in Math and Codecited by 26
- 2025Dynamic Loss-Based Sample Reweighting for Improved Large Language Model Pretrainingcited by 20
- 2025Data Mixing Can Induce Phase Transitions in Knowledge Acquisitioncited by 18
- 2025Chameleon: A Flexible Data-mixing Framework for Language Model Pretraining and Finetuningcited by 18
- 2026Olmix: A Framework for Data Mixing Throughout LM Developmentcited by 18
- 2025Scalable Model Merging with Progressive Layer-wise Distillationcited by 15
- 2024Dynamic Gradient Alignment for Online Data Mixingcited by 11
- 2026MergeMix: Optimizing Mid-Training Data Mixtures via Learnable Model Mergingcited by 10
- 2026Forgetting in Language Models: Capacity, Optimization, and Self-Generated Replaycited by 9
- 2025Data Mixing Agent: Learning to Re-weight Domains for Continual Pre-trainingcited by 8
- 2025Optimizing Pre-Training Data Mixtures with Mixtures of Data Expert Modelscited by 7
- 2025Topic Over Source: The Key to Effective Data Mixing for Language Models Pre-trainingcited by 7
- 2025Rethinking Data Mixture for Large Language Models: A Comprehensive Survey and New Perspectivescited by 6
- 2026Nexus: Same Pretraining Loss, Better Downstream Generalization via Common Minimacited by 6
- 2025AC-ODM: Actor--Critic Online Data Mixing for Sample-Efficient LLM Pretrainingcited by 3
- 2026Decouple Searching from Training: Scaling Data Mixing via Model Merging for Large Language Model Pre-trainingcited by 3
- 2026Rethinking Data Mixing from the Perspective of Large Language Modelscited by 3
- 2026FastMix: Fast Data Mixture Optimization via Gradient Descentcited by 3
- 2026Scaling Domain Data Repetition in LLM Pretrainingcited by 3
- 2026Capacity-Aware Mixture Law Enables Efficient LLM Data Optimizationcited by 2
- 2026Data Mixing for Large Language Models Pretraining: A Survey and Outlookcited by 2
- 2025Sampling and Loss Weights in Multi-Domain Trainingcited by 1
- 2026Holistic Data Scheduler for LLM Pre-training via Multi-Objective Reinforcement Learningcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Exploring Criteria of Loss Reweighting to Enhance LLM Unlearning
- 2024CMR Scaling Law: Predicting Critical Mixture Ratios for Continual Pre-training of Language Models
- 2026Rethinking Data Curation in LLM Training: Online Reweighting Offers Better Generalization than Offline Methods
- 2026Domain-Aware Scaling Laws Uncover Data Synergy
- 2026Can a Language Model Learn Facts Continually in Its Weights?
- 2025GRAPE: Optimize Data Mixture for Group Robust Multi-target Adaptive Pretraining
- 2024Simple and Scalable Strategies to Continually Pre-train Large Language Models
- 2026Scaling Laws for Mixture Pretraining Under Data Constraints