Revisiting Prompt Sensitivity in Large Language Models for Text Classification: The Role of Prompt Underspecification
This paper argues that a significant portion of observed prompt sensitivity in large language models stems from prompt underspecification rather than inherent model instability, demonstrating that specific instructions reduce performance variance and logit uncertainty with only marginal effects on internal representations.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are trying to get a very smart, but slightly literal-minded robot to sort a pile of mail into "Junk" and "Important."
If you hand the robot a note that just says, "Here is a letter: [Letter Content]," and ask it to sort it, the robot might get confused. It might start writing a poem about the letter, or it might just stare at it blankly. If you change the note slightly to say, "Here is a letter: [Letter Content]. Please sort it," the robot might suddenly work perfectly. If you change it again to "Sort this: [Letter Content]," it might fail again.
This paper argues that the robot's confusion isn't because it's "bad" at sorting mail. It's because you didn't give it clear enough instructions.
Here is a breakdown of the paper's findings using simple analogies:
1. The Problem: "Vague Notes" vs. "Clear Instructions"
The researchers found that many studies testing AI models use "underspecified" prompts. Think of these as vague notes like "What is this?" or just pasting text without context.
- The Result: When the instructions are vague, the AI's performance is all over the place. One day it's a genius; the next, it's guessing randomly. The paper calls this "prompt sensitivity."
- The Cause: The AI actually knows how to do the task deep down, but because the instructions were too vague, it didn't know how to show you the answer. It's like a student who knows the math but forgets to write down the final number because the teacher didn't ask for it clearly.
2. The Solution: "Instruction Prompts"
When the researchers switched to "instruction prompts" (clear, specific directions like "Read this text and tell me if it is positive or negative"), the AI became much more stable and accurate.
- The Analogy: It's the difference between handing a chef a raw ingredient and saying "Make something" versus saying "Make a grilled cheese sandwich." The chef (the AI) has the skills either way, but the second instruction ensures the output is what you actually wanted.
3. The "Magic Trick": In-Context Learning
The paper tested several ways to fix the AI's confusion. The most effective method was In-Context Learning (ICL).
- The Analogy: Instead of just giving the robot a rule, you show it two examples first: "Here is a happy movie review. Here is a sad one. Now, here is a new review: Is it happy or sad?"
- The Finding: This simple trick worked almost as well as complex mathematical fixes (called "calibration") that require digging into the robot's brain. It solved the confusion without needing to change the robot's internal code.
4. Peeking Inside the Robot's Brain (Logits and Probes)
The researchers looked under the hood to see where the confusion happened.
- Logits (The "Confidence Score"): When the AI is confused by vague instructions, its internal "confidence scores" for the right answer are tiny—almost zero. It's like the robot whispering an answer so quietly you can't hear it. When instructions are clear, the robot shouts the answer with high confidence.
- Linear Probes (The "Brain Scan"): They scanned the AI's internal layers (its "thought process").
- The Surprise: The AI's brain actually understood the task even when the instructions were vague. The "knowledge" was there in the middle layers of the brain.
- The Glitch: The problem only happened at the very end, when the AI tried to translate that knowledge into a final answer. The vague instructions messed up the output, not the thinking.
5. What Didn't Work
The paper tested a few other ideas, like adding "empty" tokens (nonsense words) to the prompt to "calibrate" the AI.
- The Result: This often made things worse, causing the AI to perform even worse than random guessing. It's like trying to fix a confused chef by shouting random words at them; it just adds more noise.
The Bottom Line
The paper concludes that a huge chunk of the "instability" we see in AI models isn't because the models are broken or unpredictable. It's because we are asking them questions in a confusing way.
If we want reliable AI results, we need to stop using vague, minimal prompts and start using clear, specific instructions (and maybe show the AI a few examples first). The AI is capable of the job; it just needs a better job description.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.