arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.18966cs.CL
收藏

DataGen:基于大语言模型的统一合成数据集生成框架

DataGen: Unified Synthetic Dataset Generation via Large Language Models

University of Notre Dame(诺丁汉大学);Huazhong University of Science and Technology(华中科技大学);MBZUAI;University of Washington(华盛顿大学);Peking University(北京大学);University of Maryland, College Park(马里兰大学学院市分校);University of Wisconsin–Madison(威斯康星大学麦迪逊分校);Microsoft Research(微软研究院);Lehigh University(莱斯大学)

Yue Huang, Siyuan Wu, Chujie Gao, Dongping Chen, Qihui Zhang, Yao Wan, Tianyi Zhou, Jianfeng Gao, Chaowei Xiao, Lichao Sun, Xiangliang Zhang

AI总结:

针对现有合成数据生成框架的泛化性、可控性等不足,本文提出基于大语言模型的统一合成数据集生成框架DataGen,通过多模块设计保障数据质量,可有效支撑大语言模型基准测试与数据增强任务。

摘要:

GPT-4、Llama3等大语言模型(LLM)可实现高质量合成数据生成,降低对成本高昂的人工生成数据集的依赖,已对诸多领域产生重大影响。尽管如此,现有生成框架在泛化性、可控性、多样性和真实性方面仍存在挑战。为应对这些挑战,本文提出DataGen,这是一个功能完备的基于大语言模型的框架,旨在生成多样、准确且高度可控的数据集。DataGen适配性强,支持所有类型的文本数据集,并通过创新机制优化生成流程。为提升数据多样性,DataGen集成了属性引导生成模块与分组校验功能;为保障准确性,它采用基于代码的数学评估完成标签校验,同时结合检索增强生成技术进行事实验证。该框架还支持用户自定义约束,可根据特定需求定制数据生成流程。大量实验表明,DataGen生成的数据质量优异,且框架内的每个模块都对质量提升起到关键作用。此外,DataGen被应用于两个实际场景:大语言模型基准测试与数据增强。结果显示,DataGen可有效支撑动态演进的基准测试,且数据增强能够提升大语言模型在包括智能体相关能力、推理技能在内的多个领域的性能。

英文摘要:

Large Language Models (LLMs) such as GPT-4 and Llama3 have significantly impacted various fields by enabling high-quality synthetic data generation and reducing dependence on expensive human-generated datasets. Despite this, challenges remain in the areas of generalization, controllability, diversity, and truthfulness within the existing generative frameworks. To address these challenges, this paper presents DataGen, a comprehensive LLM-powered framework designed to produce diverse, accurate, and highly controllable datasets. DataGen is adaptable, supporting all types of text datasets and enhancing the generative process through innovative mechanisms. To augment data diversity, DataGen incorporates an attribute-guided generation module and a group checking feature. For accuracy, it employs a code-based mathematical assessment for label verification alongside a retrieval-augmented generation technique for factual validation. The framework also allows for user-specified constraints, enabling customization of the data generation process to suit particular requirements. Extensive experiments demonstrate the superior quality of data generated by DataGen, and each module within DataGen plays a critical role in this enhancement. Additionally, DataGen is applied in two practical scenarios: benchmarking LLMs and data augmentation. The results indicate that DataGen effectively supports dynamic and evolving benchmarking and that data augmentation improves LLM capabilities in various domains, including agent-oriented abilities and reasoning skills.

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

↑