2025-03-04 · 进阶 · 自然语言处理

SampleMix: A Sample-wise Pre-training Data Mixing Strategey by Coordinating Data Quality and Diversity

SampleMix通过协调数据质量和多样性,提出了一种新的样本级预训练数据混合策略,显著提升了语言模型预训练的效率和性能。

更新于 2025-03-04。作者:Xiangyu Xi、Deyang Kong、Jian Yang、Jiawei Yang、Zhengyu Chen、Wei Wang、Jingang Wang、Xunliang Cai、Shikun Zhang、Wei Ye。

中文摘要

现有的大语言模型(LLMs)预训练数据混合方法通常遵循一种按领域的方法论,这是一种自上而下的过程,首先确定领域权重,然后在每个领域内进行统一的数据采样。然而,这些方法忽略了显著的跨领域重叠和共性,未能控制构建的训练数据集的全局多样性。此外,在领域内的均匀采样忽略了样本特定的细粒度特征,可能导致数据分布次优。为了解决这些不足,我们提出了一种基于自下而上范式的样本级数据混合方法。该方法通过系统地评估每个样本的质量和多样性,进行全局跨领域采样,从而动态确定最优的领域分布。在多个下游任务和困惑度评估中的全面实验表明,SampleMix优于现有的基于领域的混合方法。同时,SampleMix需要1.4倍到2.1倍的训练步骤才能达到基线性能,突显了SampleMix优化预训练数据的巨大潜力。

英文摘要

Existing pretraining data mixing methods for large language models (LLMs) typically follow a domain-wise methodology, a top-down process that first determines domain weights and then performs uniform data sampling across each domain. However, these approaches neglect significant inter-domain overlaps and commonalities, failing to control the global diversity of the constructed training dataset. Further, uniform sampling within domains ignores fine-grained sample-specific features, potentially leading to suboptimal data distribution. To address these shortcomings, we propose a novel sample-wise data mixture approach based on a bottom-up paradigm. This method performs global cross-domain sampling by systematically evaluating the quality and diversity of each sample, thereby dynamically determining the optimal domain distribution. Comprehensive experiments across multiple downstream tasks and perplexity assessments demonstrate that SampleMix surpasses existing domain-based methods. Meanwhile, SampleMix requires 1.4x to 2.1x training steps to achieves the baselines' performance, highlighting the substantial potential of SampleMix to optimize pre-training data.

解读

一句话总结

SampleMix通过协调数据质量和多样性,提出了一种新的样本级预训练数据混合策略,显著提升了语言模型预训练的效率和性能。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源