[Paper Review] Instruction Induction: From Few Examples to Natural Language Task Descriptions
This paper introduces instruction induction, a novel paradigm where large language models generate natural language instructions from few input-output demonstrations, enabling zero-shot task description without fine-tuning. The best model, InstructGPT, achieves 43.6% execution accuracy—43.6% of human performance—demonstrating that instruction induction is a viable, interpretable learning paradigm with strong potential for reducing spurious correlations and improving model transparency.
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. 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.
Motivation & Objective
- To investigate whether large language models can explicitly infer and describe underlying tasks from few demonstrations using natural language.
- To explore instruction induction as a potential alternative to parameter-based learning, grounded in natural language for improved interpretability.
- To evaluate the capability of language models to generate accurate, executable instructions without fine-tuning or labeled instruction data.
- To compare the performance of instruction-induction models against human-written instructions using both semantic similarity (BERTScore) and execution accuracy.
- To determine the conditions under which instruction induction emerges, particularly regarding model size and instruction tuning.
Proposed method
- Formulate instruction induction as a zero-shot prompting task: given a few input-output pairs, generate a natural language instruction describing the task.
- Use a meta-prompt designed to elicit instruction generation, modeled after human puzzle-solving behavior, to prompt models without fine-tuning.
- Compile a benchmark dataset of 24 diverse NLP tasks, including morphosyntactic, style transfer, and sentiment analysis tasks.
- Evaluate generated instructions using two metrics: BERTScore for semantic similarity to human references and execution accuracy for functional correctness.
- Measure execution accuracy by testing whether a second LMs can perform the task using only the generated instruction, without demonstrations.
- Conduct ablation studies on smaller models and the original GPT-3 to isolate the role of model size and instruction tuning in enabling instruction induction.
Experimental results
Research questions
- RQ1Can large language models generate natural language instructions that accurately describe the relationship between input-output pairs in a few-shot setting?
- RQ2How does the performance of instruction induction vary across diverse NLP tasks, and which tasks are most amenable to this paradigm?
- RQ3To what extent does model size and instruction tuning influence the ability to perform instruction induction?
- RQ4How does execution accuracy compare to semantic similarity metrics like BERTScore in evaluating instruction quality?
- RQ5Can instruction induction serve as a viable alternative to traditional parameter-based learning, particularly in reducing spurious correlations and enhancing interpretability?
Key findings
- InstructGPT achieves 43.6% execution accuracy on the instruction induction benchmark, representing 65.7% of human performance, demonstrating strong functional correctness in generating executable instructions.
- The original GPT-3 model achieves only 9.8% of human performance on the execution accuracy metric, indicating a lack of instruction induction capability without instruction tuning.
- InstructGPT achieves a BERTScore of 44.4, compared to human performance of 60.0, showing that generated instructions are semantically close to human references but not yet on par.
- For some tasks, such as formality style transfer and semantic text similarity, InstructGPT generates instructions that are functionally correct and human-competitive, including phrases like "Translate the inputs into more formal language".
- Instruction induction is highly dependent on model architecture and fine-tuning: smaller InstructGPT variants and the original GPT-3 fail to generate meaningful instructions, suggesting that instruction tuning and scale are critical.
- Generic or empty instructions like "Write an output for every input" inflate BERTScore but fail on execution accuracy, highlighting the robustness of execution accuracy as a superior evaluation metric.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.