A Regression Framework for Understanding Prompt Component Impact on LLM Performance
Not on the map. Why?
Abstract (arXiv)
As large language models (LLMs) continue to improve and see further integration into software systems, so does the need to understand the conditions in which they will perform. We contribute a statistical framework for understanding the impact of specific prompt features on LLM performance. The approach extends previous explainable artificial intelligence (XAI) methods specifically to inspect LLMs by fitting regression models relating portions of the prompt to LLM evaluation. We apply our method to compare how two open-source models, Mistral-7B and GPT-OSS-20B, leverage the prompt to perform a simple arithmetic problem. Regression models of individual prompt portions explain 72% and 77% of variation in model performances, respectively. We find misinformation in the form of incorrect example query-answer pairs impedes both models from solving the arithmetic query, though positive examples do not find significant variability in the impact of positive and negative instructions - these prompts have contradictory effects on model performance. The framework serves as a tool for decision makers in critical scenarios to gain granular insight into how the prompt influences an LLM to solve a task.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 21 of its 37 references that are in the map. First posted on arXiv 27 Mar 2026.
Builds on
21 of 37 references.
References · 21
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2023Mistral 7Bcited by 3,065
- 2023A Survey of Large Language Modelscited by 2,537
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
- 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,258
- 2019Data Shapley: Equitable Valuation of Data for Machine Learningcited by 617
- 2014SAGA: A Fast Incremental Gradient Method With Support for Non-Strongly Convex Composite Objectivescited by 401
- 2016How NOT To Evaluate Your Dialogue System: An Empirical Study of Unsupervised Evaluation Metrics for Dialogue Response Generationcited by 356
9 more
- 2018Consistent Individualized Feature Attribution for Tree Ensemblescited by 279
- 2021Surface Form Competition: Why the Highest Probability Answer Isn't Always Rightcited by 256
- 2022Selective Annotation Makes Language Models Better Few-Shot Learnerscited by 242
- 2023Multilingual Machine Translation with Large Language Models: Empirical Results and Analysiscited by 156
- 2019Explainable AI for Trees: From Local Explanations to Global Understandingcited by 64
- 2023Text Summarization Using Large Language Models: A Comparative Study of MPT-7b-instruct, Falcon-7b-instruct, and OpenAI Chat-GPT Modelscited by 35
- 2023Evaluating the Deductive Competence of Large Language Modelscited by 12
- 2024Explaining Large Language Models Decisions Using Shapley Valuescited by 12
- 2023Prompt Valuation Based on Shapley Valuescited by 10
Built on by
Citing papers per year: 2026: 1.
1 paper.