大语言模型文本分类中的提示词敏感性再审视:提示词不完整性的作用
Revisiting Prompt Sensitivity in Large Language Models for Text Classification: The Role of Prompt Underspecification
AI 导读
一项 arXiv 研究指出,LLM 在零样本和少样本文本分类中对提示词变化的敏感性,很大程度可归因于提示词不完整,即缺少任务指令或标签空间定义。通过性能分析、标签 token 概率分析和线性探测,研究发现不完整提示词表现出更高的性能方差和更低的标签 token 概率,而提供清晰指令和标签选项的提示词问题更少。结论是研究提示词敏感性需更严谨,并应分析模型内部表征而非只看最终层输出。
正文 · 原文
Abstract:Large language models (LLMs) are widely used as zero-shot and few-shot classifiers, where task behaviour is largely controlled through prompting. A growing number of works have observed that LLMs are sensitive to prompt variations, with small changes leading to large variations in performance. However, in many cases, the investigation of sensitivity is performed using underspecified prompts that provide minimal task instructions, weakly constrain the model's output space or provide no definition of label space. In this work, we argue that a significant portion of the observed prompt sensitivity can be attributed to prompt underspecification. We systematically study and compare the sensitivity of underspecified prompts, without instruction and/or label space definition, with prompts that provide clear instructions and label choices. Utilising performance analysis, label token probability analysis, and linear probing, we find that underspecified prompts exhibit higher performance variance and lower probability values for relevant label tokens, while instruction-prompts suffer less from such problems. Overall, our findings highlight the need for more rigour when investigating and mitigating prompt sensitivity, with the need for more detailed analysis of internal representations besides looking at final layer outputs.
| Subjects: | Computation and Language (cs.CL); Artificial Intelligence (cs.AI); Machine Learning (cs.LG) |
| Cite as: | arXiv:2602.04297 [cs.CL] |
| (or arXiv:2602.04297v2 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2602.04297 arXiv-issued DOI via DataCite |
Submission history
From: Branislav Pecher [view email]
[v1]
Wed, 4 Feb 2026 07:59:28 UTC (2,177 KB)
[v2]
Fri, 27 Nov 2026 10:36:18 UTC (10,908 KB)
来源:arXiv cs.AI · arxiv.org