What Prompts Don't Say: Understanding and Managing Underspecification in LLM Prompts
About
Prompt underspecification is a common challenge when interacting with LLMs. In this paper, we present an in-depth analysis of this problem, showing that while LLMs can often infer unspecified requirements by default (41.1%), such behavior is fragile: Under-specified prompts are 2x as likely to regress across model or prompt changes, sometimes with accuracy drops exceeding 20%. This instability makes it difficult to reliably build LLM applications. Moreover, simply specifying all requirements does not consistently help, as models have limited instruction-following ability and requirements can conflict. Standard prompt optimizers likewise provide little benefit. To address these issues, we propose requirements-aware prompt optimization mechanisms that improve performance by 4.8% on average over baselines. We further advocate for a systematic process of proactive requirements discovery, evaluation, and monitoring to better manage prompt underspecification in practice.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Prompt Optimization | code-explain (test) | Accuracy84.2 | 5 | |
| Prompt Optimization | trip-advisory (test) | Accuracy81.1 | 5 | |
| Prompt Optimization | product-gen (test) | Accuracy92.2 | 5 | |
| Prompt Optimization | website-gen (test) | Accuracy53.5 | 4 |