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.
翻译:暂无翻译