arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.17066cs.AI
收藏

预测批量调度:通过损失感知的样本优先级加速语言模型训练

Predictive Batch Scheduling: Accelerating Language Model Training Through Loss-Aware Sample Prioritization

Georgia Institute of Technology(佐治亚理工学院)

Sumedh Rasal

AI总结:

预测批量调度通过损失感知的样本优先级加速语言模型训练,利用轻量级预测器提升收敛速度,实现高效课程学习。

摘要:

我们引入了预测批量调度(PBS),一种新颖的训练优化技术,通过在批量构建过程中动态优先处理高损失样本来加速语言模型的收敛。不同于需要预定义难度度量的课程学习方法或需要昂贵的每样本损失跟踪的硬样本挖掘方法,PBS采用一个轻量级的线性预测器在线训练,从静态的token级特征估计样本难度。我们的预测器仅使用四个简单的特征:token频率、序列长度、词汇多样性以及罕见token比例,就能达到0.44的与实际损失的相关性。在130M参数transformer上的实验表明,PBS在训练检查点上以评估损失为衡量标准,实现了6-13%的更快收敛,预测器的相关性在10,000次训练步骤中从0.14提升到0.44。这些结果验证了token频率统计编码了关于样本难度有意义的信息,使得能够通过几乎不增加计算开销的方式实现有效的课程学习。

英文摘要:

We introduce Predictive Batch Scheduling (PBS), a novel training optimization technique that accelerates language model convergence by dynamically prioritizing high-loss samples during batch construction. Unlike curriculum learning approaches that require predefined difficulty metrics or hard example mining methods that demand expensive per-sample loss tracking, PBS employs a lightweight linear predictor trained online to estimate sample difficulty from static token-level features. Our predictor achieves 0.44 correlation with actual loss using only four simple features: token frequency, sequence length, vocabulary diversity, and rare token ratio. Experiments on a 130M parameter transformer demonstrate that PBS achieves 6-13\% faster convergence measured by evaluation loss across training checkpoints, with the predictor's correlation improving from 0.14 to 0.44 over 10,000 training steps. These results validate that token frequency statistics encode meaningful information about sample difficulty, enabling effective curriculum learning with negligible computational overhead.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑