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

Olmix: 一种用于大型语言模型开发中数据混合的框架

Olmix: A Framework for Data Mixing Throughout LM Development

Allen Institute for AI(艾伦人工智能研究所);Stanford University(斯坦福大学);University of Washington(华盛顿大学)

Mayee F. Chen, Tyler Murray, David Heineman, Matt Jordan, Hannaneh Hajishirzi, Christopher Ré, Luca Soldaini, Kyle Lo

AI总结:

Olmix通过混合重用机制,在LM开发中高效处理动态变化的领域集合,减少计算量并提升下游任务性能。

摘要:

在训练语言模型(LMs)时,数据混合——确定不同领域数据的比例——是一个首要关注的问题。尽管现有混合方法显示出一定的前景,但在实际应用中的LM开发中却显得不足。我们提出了Olmix,一个解决这两个挑战的框架。首先,开发混合方法的配置空间并不清晰——现有方法中的设计选择缺乏理论依据或共识,并忽略了实际问题如数据限制。我们对这一空间进行了全面的实证研究,确定哪些设计选择能够产生强大的混合方法。其次,在实践中,随着LM开发的进行,领域集合会不断变化,因为数据集被添加、删除、划分和修订——这一问题设置在现有工作中几乎未被解决,因为现有方法假设领域是固定的。我们研究了如何在领域集合更新后高效地重新计算混合,利用过去混合的信息。我们引入了混合重用机制,该机制重用现有的比例,并仅对受更新影响的领域重新计算比例。在模拟真实世界LM开发的五次领域集合更新序列中,混合重用在计算上比每次更新后完全重新计算混合减少了74%,并在下游任务上比无混合训练提高了11.6%。

英文摘要:

Data mixing -- determining the ratios of data from different domains -- is a first-order concern for training language models (LMs). While existing mixing methods show promise, they fall short when applied during real-world LM development. We present Olmix, a framework that addresses two such challenges. First, the configuration space for developing a mixing method is not well understood -- design choices across existing methods lack justification or consensus and overlook practical issues like data constraints. We conduct a comprehensive empirical study of this space, identifying which design choices lead to a strong mixing method. Second, in practice, the domain set evolves throughout LM development as datasets are added, removed, partitioned, and revised -- a problem setting largely unaddressed by existing works, which assume fixed domains. We study how to efficiently recompute the mixture after the domain set is updated, leveraging information from past mixtures. We introduce mixture reuse, a mechanism that reuses existing ratios and recomputes ratios only for domains affected by the update. Over a sequence of five domain-set updates mirroring real-world LM development, mixture reuse matches the performance of fully recomputing the mix after each update with 74% less compute and improves over training without mixing by 11.6% on downstream tasks.

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

↑