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

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Zhao, Chenyang, Jia, Xueying, Viswanathan, Vijay, Wu, Tongshuang, Neubig, Graham
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866913464370331648
author Zhao, Chenyang
Jia, Xueying
Viswanathan, Vijay
Wu, Tongshuang
Neubig, Graham
author_facet Zhao, Chenyang
Jia, Xueying
Viswanathan, Vijay
Wu, Tongshuang
Neubig, Graham
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2407_12874
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle SELF-GUIDE: Better Task-Specific Instruction Following via Self-Synthetic Finetuning
Zhao, Chenyang
Jia, Xueying
Viswanathan, Vijay
Wu, Tongshuang
Neubig, Graham
Computation and Language
Artificial Intelligence
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.
title SELF-GUIDE: Better Task-Specific Instruction Following via Self-Synthetic Finetuning
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2407.12874