SampleMix:一种协调数据质量与多样性的样本级预训练数据混合策略
SampleMix: A Sample-wise Pre-training Data Mixing Strategey by Coordinating Data Quality and Diversity
AI总结:
提出SampleMix,一种基于自下而上范式的样本级预训练数据混合方法,通过评估单样本质量与多样性进行全局跨域采样,有效提升数据全局多样性与分布,超越现有领域级方法并显著降低训练成本。
摘要:
大型语言模型(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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。