Last updated:

The Prompt Report: A Systematic Survey of Prompt Engineering Techniques

Sander Schulhoff et al.

In collections: Prompting

Strategies from the report

Taxonomy of prompting techniques — The report classifies 58 techniques used for LLMs and 40 techniques for other modalities, which makes it easier to choose an approach for a specific task.

  • Glossary of terms — Contains 33 defined terms that bring order to previously inconsistent naming and make communication between researchers and practitioners easier.

  • Meta-analysis of prefix-prompting — A systematic summary of research findings on natural prefix-prompting, indicating which methods have repeatable effects.

  • Practical applications — A discussion of how prompting techniques perform in tasks such as text generation, information extraction, classification, and in multimodal systems.

  • Evaluating effectiveness — The report compares techniques in terms of accuracy, stability and computational cost, pointing out the trade-offs between the simplicity of a prompt and the quality of results.

    Best practices

  • Precise model versioning: Always give the full version identifier (e.g. gpt-4-0613 instead of GPT-4). This prevents problems caused by models being updated in the background.

  • Publishing full texts and templates: Share prompts in their raw form together with clearly marked variables (placeholders), so that other researchers can reproduce the experiment exactly.

  • Defining determinism parameters: Explicitly stating the values of temperature, top-p and seed (where available) is essential for keeping results replicable in production environments.

  • Documenting Few-shot strategies: If you use examples in the prompt, describe the criteria for choosing them (e.g. whether they were picked at random or by a specific semantic-similarity key).

  • Reporting the date and infrastructure: Because of the model drift phenomenon, it is crucial to record the date the tests were run and the wrappers (e.g. LangChain, Guidance) or API libraries used.

What to avoid

  • Using generic names: Avoid terms like “Llama” or “Claude” without specifying the model's version and size (e.g. 70B). Such data is useless for scientific and technical purposes.

  • Relying on default settings: Never assume that the “default temperature” is constant across API versions. Not defining parameters explicitly is the most common cause of replication problems.

  • Hiding manual post-production: If the model's outputs were manually “cleaned” or corrected before analysis, failing to mention this in the report is a methodological error.

  • Ignoring negative results and hallucinations: Leaving out cases where the model failed makes a reliable assessment of the risk of deploying a given prompt impossible.

  • A “magical” approach to Prompt Engineering: Avoid introducing modifications (e.g. adding “Think step by step”) without evidence that they actually improve performance in the given use case.

Support this project by buying me a coffee ;)