超越数据调度:通过损失重加权在混合数据上快速预训练大语言模型

arXiv cs.LG 论文

摘要

本文提出了 LARE(固定曝光量下的损失自适应重加权),该方法在大语言模型预训练过程中,根据持续统计的损失数据调整各领域的损失权重。在数据混合配比相同的条件下,该方法使一个 15 亿参数模型在五项基准测试中的表现平均提升了 7.84 个百分点。

arXiv:2610.32141v1 Announce Type: new 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.
查看原文
查看缓存全文

缓存时间: 2026/10/28 01:36

# Beyond Data Schedule: Fast LLM Pretraining on Data Mixtures by Loss-Reweighting
Source: [https://arxiv.org/abs/2610.32141](https://arxiv.org/abs/2610.32141)
[View PDF](https://arxiv.org/pdf/2610.32141)

> 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\.

## Submission history

From: Jiazheng Li \[[view email](https://arxiv.org/show-email/379b5198/2610.32141)\] **\[v1\]**Fri, 23 Oct 2026 04:09:46 UTC \(822 KB\)

相似文章

大语言模型预训练的数据混合:综述与展望

arXiv cs.CL

# 大语言模型预训练的数据混合:综述与展望 来源:[https://arxiv.org/abs/2604.16380](https://arxiv.org/abs/2604.16380) [查看 PDF](https://arxiv.org/pdf/2604.16380) > 摘要:大型语言模型(LLMs)依赖于在海量且异构的语料上进行预训练,在现实中的计算和数据预算限制下,训练数据的构成对训练效率和下游泛化能力有着决定性的影响。与样本级的数据选择不同,数据混