Evaluating and Explaining Prompt Sensitivity of LLMs Using Interactions
Not on the map. Why?
Abstract (arXiv)
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).
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 42 of its 53 references that are in the map. First posted on arXiv 19 Aug 2026.
Builds on
42 of 53 references.
References · 42
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2025Qwen3 Technical Reportcited by 8,195
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2017Axiomatic Attribution for Deep Networkscited by 3,350
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
- 2024Mixtral of Expertscited by 1,785
- 2023A Survey on Evaluation of Large Language Modelscited by 1,227
- 2023Instruction-Following Evaluation for Large Language Modelscited by 1,143
30 more
- 2023Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formattingcited by 778
- 2017Interpretable Explanations of Black Boxes by Meaningful Perturbationcited by 611
- 2024OLMo: Accelerating the Science of Language Modelscited by 599
- 2024OLMoE: Open Mixture-of-Experts Language Modelscited by 291
- 2019Understanding Deep Networks via Extremal Perturbations and Smooth Maskscited by 257
- 2017Real Time Image Saliency for Black Box Classifierscited by 246
- 2024A Survey on Mixture of Experts in Large Language Modelscited by 233
- 2020Explaining by Removing: A Unified Framework for Model Explanationcited by 218
- 2023PromptRobust: Towards Evaluating the Robustness of Large Language Models on Adversarial Promptscited by 218
- 2024ProSA: Assessing and Understanding the Prompt Sensitivity of LLMscited by 145
- 2024When Benchmarks are Targets: Revealing the Sensitivity of Large Language Model Leaderboardscited by 134
- 2020The Language Interpretability Tool: Extensible, Interactive Visualizations and Analysis for NLP Modelscited by 125
- 2024LLaMA-MoE: Building Mixture-of-Experts from LLaMA with Continual Pre-trainingcited by 122
- 2019Explaining Deep Neural Networks with a Polynomial Time Algorithm for Shapley Values Approximationcited by 115
- 2024What Did I Do Wrong? Quantifying LLMs' Sensitivity and Consistency to Prompt Engineeringcited by 88
- 2023Evaluating the Zero-shot Robustness of Instruction-tuned Language Modelscited by 63
- 2024POSIX: A Prompt Sensitivity Index For Large Language Modelscited by 56
- 2025Benchmarking Prompt Sensitivity in Large Language Modelscited by 38
- 2021Defining and Quantifying the Emergence of Sparse Concepts in DNNscited by 36
- 2024On the Worst Prompt Performance of Large Language Modelscited by 36
- 2023How are Prompts Different in Terms of Sensitivity?cited by 34
- 2023Does a Neural Network Really Encode Symbolic Concepts?cited by 27
- 2023Explaining Generalization Power of a DNN Using Interactive Conceptscited by 25
- 2024LLaMA-MoE v2: Exploring Sparsity of LLaMA from Perspective of Mixture-of-Experts with Post-Trainingcited by 25
- 2025ProxySPEX: Inference-Efficient Interpretability via Sparse Feature Interactions in LLMscited by 16
- 2024Defining and Extracting generalizable interaction primitives from DNNscited by 14
- 2024Towards the Dynamics of a DNN Learning Symbolic Interactionscited by 13
- 2025SPEX: Scaling Feature Interaction Explanations for LLMscited by 12
- 2023Bayesian Neural Networks Avoid Encoding Complex and Perturbation-Sensitive Conceptscited by 9
- 2025Revisiting Generalization Power of a DNN in Terms of Symbolic Interactionscited by 1
Built on by
Not cited yet.