Reframing Instructional Prompts to GPTk's Language

Daniel Khashabi, Chitta Baral, Yejin Choi, Hannaneh Hajishirzi

Introduction: The Instruction Gap

Large Language Models (LLMs) like GPT-3 have demonstrated remarkable capabilities, yet they remain notoriously sensitive to the phrasing of prompts. A task that appears straightforward to a human—such as "write a question requiring common sense"—often proves too abstract for a model to execute reliably. This discrepancy, termed the "instruction gap," arises because human instructions are frequently verbose, laden with negations, or dependent on implicit background knowledge that models do not inherently possess.

This research introduces "reframing," a systematic approach to reformulating human-authored instructions into more concrete, model-friendly steps. By bridging the gap between human intent and model processing, reframing significantly enhances performance in zero-shot and few-shot scenarios.

Methods: Systematic Reframing Techniques

The authors propose five core techniques to transform "raw" instructions into structured prompts:

  1. Pattern Reframing: Grounding abstract concepts in low-level linguistic patterns (e.g., using specific trigger phrases like "what may happen").
  2. Itemizing Reframing: Converting dense paragraphs into bulleted lists and turning negative constraints into positive assertions.
  3. Decomposition Reframing: Breaking complex, multi-step tasks into a sequence of simpler sub-tasks.
  4. Restraining Reframing: Providing explicit output constraints, such as defining specific answer types (e.g., "Number" or "Date").
  5. Specialization Reframing: Replacing generic filler text with instructions tailored to the specific logic required for the task.
The reframing process: decomposing a raw task into structured sub-tasks to generate a final, more effective prompt.

Datasets and Evaluation

The study evaluated these techniques across 12 NLP tasks from the NATURAL INSTRUCTIONS benchmark. These tasks represent six diverse categories: Question Generation (QG), Question Answering (QA), Classification (CF), Incorrect Answer Generation (IAG), Text Modification (MM), and Verification (VF).

Key Results and Insights

The impact of reframing is most evident when comparing performance across different model scales and training regimes.

  • Performance Boost: Reframed prompts led to an average performance increase of 12.5% for GPT-3 and 6.7% for GPT-2. In few-shot settings, reframing GPT-3-Instruct resulted in a 14% absolute gain in ROUGE-L scores.
  • Prompting vs. Fine-tuning: A pivotal finding is that a well-reframed prompt on GPT-3 can outperform a mid-sized model (GPT-2Large) fine-tuned on 1,000 examples. This suggests that "re-programming" a model via its prompt is a viable, low-cost alternative to expensive weight updates, effectively overcoming a 200x data advantage held by the fine-tuned model.
  • Structure Over Brevity: Analysis showed that performance gains are not strictly tied to shortening the prompt. Instead, the structural clarity provided by itemization and decomposition is the primary driver of success.
Performance comparison of Raw Instructions vs. Task Reframing across various GPT models, showing significant gains and outperformance of fine-tuned baselines.

Conclusion

Reframing moves prompt engineering from a trial-and-error "art" toward a systematic discipline. By grounding instructions in concrete patterns and structured steps, users can unlock significantly higher performance from LLMs without the need for additional training data. While currently a manual process requiring approximately 15 minutes per task, future work aims to automate these techniques, potentially using LLMs to translate human instructions into "model-ese" autonomously.

Summary updated

Abstract

What kinds of instructional prompts are easier to follow for Language Models (LMs)? We study this question by conducting extensive empirical analysis that shed light on important features of successful instructional prompts. Specifically, we study several classes of reframing techniques for manual reformulation of prompts into more effective ones. Some examples include decomposing a complex task instruction into multiple simpler tasks or itemizing instructions into sequential steps. Our experiments compare the zero-shot and few-shot performance of LMs prompted with reframed instructions on 12 NLP tasks across 6 categories. Compared with original instructions, our reframed instructions lead to significant improvements across LMs with different sizes. For example, the same reframed prompts boost few-shot performance of GPT3-series and GPT2-series by 12.5% and 6.7% respectively averaged over all tasks. Furthermore, reframed instructions reduce the number of examples required to prompt LMs in the few-shot setting. We hope these empirically-driven techniques will pave the way towards more effective future prompting algorithms.
BibTeX
@inproceedings{khashabi2022reframing,
  author = {Daniel Khashabi and Chitta Baral and Yejin Choi and Hannaneh Hajishirzi},
  title = {{Reframing Instructional Prompts to GPTk's Language}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.findings-acl.50},
}
Figure