Auto-Instruct: Automatic Instruction Generation and Ranking for Black-Box Language Models

Zhihan Zhang, Shuohang Wang, Wenhao Yu, Yichong Xu, Dan Iter +4 more
10/19/2023
cs.CL

No official code found. Best implementation: ytyz1307zzh/Auto-Instruct (23 stars, last commit 2023-11-13).

Abstract

Large language models (LLMs) can perform a wide range of tasks by following natural language instructions, without the necessity of task-specific fine-tuning. Unfortunately, the performance of LLMs is greatly influenced by the quality of these instructions, and manually writing effective instructions for each task is a laborious and subjective process. In this paper, we introduce Auto-Instruct, a novel method to automatically improve the quality of instructions provided to LLMs. Our method leverages the inherent generative ability of LLMs to produce diverse candidate instructions for a given task, and then ranks them using a scoring model trained on a variety of 575 existing NLP tasks. In experiments on 118 out-of-domain tasks, Auto-Instruct surpasses both human-written instructions and existing baselines of LLM-generated instructions. Furthermore, our method exhibits notable generalizability even with other LLMs that are not incorporated into its training process.

View on arXivView PDF

Code Implementations(1)

Code repo for EMNLP 2023 paper "Auto-Instruct: Automatic Instruction Generation and Ranking for Black-Box Language Models"

232PythonOct 16, 20232 years ago

Similar Papers

Cite this paper

@article{zhang2023autoinstruct,
  title  = {Auto-Instruct: Automatic Instruction Generation and Ranking for Black-Box Language Models},
  author = {Zhihan Zhang and Shuohang Wang and Wenhao Yu and Yichong Xu and Dan Iter and Qingkai Zeng and Yang Liu and Chenguang Zhu and Meng Jiang},
  year   = {2023},
  eprint = {2310.13127},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.13127v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.13127.svg)](https://codeofpaper.com/paper/2310.13127)

Discussion