The Prompt Report: A Systematic Survey of Prompt Engineering Techniques

Sander Schulhoff, Michael Ilie, Nishant Balepur, Konstantine Kahadze, Amanda Liu, Chenglei Si, Yinheng Li, Aayush Gupta, HyoJung Han, Sevien Schulhoff, Pranav Sandeep Dulepet, Saurav Vidyadhara, Dayeon Ki, Sweta Agrawal, Chau Pham, Gerson Kroiz, Feileen Li, Hudson Tao, Ashay Srivastava, Hevander Da Costa, Saloni Gupta, Megan L. Rogers, Inna Goncearenco, Giuseppe Sarli, Igor Galynker, Denis Peskoff, Marine Carpuat, Jules White, Shyamal Anadkat, Alexander Hoyle, Philip Resnik

TL;DR

"The Prompt Report" is the first comprehensive attempt to transform prompt engineering from a fragmented "black art" into a structured science. By systematically reviewing over 1,500 papers, the authors establish a formal taxonomy of 58 text-based and 40 multimodal techniques, providing a much-needed standardized vocabulary for the generative AI community.

What Problem Does This Paper Address?

Prompt engineering has exploded in popularity, yet it remains a "Wild West" of conflicting terminology and anecdotal evidence. Researchers and engineers often use different names for the same techniques (e.g., "persona prompting" vs. "role prompting") or lack a clear understanding of why certain prompts work while others fail.

The authors argue that this fragmentation hinders progress. Without a shared ontology, it is difficult to compare methods, reproduce results, or build robust systems. This paper seeks to provide a definitive roadmap by categorizing the vast landscape of prompting strategies and analyzing their empirical foundations.

Methods

The researchers conducted a machine-assisted systematic literature review grounded in the PRISMA process, a standard for high-quality evidence synthesis.

Figure 2.1: The PRISMA systematic literature review process. We accumulate 4,247 unique records from which we extract 1,565 relevant records.

Key methodological contributions include:

  • Taxonomy Construction: They organized techniques into a hierarchy, starting from core text-based methods and branching into multilingual, multimodal, and agentic frameworks.
  • Formal Definitions: The paper provides a robust vocabulary of 33 terms, distinguishing between a "prompt" (the final input) and a "prompt template" (a function with variables).
  • Benchmarking: They evaluated a subset of popular techniques (Zero-Shot, Few-Shot, Chain-of-Thought) on the MMLU benchmark using GPT-3.5 Turbo.
  • Case Study: A detailed 47-step manual prompt engineering exercise focused on detecting "entrapment" (a suicide risk indicator) in social media text, illustrating the iterative nature of the craft.

Datasets

  • PromptSystematicReview: A newly compiled dataset of 1,565 research papers on prompting, hosted on HuggingFace.
  • MMLU (Massive Multitask Language Understanding): Used for the technique benchmarking section.
  • University of Maryland Reddit Suicidality Dataset: Used for the real-world prompt engineering case study.

Key Insights and Ideas

  • Prompting is Iterative, Not Linear: The authors define prompt engineering as a cyclic process of inference, evaluation, and template modification.
Figure 1.4: The Prompt Engineering Process consists of three repeated steps 1) performing inference on a dataset 2) evaluating performance and 3) modifying the prompt template. Note that the extractor is used to extract a final response from the LLM output (e.g. "This phrase is positive" →"positive"). See more information on extractors in Section 2.5.
  • The "Learn" in In-Context Learning (ICL) is Misleading: The paper clarifies that ICL often isn't about the model learning new skills at inference time, but rather about "task specification"—helping the model locate and apply knowledge it already acquired during pre-training.
  • Extreme Sensitivity: Performance can swing wildly based on "spurious features." For example, changing the order of exemplars in a few-shot prompt can cause accuracy to fluctuate between 50% and 90%.
  • Terminology Standardization: The paper maps out how various components (Directives, Examples, Output Formatting) fit together, as shown in their terminology tree.
Figure 1.3: A Terminology of prompting. Terms with links to the appendix are not sufficiently critical to describe in the main paper, but are important to the field of prompting. Prompting techniques are shown in Figure 2.2

Key Results

  • Taxonomy Totals: The report identifies 58 LLM prompting techniques and 40 techniques for other modalities (image, audio, video, 3D).
  • Benchmarking Performance: In their MMLU tests, Few-Shot Chain-of-Thought (CoT) performed best with 69.2% accuracy. Surprisingly, Zero-Shot CoT ("Let's think step by step") actually performed worse (54.7%) than standard Zero-Shot (62.7%) on their specific MMLU subset, highlighting that popular techniques are not universal "silver bullets."
  • Human vs. Machine: In the suicide risk case study, the human expert achieved an F1 score of 0.53 after 20 hours of work. However, using the DSPy framework (which automates prompt optimization) yielded a superior F1 of 0.548, suggesting that automated prompt engineering is rapidly becoming more effective than manual "cajoling."

Limitations and Future Work

The authors explicitly limited their scope to hard prefix prompts (discrete text/media inputs) and task-agnostic techniques. They did not cover "soft prompts" (continuous vector updates) or fine-tuning methods, which are often used in more specialized industrial applications.

Future work remains in understanding the "black box" of prompt sensitivity—why a duplicate email in a prompt might improve performance in one case but degrade it in another. The authors conclude that while automation (like DSPy) is promising, the most successful approach currently involves a "human-in-the-loop" collaboration between prompt engineers and domain experts.

Summary updated

BibTeX
@misc{schulhoff2024prompt,
  author = {Sander Schulhoff and Michael Ilie and Nishant Balepur and Konstantine Kahadze and Amanda Liu and Chenglei Si and Yinheng Li and Aayush Gupta and HyoJung Han and Sevien Schulhoff and Pranav Sandeep Dulepet and Saurav Vidyadhara and Dayeon Ki and Sweta Agrawal and Chau Pham and Gerson Kroiz and Feileen Li and Hudson Tao and Ashay Srivastava and Hevander Da Costa and Saloni Gupta and Megan L. Rogers and Inna Goncearenco and Giuseppe Sarli and Igor Galynker and Denis Peskoff and Marine Carpuat and Jules White and Shyamal Anadkat and Alexander Hoyle and Philip Resnik},
  title = {{The Prompt Report: A Systematic Survey of Prompt Engineering Techniques}},
  year = {2024},
  eprint = {2406.06608},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.06608},
}
Figure