Reframing Instructional Prompts to GPTk's Language

Swaroop Mishra, Daniel Khashabi, Chitta Baral, Yejin Choi, Hannaneh Hajishirzi

TL;DR

Large Language Models (LLMs) often struggle with instructions written by humans, not because the tasks are too hard, but because the prompts are "lost in translation." By manually reframing prompts using five simple principles—such as decomposing tasks and using concrete patterns—researchers achieved a massive 12.5% boost in GPT-3's few-shot performance, proving that how we talk to models is just as important as the data we feed them.

What Problem Does This Paper Address?

Prompting has democratized NLP, allowing non-experts to interact with models like GPT-3 using plain English. However, there is a fundamental "language gap": humans tend to write instructions that are abstract, lengthy, and laden with commonsense assumptions. LLMs, which are essentially sophisticated next-token predictors, often trip over these human-centric descriptions.

The authors investigate whether the low performance of LLMs on certain tasks is due to the inherent difficulty of the task itself or simply an artifact of poor prompt phrasing. They seek to identify the specific features of instructional prompts that make them "easier" for models to follow.

Methods

The researchers introduced a systematic approach called Prompt Reframing. Instead of relying on the "raw" instructions provided by non-experts, they manually reformulated prompts based on five core principles:

  1. Use Low-level Patterns (C1): Replace abstract concepts (e.g., "use commonsense") with concrete output patterns the model can latch onto (e.g., "what may happen," "why might").
  2. Itemizing Instructions (C2): Break long paragraphs into bulleted lists and convert negative constraints ("don't do X") into positive assertions ("do Y").
  3. Break it Down (C3): Decompose a complex, multi-step reasoning task into a sequence of simpler sub-tasks.
  4. Enforce Constraints (C4): Add explicit textual reminders of the required output format (e.g., "Answer either Number, Date, or Span").
  5. Specialize the Instruction (C5): Strip away generic "fluff" and use highly specific verbs that describe the low-level operation (e.g., "Calculate answer" instead of "Answer the following").

They evaluated these techniques across the GPT-2 and GPT-3 families, as well as BART-base, comparing reframed prompts against raw instructions, "schema selection" (picking the best of several raw prompts), and calibration methods.

Datasets

The study utilized NATURAL INSTRUCTIONS, a large-scale benchmark of NLP tasks with human-authored instructions. The authors selected 12 diverse tasks categorized into six areas:

  • Question Generation (QG)
  • Question Answering (QA)
  • Classification (CF)
  • Incorrect Answer Generation (IAG)
  • Text Modification (MM)
  • Miscellaneous/Verification (VF)

Key Insights and Ideas

  • The "Kid" Analogy: The authors note that their reframing principles bear a striking resemblance to how one might explain a task to a child: be concrete, be positive, and take it one step at a time.
  • Alignment with Training Objectives: LLMs are trained to predict the next word. Raw instructions often deviate from this objective by being too descriptive. Reframing aligns the prompt with the model's internal "language," making the expected output a more natural continuation of the text.
  • Efficiency over Scale: One of the most striking insights is that reframing a large model (GPT-3) is often more effective than the traditional route of fine-tuning a mid-sized model (like GPT-2 Large) with 200x more data. This suggests that "prompt engineering" is a viable, low-cost alternative to expensive retraining.
  • Brevity isn't the only factor: While reframed prompts are often shorter, the authors found that length reduction alone doesn't explain the performance gains. The content and structure of the reframing are the primary drivers of success.

Key Results

  • Significant Performance Boost: Reframing led to an average 12.5% improvement for the GPT-3 series and 6.7% for the GPT-2 series in few-shot settings.
  • Zero-Shot Success: In zero-shot scenarios (no examples provided), reframing improved GPT-3's performance by 17% absolute (from 33% to 50% ROUGE-L).
  • Reduced Sample Complexity: Models prompted with reframed instructions required fewer examples to reach high performance levels compared to those using raw instructions.
  • Error Correction: Qualitative analysis showed that reframing corrected 24% of the errors made on raw instructions while introducing only 4% new failures. The most effective technique for fixing errors was Itemizing Reframing.

Limitations and Future Work

  • Manual Effort: The reframing process currently requires human intervention (roughly 15 minutes per task). The authors view this as a "preliminary stepping stone" toward developing automated, algorithmic reframing methods.
  • Decomposition Risks: While breaking tasks down helps, it introduces "error propagation." If the model fails at an early sub-step in a decomposed task, the entire chain of reasoning collapses.
  • Instance-Level Complexity: Some tasks are so difficult they might require decomposition at the level of individual examples (instances), rather than just at the general task level—a capability the current framework does not support.
  • Future Directions: The authors hope this work inspires the development of "instruction-aware" models that are inherently less sensitive to prompt phrasing.

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{mishra2022reframing,
  author = {Swaroop Mishra and 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