arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.01119cs.CLcs.LG
收藏

通过微调大型语言模型在低资源环境下生成合成数据

Synthetic Data Generation in Low-Resource Settings via Fine-Tuning of Large Language Models

University College London(伦敦大学学院);University of Hong Kong(香港大学)

Jean Kaddour, Qi Liu

AI总结:

本文研究在低资源环境下,通过微调教师LLMs生成合成数据来训练更小的模型,实验证明该方法在文本分类与生成任务上显著提升了下游模型性能且仅需少量原始数据。

摘要:

大型语言模型(LLMs)的上下文学习能力使其能够通过相对较少的标注样本泛化到新的下游任务。然而,它们的部署需要庞大的计算资源。作为替代,较小的模型在有足够标注样本进行微调时也能解决特定任务,但这些样本的获取成本高昂。为了兼顾两者的优势,我们研究了通过微调教师 LLMs 生成微调训练数据这一合成数据生成方法,以提升小得多的模型的下游性能。在四个文本分类和两个文本生成任务中,我们发现数据生成和标注都极大提升了相应下游模型的性能,有时仅需原始训练数据集的一小部分。

英文摘要:

The in-context learning ability of large language models (LLMs) enables them to generalize to novel downstream tasks with relatively few labeled examples. However, they require enormous computational resources to be deployed. Alternatively, smaller models can solve specific tasks if fine-tuned with enough labeled examples. These examples, however, are expensive to obtain. In pursuit of the best of both worlds, we study synthetic data generation of fine-tuning training data via fine-tuned teacher LLMs to improve the downstream performance of much smaller models. In four text classification and two text generation tasks, we find that both data generation and annotation dramatically improve the respective downstream model's performance, occasionally necessitating only a minor fraction of the original training dataset.

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

↑