Revisiting Prompt Sensitivity in Large Language Models for Text Classification: The Role of Prompt Underspecification

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Pecher, Branislav, Spiegel, Michal, Belanec, Robert, Cegin, Jan
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911421345824768
author Pecher, Branislav
Spiegel, Michal
Belanec, Robert
Cegin, Jan
author_facet Pecher, Branislav
Spiegel, Michal
Belanec, Robert
Cegin, Jan
contents 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 changes in performance. However, in many cases, the investigation of sensitivity is performed using underspecified prompts that provide minimal task instructions and weakly constrain the model's output 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 and prompts that provide specific instructions. Utilising performance analysis, logit analysis, and linear probing, we find that underspecified prompts exhibit higher performance variance and lower logit values for relevant tokens, while instruction-prompts suffer less from such problems. However, linear probing analysis suggests that the effects of prompt underspecification have only a marginal impact on the internal LLM representations, instead emerging in the final layers. Overall, our findings highlight the need for more rigour when investigating and mitigating prompt sensitivity.
format Preprint
id arxiv_https___arxiv_org_abs_2602_04297
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Revisiting Prompt Sensitivity in Large Language Models for Text Classification: The Role of Prompt Underspecification
Pecher, Branislav
Spiegel, Michal
Belanec, Robert
Cegin, Jan
Computation and Language
Artificial Intelligence
Machine Learning
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 changes in performance. However, in many cases, the investigation of sensitivity is performed using underspecified prompts that provide minimal task instructions and weakly constrain the model's output 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 and prompts that provide specific instructions. Utilising performance analysis, logit analysis, and linear probing, we find that underspecified prompts exhibit higher performance variance and lower logit values for relevant tokens, while instruction-prompts suffer less from such problems. However, linear probing analysis suggests that the effects of prompt underspecification have only a marginal impact on the internal LLM representations, instead emerging in the final layers. Overall, our findings highlight the need for more rigour when investigating and mitigating prompt sensitivity.
title Revisiting Prompt Sensitivity in Large Language Models for Text Classification: The Role of Prompt Underspecification
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2602.04297