Instruction Induction: From Few Examples to Natural Language Task Descriptions

Or Honovich, Uri Shaham, Samuel R. Bowman, Omer Levy
5/22/2022
cs.CL

Official code: orhonovich/instruction-induction (68 stars, Python, Apache-2.0, last commit 2022-06-27).

Abstract

Large language models are able to perform a task by conditioning on a few input-output demonstrations - a paradigm known as in-context learning. We show that language models can explicitly infer an underlying task from a few demonstrations by prompting them to generate a natural language instruction that fits the examples.

Show full abstract

To explore this ability, we introduce the instruction induction challenge, compile a dataset consisting of 24 tasks, and define a novel evaluation metric based on executing the generated instruction. We discover that, to a large extent, the ability to generate instructions does indeed emerge when using a model that is both large enough and aligned to follow instructions; InstructGPT achieves 65.7% of human performance in our execution-based metric, while the original GPT-3 model reaches only 9.8% of human performance. This surprising result suggests that instruction induction might be a viable learning paradigm in and of itself, where instead of fitting a set of latent continuous parameters to the data, one searches for the best description in the natural language hypothesis space.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
684PythonMay 22, 20224 years agoApache-2.0

Similar Papers

Cite this paper

@article{honovich2022instruction,
  title  = {Instruction Induction: From Few Examples to Natural Language Task Descriptions},
  author = {Or Honovich and Uri Shaham and Samuel R. Bowman and Omer Levy},
  year   = {2022},
  eprint = {2205.10782},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.10782}
}

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/2205.10782.svg)](https://codeofpaper.com/paper/2205.10782)

Discussion