paper-with-me

홈 › Papers

Self-Instruct: Aligning Language Models with Self-Generated Instructions

2022-12-20 · Yizhong Wang, Yeganeh Kordi, Swaroop Mishra, Alisa Liu, Noah A. Smith, Daniel Khashabi, Hannaneh Hajishirzi

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.

📄 PDF Abstract BibTeX arXiv:2212.10560

Code (19)

tatsu-lab/stanford_alpaca 공식 구현 pytorch
yizhongw/self-instruct 공식 구현
baai-zlab/coig
beomi/koalpaca pytorch
camel-ai/camel pytorch
daniel-furman/sft-demos pytorch
databrickslabs/dolly pytorch
facico/chinese-vicuna pytorch
flagopen/flaginstruct
fsoft-ai4code/codecapybara pytorch
imoneoi/openchat pytorch
jondurbin/airoboros pytorch
lightaime/camel pytorch
ofa-sys/expertllama pytorch
phoebussi/alpaca-cot pytorch
replicate/cog_stanford_alpaca pytorch
sahil280114/codealpaca pytorch
teelinsan/camoscio pytorch
xzhang97666/alpacare

Tasks

Instruction FollowingLanguage Modelling

Similar Papers 제목 키워드 기반

Self-Refine Instruction-Tuning for Aligning Reasoning in Language Models

2024-05-01 · Leonardo Ranaldi, Andrè Freitas

The alignments of reasoning abilities between smaller and larger Language Models are largely conducted via Supervised Fine-Tuning (SFT) using demonstrations generated from robust Large Language Models (LLMs). Although th…

Math

Human-Instruction-Free LLM Self-Alignment with Limited Samples

2024-01-06 · Hongyi Guo, Yuanshun Yao, Wei Shen, Jiaheng Wei 외

Aligning large language models (LLMs) with human values is a vital task for LLM practitioners. Current alignment techniques have several limitations: (1) requiring a large amount of annotated data; (2) demanding heavy hu…

In-Context LearningInstruction Following

Aligning Large Language Models via Fully Self-Synthetic Data

2025-10-08 · Shangjian Yin, Zhepei Wei, Xinyu Zhu, Wei-Lin Chen 외 arxiv

Traditional reinforcement learning from human feedback (RLHF) for large language models (LLMs) relies on expensive human-annotated datasets, while Reinforcement Learning from AI Feedback (RLAIF) also incurs significant c…

Reinforcement Learning

Improving Alignment in LVLMs with Debiased Self-Judgment

2025-08-28 · Sihan Yang, Chenhang Cui, Zihao Zhao, Yiyang Zhou 외 arxiv

The rapid advancements in Large Language Models (LLMs) and Large Visual-Language Models (LVLMs) have opened up new opportunities for integrating visual and linguistic modalities. However, effectively aligning these modal…

CodecLM: Aligning Language Models with Tailored Synthetic Data

2024-04-08 · Zifeng Wang, Chun-Liang Li, Vincent Perot, Long T. Le 외

Instruction tuning has emerged as the key in aligning large language models (LLMs) with specific task instructions, thereby mitigating the discrepancy between the next-token prediction objective and users' actual goals. …

Instruction Following