arXiv:2505.21598cs.CL2025-05Conference of the …综述被引 2

如何分配不同数据域比例,让大模型在算力有限下表现最优?

Rethinking Data Mixture for Large Language Models: A Comprehensive Survey and New Perspectives

  • 提出细粒度分类框架,区分离线与在线数据混合方法
  • 系统梳理各类算法的数学原理与适用场景
  • 为资源受限下的模型训练提供决策参考

使用来自多个领域的数据训练大语言模型可提升其在下游任务中的表现。然而,在固定训练预算下,不同领域数据的采样比例会显著影响模型性能。如何在计算资源受限的前提下,确定各数据域的权重以训练出最优模型?本文对现有数据混合方法进行了全面综述。首先,提出一种细粒度分类体系,将原有离线与在线分类扩展为更精细的子类:离线方法分为基于启发式、基于算法和基于函数拟合三类;在线方法则根据其优化框架,分为在线极小极大优化、在线混合规律和其他方法。其次,总结各类方法的问题形式、代表性算法,并厘清它们之间的关联与差异。最后,讨论各方法的优缺点,指出现有研究的关键挑战。

原文摘要 · Abstract (English)

Training large language models with data collected from various domains can improve their performance on downstream tasks. However, given a fixed training budget, the sampling proportions of these different domains significantly impact the model's performance. How can we determine the domain weights across different data domains to train the best-performing model within constrained computational resources? In this paper, we provide a comprehensive overview of existing data mixture methods. First, we propose a fine-grained categorization of existing methods, extending beyond the previous offline and online classification. Offline methods are further grouped into heuristic-based, algorithm-based, and function fitting-based methods. For online methods, we categorize them into three groups: online min-max optimization, online mixing law, and other approaches by drawing connections with the optimization frameworks underlying offline methods. Second, we summarize the problem formulations, representative algorithms for each subtype of offline and online methods, and clarify the relationships and distinctions among them. Finally, we discuss the advantages and disadvantages of each method and highlight key challenges in the field of data mixture.

大模型训练数据混合优化方法

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。