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

SELF-GUIDE:通过自合成微调实现更好的任务特定指令遵循

SELF-GUIDE: Better Task-Specific Instruction Following via Self-Synthetic Finetuning

Carnegie Mellon University(卡内基梅隆大学);Tsinghua University(清华大学)

Chenyang Zhao, Xueying Jia, Vijay Viswanathan, Tongshuang Wu, Graham Neubig

AI总结:

本文提出 SELF-GUIDE 多阶段自合成微调方法,让学生 LLM 自行生成任务输入-输出对并用于自身微调,在 Natural Instructions V2 上显著提升分类与生成任务表现。

摘要:

当获得适当的自然语言提示时,大型语言模型(LLM)有望解决多种多样的任务。然而,与使用充足训练数据微调模型相比,提示通常会导致模型作出准确率较低的预测。另一方面,尽管在任务特定数据上微调 LLM 通常会提升其性能,但并非所有任务都有丰富的标注数据集可用。先前工作已经探索了从最先进的 LLM 生成任务特定数据,并使用这些数据微调较小模型;但这种方法需要访问正在训练的模型之外的另一个语言模型,从而带来成本、可扩展性挑战,以及与持续依赖更强大 LLM 相关的法律障碍。针对这些问题,我们提出 SELF-GUIDE,这是一种多阶段机制:我们从学生 LLM 中合成任务特定的输入-输出对,然后使用这些输入-输出对微调该学生 LLM 本身。在我们对 Natural Instructions V2 基准的实证评估中,我们发现 SELF-GUIDE 大幅提升了 LLM 的性能。具体而言,我们报告在该基准的指标上,分类任务约有 15% 的绝对提升,生成任务约有 18% 的绝对提升。这揭示了自合成数据在没有任何外部学习信号的情况下,引导 LLM 成为任务特定专家的前景。

英文摘要:

Large language models (LLMs) hold the promise of solving diverse tasks when provided with appropriate natural language prompts. However, prompting often leads models to make predictions with lower accuracy compared to finetuning a model with ample training data. On the other hand, while finetuning LLMs on task-specific data generally improves their performance, abundant annotated datasets are not available for all tasks. Previous work has explored generating task-specific data from state-of-the-art LLMs and using this data to finetune smaller models, but this approach requires access to a language model other than the one being trained, which introduces cost, scalability challenges, and legal hurdles associated with continuously relying on more powerful LLMs. In response to these, we propose SELF-GUIDE, a multi-stage mechanism in which we synthesize task-specific input-output pairs from the student LLM, then use these input-output pairs to finetune the student LLM itself. In our empirical evaluation of the Natural Instructions V2 benchmark, we find that SELF-GUIDE improves the performance of LLM by a substantial margin. Specifically, we report an absolute improvement of approximately 15% for classification tasks and 18% for generation tasks in the benchmark's metrics. This sheds light on the promise of self-synthesized data guiding LLMs towards becoming task-specific experts without any external learning signals.

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

↑