What Prompts Don't Say: Understanding and Managing Underspecification in LLM Prompts
Chenyang Yang, Yike Shi, Qianou Ma, Michael Xieyang Liu, Christian Kästner, Tongshuang Wu
TL;DR
The paper investigates prompt underspecification in large language models, showing that while models can often infer missing requirements (around 41.1% success), such behavior is unstable and sensitive to model updates and the number of explicit requirements. It demonstrates that simply specifying all requirements can hurt performance due to limited instruction-following, and that many requirements conflict or are hard to satisfy concurrently. To address this, the authors propose requirement-aware prompt optimization, including COPRO-R and a Bayesian approach, which yield about a 4.8% average accuracy improvement and, in the Bayesian case, a substantial reduction in prompt length. They advocate a systematic process for requirement elicitation, validation, and ongoing monitoring to manage prompt underspecification in practice, emphasizing drift and maintenance considerations alongside automated evaluation. Overall, the work highlights how underspecification affects reliability and offers practical optimization and governance strategies to improve robustness in real-world LLM applications.
Abstract
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.
