arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.02033cs.LGcs.DBcs.DC
收藏

Data-Juicer:面向大型语言模型的一站式数据处理系统

Data-Juicer: A One-Stop Data Processing System for Large Language Models

Alibaba Group(阿里巴巴集团)

Daoyuan Chen, Yilun Huang, Zhijian Ma, Hesen Chen, Xuchen Pan, Ce Ge, Dawei Gao, Yuexiang Xie, Zhaoyang Liu, Jinyang Gao, Yaliang Li, Bolin Ding, Jingren Zhou

AI总结:

Data-Juicer是一个一站式数据处理系统,通过细粒度管道抽象和50多个内置算子,高效生成多样化数据配方,显著提升LLM在基准测试和GPT-4评估中的性能。

摘要:

大型语言模型(LLM)的巨大发展凸显了大规模、异构、高质量数据的重要性。数据配方(data recipe)是用于训练LLM的不同来源数据的混合,对LLM的性能起着至关重要的作用。现有的开源LLM数据处理工具大多针对特定数据配方定制。为了持续挖掘LLM的潜力、纳入新来源的数据并提升LLM性能,我们构建了一个名为Data-Juicer的新系统,利用它可以高效地生成多样化的数据配方,探索形成数据混合的不同可能性,并评估它们对模型性能的影响。与传统数据分析管道不同,Data-Juicer面临一些独特的挑战。首先,用于形成数据配方的可能数据源是真正异构且海量的,质量参差不齐。其次,精确评估数据配方对LLM性能的影响极其昂贵。第三,Data-Juicer的最终用户,即模型开发者,需要足够的灵活性来配置和评估不同的数据配方。\nData-Juicer具有构建数据配方的管道细粒度抽象,内置超过50个算子,便于组合和扩展。通过集成可视化和自动评估功能,Data-Juicer为LLM预训练和微调提供了及时的反馈循环。此外,Data-Juicer经过优化,并与LLM训练、评估和分布式计算的生态系统集成。使用Data-Juicer得出的数据配方在先进的LLM上取得了显著改进,在16个LLM基准上的平均得分提高了高达7.45%,在成对GPT-4评估中胜率提高了17.5%。我们的系统、数据配方和教程已发布,呼吁开展更广泛的数据中心研究,以训练和理解LLM。

英文摘要:

The immense evolution in Large Language Models (LLMs) has underscored the importance of massive, heterogeneous, and high-quality data. A data recipe is a mixture of data from different sources for training LLMs, which plays a vital role in LLMs' performance. Existing open-source tools for LLM data processing are mostly tailored for specific data recipes. To continuously uncover the potential of LLMs, incorporate data from new sources, and improve LLMs' performance, we build a new system named Data-Juicer, with which we can efficiently generate diverse data recipes, explore different possibilities in forming data mixtures, and evaluate their effects on model performance. Different from traditional data-analytics pipelines, Data-Juicer faces some unique challenges. Firstly, the possible data sources for forming data recipes are truly heterogeneous and massive with various qualities. Secondly, it is extremely expensive to precisely evaluate data recipes' impact on LLMs' performance. Thirdly, the end users of Data-Juicer, model developers, need sufficient flexibility to configure and evaluate different data recipes. Data-Juicer features a fine-grained abstraction of pipelines for constructing data recipes, with over 50 built-in operators for easy composition and extension. By incorporating visualization and auto-evaluation capabilities, Data-Juicer enables a timely feedback loop for both LLM pre-training and fine-tuning. Further, Data-Juicer is optimized and integrated with ecosystems for LLM training, evaluation, and distributed computing. The data recipes derived with Data-Juicer gain notable improvements on state-of-the-art LLMs, by up to 7.45% increase in averaged score across 16 LLM benchmarks and 17.5% higher win rate in pair-wise GPT-4 evaluations. Our system, data recipes, and tutorials are released, calling for broader data-centric research on training and understanding LLMs.

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

↑