Self-Instruct: Aligning Language Models with Self-Generated Instructions
Authors: Yizhong Wang, Yeganeh Kordi, Swaroop Mishra, Alisa Liu, Noah A. Smith, Daniel Khashabi, Hannaneh Hajishirzi
AI-generated Key Points
- Large "instruction-tuned" language models rely heavily on limited and repetitive human-written instruction data.
- The proposed framework, Self-Instruct, improves instruction-following capabilities by leveraging the model's own generations.
- Self-Instruct generates instructions, input, and output samples from a language model and filters out invalid or similar ones before fine-tuning the original model.
- When applied to vanilla GPT3, Self-Instruct achieves a 33% absolute improvement on Super-NaturalInstructions compared to InstructGPT-001 trained with private user data and human annotations.
- Expert-written instructions are further curated for novel tasks and human evaluation shows that tuning GPT3 with Self-Instruct outperforms using existing public instruction datasets by a large margin, with only a 5% absolute gap behind InstructGPT-001.
- This annotation-free approach effectively aligns pre-trained language models with instructions.
- A synthetic dataset of 52K instructions and manually written novel tasks is released for future studies on instruction tuning.
Abstract: Large "instruction-tuned" language models (i.e., finetuned to respond to instructions) have demonstrated a remarkable ability to generalize zero-shot to new tasks. Nevertheless, they depend heavily on human-written instruction data that is often limited in quantity, diversity, and creativity, therefore hindering the generality of the tuned model. We introduce Self-Instruct, a framework for improving the instruction-following capabilities of pretrained language models by bootstrapping off their own generations. Our pipeline generates instructions, input, and output samples from a language model, then filters invalid or similar ones before using them to finetune the original model. Applying our method to the vanilla GPT3, we demonstrate a 33% absolute improvement over the original model on Super-NaturalInstructions, on par with the performance of InstructGPT-001, which was trained with private user data and human annotations. For further evaluation, we curate a set of expert-written instructions for novel tasks, and show through human evaluation that tuning GPT3 with Self-Instruct outperforms using existing public instruction datasets by a large margin, leaving only a 5% absolute gap behind InstructGPT-001. Self-Instruct provides an almost annotation-free method for aligning pre-trained language models with instructions, and we release our large synthetic dataset to facilitate future studies on instruction tuning. Our code and data are available at https://github.com/yizhongw/self-instruct.
Ask questions about this paper to our AI assistant
You can also chat with multiple papers at once here.
The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.
Similar papers summarized with our AI tools
Navigate through even more similar papers through a
tree representationLook for similar papers (in beta version)
By clicking on the button above, our algorithm compares the title and abstract of this paper with all the papers of the same arXiv category that we have summarized, and finds the closest ones. You can rerun it from time to time: the results improve as our database grows.
Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.