arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.13360cs.CLcs.SE
收藏

提示中未言明的内容:理解并管理LLM提示中的不充分性

What Prompts Don't Say: Understanding and Managing Underspecification in LLM Prompts

Carnegie Mellon University(卡内基梅隆大学);Google DeepMind(谷歌DeepMind)

Chenyang Yang, Yike Shi, Qianou Ma, Michael Xieyang Liu, Christian Kästner, Tongshuang Wu

AI总结:

本文探讨了LLM提示中的不充分性问题,指出默认推断的稳定性差且易退化,提出要求意识的提示优化机制和系统性的主动发现与监控流程以提升性能。

摘要:

提示不充分性是与LLM交互时的常见挑战。本文深入分析了该问题,表明尽管LLM通常能通过默认推断满足未指定要求(41.1%),但这种行为很脆弱:不充分的提示在模型或提示变化下退化的可能性是两倍,有时准确率下降超过20%。这种不稳定性使得可靠构建LLM应用变得困难。此外,简单指定所有要求并不总能有所帮助,因为模型的指令遵循能力有限且要求可能冲突。标准提示优化器同样提供有限的帮助。为解决这些问题,我们提出了一种要求意识的提示优化机制,平均在基线基础上提升了4.8%的性能。我们进一步倡导一种系统性的主动要求发现、评估和监控流程,以更好地在实践中管理提示不充分性。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑