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

通过检索和转换现有数据集生成更好的合成数据

Better Synthetic Data by Retrieving and Transforming Existing Datasets

Carnegie Mellon University(卡内基梅隆大学)

Saumya Gandhi, Ritu Gala, Vijay Viswanathan, Tongshuang Wu, Graham Neubig

AI总结:

提出 DataTune 方法,通过转换现有公开数据集生成高质量合成数据,在 BIG-Bench 任务上微调语言模型比基线提升 49%,显著增强数据多样性与难度。

摘要:

尽管大型语言模型近期取得了进展,但构建可靠且可部署的 NLP 模型通常需要大量高质量的训练数据。然而,许多应用场景缺乏任务特定数据,且人工筛选任务特定数据非常耗费人力。近期研究探讨了使用大型语言模型进行提示驱动的合成数据生成,但这些生成的数据集往往缺乏复杂性和多样性。为解决这些局限性,我们引入了一种名为 DataTune 的方法,以更好地利用现有的公开可用数据集来改进自动数据集生成。DataTune 执行数据集转换,将公开可用数据集重新调整为直接符合目标任务特定要求的格式。在来自 BIG-Bench 基准的多种基于语言的任务上,我们发现通过 DataTune 微调语言模型比少样本提示基线提升了 49%,比使用合成或检索训练数据的现有方法提升了 34%。我们发现数据集转换显著增加了许多任务生成数据的多样性和难度。我们将 DataTune 集成到一个开源存储库中,以便社区能够使用该方法:https://github.com/neulab/prompt2model。

英文摘要:

Despite recent advances in large language models, building dependable and deployable NLP models typically requires abundant, high-quality training data. However, task-specific data is not available for many use cases, and manually curating task-specific data is labor-intensive. Recent work has studied prompt-driven synthetic data generation using large language models, but these generated datasets tend to lack complexity and diversity. To address these limitations, we introduce a method, DataTune, to make better use of existing, publicly available datasets to improve automatic dataset generation. DataTune performs dataset transformation, enabling the repurposing of publicly available datasets into a format that is directly aligned with the specific requirements of target tasks. On a diverse set of language-based tasks from the BIG-Bench benchmark, we find that finetuning language models via DataTune improves over a few-shot prompting baseline by 49% and improves over existing methods that use synthetic or retrieved training data by 34%. We find that dataset transformation significantly increases the diversity and difficulty of generated data on many tasks. We integrate DataTune into an open-source repository to make this method accessible to the community: https://github.com/neulab/prompt2model.

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

↑