Evaluating and Explaining Prompt Sensitivity of LLMs Using Interactions

📅 2026-08-19
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
本文通过引入交互作用来分析大型语言模型的提示敏感性问题,并提出基于交互作用的提示敏感性度量方法,揭示了减少敏感性的四个因素。
📝 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 prompt sensitivity. Previous studies typically evaluate prompt sensitivity by comparing the LLM's final outputs when prompts change. However, such coarse-grained metrics fail to explain the internal reasons for prompt sensitivity. In this paper, we introduce interactions as a fine-grained tool to analyze prompt sensitivity of LLMs. Specifically, we decompose the output score of the LLM into a set of interactions. Each interaction represents a nonlinear relationship involving a set of input variables. We discover that subtle changes to prompts can trigger severe instability in interactions, even when the outputs of the LLM remain the same. To this end, we propose an Interaction-based Prompt Sensitivity (IPS) metric by quantifying changes in interactions when we introduce subtle changes to prompts. We apply the IPS metric to 50 open-source LLMs and uncover four factors that reduce the prompt sensitivity of LLMs, including supervised fine-tuning, increased model scales, dense architectures, and few-shot learning. More crucially, we discover a common mechanism by which these four factors reduce prompt sensitivity: all four factors tend to reduce the prompt sensitivity of low-order interactions (i.e., interactions involving few input variables).
Problem

Research questions and friction points this paper is trying to address.

prompt sensitivity
large language models
performance fluctuations
interactions
Innovation

Methods, ideas, or system contributions that make the work stand out.

interactions
prompt sensitivity
Interaction-based Prompt Sensitivity (IPS)
low-order interactions
🔎 Similar Papers
No similar papers found.
Ruiyang Qin
Ruiyang Qin
Assistant Professor, Villanova University
hardware/software co-designdeep learning accelerationon-device AIAI for healthcare
Q
Qingzhuo Wang
School of Computer Science and Technology, Tongji University, Shanghai, China
T
Tian Wang
School of Computer Science and Technology, Tongji University, Shanghai, China
Z
Zhihua Wei
School of Computer Science and Technology, Tongji University, Shanghai, China
W
Wen Shen
School of Computer Science and Technology, Tongji University, Shanghai, China