New Metric Explains LLM Prompt Sensitivity

Ruiyang Qin, Qingzhuo Wang, Tian Wang, Zhihua Wei, Wen Shen· August 20, 2026 View original

Key takeaways

  • LLM prompt sensitivity is a major challenge, causing performance fluctuations from minor prompt changes.
  • A new Interaction-based Prompt Sensitivity (IPS) metric helps explain the internal reasons for this instability.
  • Supervised fine-tuning, larger models, dense architectures, and few-shot learning reduce prompt sensitivity.
  • These factors primarily work by stabilizing low-order interactions within the LLM.

Who benefits

AI DevelopmentSoftware EngineeringResearch & DevelopmentConsultingCybersecurity

Summary

Researchers introduced an Interaction-based Prompt Sensitivity (IPS) metric to analyze why LLMs are unstable to subtle prompt changes. They found that prompt sensitivity is reduced by supervised fine-tuning, increased model scales, dense architectures, and few-shot learning, primarily by stabilizing low-order interactions.

This research delves into the phenomenon of prompt sensitivity in large language models (LLMs), where minor, semantically irrelevant changes to prompts can drastically alter model performance. Traditional evaluation methods often focus on final output changes, which don't explain the underlying causes of this instability. The study proposes a novel approach using "interactions" as a fine-grained tool to analyze prompt sensitivity. By decomposing an LLM's output score into a set of interactions, which represent nonlinear relationships among input variables, the researchers discovered that subtle prompt changes trigger significant instability in these internal interactions, even when the final output appears unchanged. An Interaction-based Prompt Sensitivity (IPS) metric was developed to quantify these interaction changes. Applying IPS to 50 open-source LLMs revealed that supervised fine-tuning, larger model scales, dense architectures, and few-shot learning all contribute to reducing prompt sensitivity. Crucially, these factors primarily achieve this by stabilizing low-order interactions, those involving fewer input variables.

Why it matters

Understanding and mitigating prompt sensitivity is crucial for developing reliable, robust, and deployable LLM applications, ensuring consistent performance across various user inputs and reducing unexpected failures.

How to implement this in your domain

  1. 1Adopt prompt engineering best practices that incorporate few-shot learning examples to stabilize LLM responses.
  2. 2Prioritize the use of larger, densely architected LLMs or models that have undergone supervised fine-tuning for critical applications.
  3. 3Develop internal testing frameworks to evaluate prompt sensitivity using interaction-based metrics during LLM integration.
  4. 4Educate development teams on the factors influencing prompt sensitivity to build more resilient AI systems.

Original post by Ruiyang Qin, Qingzhuo Wang, Tian Wang, Zhihua Wei, Wen Shen

"arXiv:2608.18539v1 Announce Type: new Abstract: The remarkable capabilities of large language models (LLMs) are often undermined by their instability. Even subtle and semantically irrelevant changes in prompts can cause dramatic fluctuations in performance, a phenomenon known as…"

View on X

Originally posted by Ruiyang Qin, Qingzhuo Wang, Tian Wang, Zhihua Wei, Wen Shen on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses