What is prompt sensitivity, and how do you make a prompt robust to it?
Quick-fire answer from the Awesome Generative AI Guide (MIT)
Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.
Model answer: the part to lead with
Prompt sensitivity is when small, meaning-preserving changes (reordering examples, renaming a field, adding a stray newline) shift outputs more than they should, which makes a prompt that looks fine fragile in production. You reduce it by preferring constrained output over free-form parsing, giving explicit and unambiguous instructions, testing across paraphrases and input variations in your eval set, and avoiding over-reliance on a single lucky example ordering. Reasoning models and larger models tend to be less sensitive, but you still verify rather than assume. The senior move is to measure robustness deliberately, not to hand-tune a prompt until one demo passes.
Full worked answer
Prompt sensitivity is when small, meaning-preserving changes (reordering examples, renaming a field, adding a stray newline) shift outputs more than they should, which makes a prompt that looks fine fragile in production. You reduce it by preferring constrained output over free-form parsing, giving explicit and unambiguous instructions, testing across paraphrases and input variations in your eval set, and avoiding over-reliance on a single lucky example ordering. Reasoning models and larger models tend to be less sensitive, but you still verify rather than assume. The senior move is to measure robustness deliberately, not to hand-tune a prompt until one demo passes.
Learn more: Prompting topic
What a good answer covers
- Prompt sensitivity is when small, meaning-preserving changes (reordering examples, renaming a field,…
- You reduce it by preferring constrained output over free-form parsing, giving explicit and unambiguous…
- Reasoning models and larger models tend to be less sensitive, but you still verify rather than assume
- The senior move is to measure robustness deliberately, not to hand-tune a prompt until one demo passes
Key terms: Learn more
In the glossary: Eval set · Reasoning model
Quick-fire answer from the Awesome Generative AI Guide (MIT) · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep