What Did I Do Wrong? Quantifying LLMs' Sensitivity and Consistency to Prompt Engineering
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) changed the way we design and interact with software systems. Their ability to process and extract information from text has drastically improved productivity in a number of routine tasks. Developers that want to include these models in their software stack, however, face a dreadful challenge: debugging LLMs' inconsistent behavior across minor variations of the prompt. We therefore introduce two metrics for classification tasks, namely sensitivity and consistency, which are complementary to task performance. First, sensitivity measures changes of predictions across rephrasings of the prompt, and does not require access to ground truth labels. Instead, consistency measures how predictions vary across rephrasings for elements of the same class. We perform an empirical comparison of these metrics on text classification tasks, using them as guideline for understanding failure modes of the LLM. Our hope is that sensitivity and consistency will be helpful to guide prompt engineering and obtain LLMs that balance robustness with performance.
Key facts. Cited by 88 papers in the map (data through 7 Oct 2026). Builds on 26 of its 41 references that are in the map. First posted on arXiv 18 Jun 2024.
Builds on
26 of 41 references.
References · 26
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2022Language Models (Mostly) Know What They Knowcited by 1,783
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
- 2023Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formattingcited by 778
- 2023Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoningcited by 326
14 more
- 2023Can Generalist Foundation Models Outcompete Special-Purpose Tuning? Case Study in Medicinecited by 319
- 2023A Survey of Confidence Estimation and Calibration in Large Language Modelscited by 253
- 2023Embers of Autoregression: Understanding Large Language Models Through the Problem They are Trained to Solvecited by 175
- 2022GitHub Copilot AI pair programmer: Asset or Liability?cited by 150
- 2024Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attackscited by 150
- 2024To Believe or Not to Believe Your LLMcited by 120
- 2023LLMs Cannot Reliably Identify and Reason About Security Vulnerabilities (Yet?): A Comprehensive Evaluation, Framework, and Benchmarkscited by 94
- 2024"I'm Not Sure, But...": Examining the Impact of Large Language Models' Uncertainty Expression on User Reliance and Trustcited by 67
- 2024Uncertainty in Language Models: Assessment through Rank-Calibrationcited by 40
- 2024Are Large Language Models Good Prompt Optimizers?cited by 37
- 2024Examining the robustness of LLM evaluation to the distributional assumptions of benchmarkscited by 31
- 2024AgentQuest: A Modular Benchmark Framework to Measure Progress and Improve LLM Agentscited by 27
- 2024The Entropy Enigma: Success and Failure of Entropy Minimizationcited by 24
- 2024Just rephrase it! Uncertainty estimation in closed-source language models via multiple rephrased queriescited by 15
Built on by
Citing papers per year: 2024: 9; 2025: 43; 2026: 36.
88 papers.
Sort:
By area:
- 2024A Review of Large Language Models and Autonomous Agents in Chemistrycited by 96
- 2024Reference-Guided Verdict: LLMs-as-Judges in Automatic Evaluation of Free-Form QAcited by 25
- 2025Beyond Prompt Engineering: Robust Behavior Control in LLMs via Steering Target Atomscited by 23
- 2025The Rogue Scalpel: Activation Steering Compromises LLM Safetycited by 18
- 2025Talk Structurally, Act Hierarchically: A Collaborative Framework for LLM Multi-Agent Systemscited by 17
- 2025GraphEval: A Lightweight Graph-Based LLM Framework for Idea Evaluationcited by 17
- 2025Risk Analysis Techniques for Governed LLM-based Multi-Agent Systemscited by 16
- 2024Evaluating Gender Bias of LLMs in Making Morality Judgementscited by 15
- 2025Persona-Augmented Benchmarking: Evaluating LLMs Across Diverse Writing Stylescited by 15
- 2025Prompt-Reverse Inconsistency: LLM Self-Inconsistency Beyond Generative Randomness and Prompt Paraphrasingcited by 14
- 2025Reinforcement Learning for Machine Learning Engineering Agentscited by 13
- 2025Promptception: How Sensitive Are Large Multimodal Models to Prompts?cited by 13
38 more
- 2025AutoSCORE: Enhancing Automated Scoring with Multi-Agent Large Language Models via Structured Component Recognitioncited by 13
- 2025Firm or Fickle? Evaluating Large Language Models Consistency in Sequential Interactionscited by 12
- 2024LLMs: A Game-Changer for Software Engineers?cited by 11
- 2025Distributive Fairness in Large Language Models: Evaluating Alignment with Human Valuescited by 9
- 2025PRL: Prompts from Reinforcement Learningcited by 9
- 2024Linguistic Features Extracted by GPT-4 Improve Alzheimer's Disease Detection based on Spontaneous Speechcited by 8
- 2025Meaningless Tokens, Meaningful Gains: How Activation Shifts Enhance LLM Reasoningcited by 8
- 2026The Hot Mess of AI: How Does Misalignment Scale With Model Intelligence and Task Complexity?cited by 8
- 2026The Fragility Of Moral Judgment In Large Language Modelscited by 8
- 2025Do We Know What LLMs Don't Know? A Study of Consistency in Knowledge Probingcited by 7
- 2024Privacy Bias in Language Models: A Contextual Integrity-based Auditing Metriccited by 6
- 2026ErrorMap and ErrorAtlas: Charting the Failure Landscape of Large Language Modelscited by 6
- 2024Leveraging Prior Experience: An Expandable Auxiliary Knowledge Base for Text-to-SQLcited by 5
- 2026Compositional Steering of Large Language Models with Steering Tokenscited by 5
- 2025AIRepr: An Analyst-Inspector Framework for Evaluating Reproducibility of LLMs in Data Sciencecited by 4
- 2025Cost-aware LLM-based Online Dataset Annotationcited by 4
- 2025Beyond One-Size-Fits-All: Inversion Learning for Highly Effective NLG Evaluation Promptscited by 3
- 2025Natural Language Tools: A Natural Language Approach to Tool Calling In Large Language Agentscited by 3
- 2025GPS: General Per-Sample Promptercited by 3
- 2026Revisiting Prompt Sensitivity in Large Language Models for Text Classification: The Role of Prompt Underspecificationcited by 3
- 2025Adaptive Prompting: Ad-hoc Prompt Composition for Social Bias Detectioncited by 2
- 2025LLMs as Data Annotators: How Close Are We to Human Performancecited by 2
- 2025Agents Require Metacognitive and Strategic Reasoning to Succeed in the Coming Labor Marketscited by 2
- 2025Question-to-Knowledge (Q2K): Multi-Agent Generation of Inspectable Facts for Product Mappingcited by 2
- 2025Is In-Context Learning Learning?cited by 2
- 2025PIAST: Rapid Prompting with In-context Augmentation for Scarce Training datacited by 2
- 2026How Open Must Language Models be to Enable Reliable Scientific Inference?cited by 2
- 2026Matryoshka Agent: Unfolding Sub-Agents for Long-Horizon Machine Learning Engineeringcited by 2
- 2024Talking with Tables for Better LLM Factual Data Interactionscited by 1
- 2025Understanding and supporting how developers prompt for LLM-powered code editing in practicecited by 1
- 2025CEA-LIST at CheckThat! 2025: Evaluating LLMs as Detectors of Bias and Opinion in Textcited by 1
- 2025Contrast Sensitivity in Multimodal Large Language Models: A Psychophysics-Inspired Evaluationcited by 1
- 2025Instance-level Randomization: Toward More Stable LLM Evaluationscited by 1
- 2025Position: AI Evaluations Should be Grounded on a Theory of Capabilitycited by 1
- 2025RCScore: Quantifying Response Consistency in Large Language Modelscited by 1
- 2025Prompt Fairness: Sub-group Disparities in LLMscited by 1
- 2025Focused Chain-of-Thought: Efficient LLM Reasoning via Structured Input Informationcited by 1
- 2025Advancing Text Classification with Large Language Models and Neural Attention Mechanismscited by 1
50 most cited of 88 All 88 (JSON)
- 2026Generalization Is Stability, Not Accuracy: Multi-Axis Evaluation of LLMs1 Oct 2026
- 2026Cheap Talk Stabilizes Strategic Interaction in LLM Agents14 Sep 2026
- 2026Noise Floor Audit for Agent Benchmarks23 Aug 2026
- 2026Evaluating and Explaining Prompt Sensitivity of LLMs Using Interactions19 Aug 2026
- 2026Is This Your Final Answer? Cross-Contextual Consistency as a Measure of LLM Credibility10 Aug 2026
- 2026Matryoshka Agent: Unfolding Sub-Agents for Long-Horizon Machine Learning Engineering27 Jul 2026
- 2026From Plausible to Actionable: A Position on LLM Self-Explanations17 Jul 2026
- 2026How to Ask the AI: A User Perspective Survey for Large Language Model Prompting17 Jun 2026
- 2026Emergent retokenization symmetry in large language models: phenomenology and applications14 Jun 2026
- 2026When Large Language Models Fail in Healthcare: Evaluating Sensitivity to Prompt Variations5 Jun 2026
- 2026The Unsampled Truth: Quantifying Prompt Artifacts in LM Psychometrics2 Jun 2026
- 2026Lost in Context: Addressing Context Anxiety in Large Language Models29 May 2026
38 more
- 2026Same Patient, Different Words, Different Diagnosis? Evaluating Semantic Stability in Clinical LLMs28 May 2026
- 2026Token Inflation: How Dishonest Providers Can Overcharge for Large Language Model Usage28 May 2026
- 2026The Importance of Being Statistically Earnest: A Critical Re-evaluation of GSM-Symbolic27 May 2026
- 2026Medical Context Distorts Decisions in Clinical Vision Language Models17 May 2026
- 2026Paraphrase-Induced Output-Mode Collapse: When LLMs Break Character Under Semantically Equivalent Inputs6 May 2026
- 2026Evaluating LLM-Based Goal Extraction in Requirements Engineering: Prompting Strategies and Their Limitations24 Apr 2026
- 2026From Codebooks to VLMs: Evaluating Automated Visual Discourse Analysis for Climate Change on Social Media23 Apr 2026
- 2026SPAGBias: Uncovering and Tracing Structured Spatial Gender Bias in Large Language Models16 Apr 2026
- 2026Fine-Tuning Large Language Models for Cooperative Tactical Deconfliction of Small Unmanned Aerial Systems30 Mar 2026
- 2026How Open Must Language Models be to Enable Reliable Scientific Inference?27 Mar 2026
- 2026To Write or to Automate Linguistic Prompts, That Is the Question26 Mar 2026
- 2026PLR: Plackett-Luce for Reordering In-Context Learning Examples22 Mar 2026
- 2026Loosely-Structured Software: Engineering Context, Structure, and Evolution Entropy in Runtime-Rewired Multi-Agent Systems16 Mar 2026
- 2026PrefPO: Pairwise Preference Prompt Optimization13 Mar 2026
- 2026The Fragility Of Moral Judgment In Large Language Models5 Mar 2026
- 2026TATRA: Training-Free Instance-Adaptive Prompting Through Rephrasing and Aggregation6 Feb 2026
- 2026Revisiting Prompt Sensitivity in Large Language Models for Text Classification: The Role of Prompt Underspecification4 Feb 2026
- 2026The Hot Mess of AI: How Does Misalignment Scale With Model Intelligence and Task Complexity?30 Jan 2026
- 2026Specialists or Generalists? Multi-Agent and Single-Agent LLMs for Essay Grading29 Jan 2026
- 2026Semantic Content Determines Algorithmic Performance29 Jan 2026
- 2026LLM-Based Adversarial Persuasion Attacks on Fact-Checking Systems23 Jan 2026
- 2026ErrorMap and ErrorAtlas: Charting the Failure Landscape of Large Language Models22 Jan 2026
- 2026Compositional Steering of Large Language Models with Steering Tokens8 Jan 2026
- 2026Submodular Evaluation Subset Selection in Automatic Prompt Optimization7 Jan 2026
- 2025PIAST: Rapid Prompting with In-context Augmentation for Scarce Training data11 Dec 2025
- 2025Advancing Text Classification with Large Language Models and Neural Attention Mechanisms10 Dec 2025
- 2025Focused Chain-of-Thought: Efficient LLM Reasoning via Structured Input Information27 Nov 2025
- 2025Prompt Fairness: Sub-group Disparities in LLMs25 Nov 2025
- 2025GPS: General Per-Sample Prompter18 Nov 2025
- 2025RCScore: Quantifying Response Consistency in Large Language Models30 Oct 2025
- 2025Natural Language Tools: A Natural Language Approach to Tool Calling In Large Language Agents16 Oct 2025
- 2025If Probable, Then Acceptable? Understanding Conditional Acceptability Judgments in Large Language Models9 Oct 2025
- 2025Meaningless Tokens, Meaningful Gains: How Activation Shifts Enhance LLM Reasoning1 Oct 2025
- 2025The Rogue Scalpel: Activation Steering Compromises LLM Safety26 Sep 2025
- 2025AutoSCORE: Enhancing Automated Scoring with Multi-Agent Large Language Models via Structured Component Recognition26 Sep 2025
- 2025Position: AI Evaluations Should be Grounded on a Theory of Capability23 Sep 2025
- 2025Instance-level Randomization: Toward More Stable LLM Evaluations16 Sep 2025
- 2025When the Code Autopilot Breaks: Why LLMs Falter in Embedded Machine Learning13 Sep 2025
50 newest of 88 All 88 (JSON)
- 2024A Review of Large Language Models and Autonomous Agents in Chemistrycited by 96
- 2025Talk Structurally, Act Hierarchically: A Collaborative Framework for LLM Multi-Agent Systemscited by 17
- 2025Risk Analysis Techniques for Governed LLM-based Multi-Agent Systemscited by 16
- 2025Reinforcement Learning for Machine Learning Engineering Agentscited by 13
- 2025AutoSCORE: Enhancing Automated Scoring with Multi-Agent Large Language Models via Structured Component Recognitioncited by 13
- 2025Natural Language Tools: A Natural Language Approach to Tool Calling In Large Language Agentscited by 3
- 2026Loosely-Structured Software: Engineering Context, Structure, and Evolution Entropy in Runtime-Rewired Multi-Agent Systemscited by 1
- 2026Specialists or Generalists? Multi-Agent and Single-Agent LLMs for Essay Gradingcited by 0
- 2026Noise Floor Audit for Agent Benchmarkscited by 0
- 2026Cheap Talk Stabilizes Strategic Interaction in LLM Agentscited by 0
- 2026Cheap Talk Stabilizes Strategic Interaction in LLM Agents14 Sep 2026
- 2026Noise Floor Audit for Agent Benchmarks23 Aug 2026
- 2026Loosely-Structured Software: Engineering Context, Structure, and Evolution Entropy in Runtime-Rewired Multi-Agent Systems16 Mar 2026
- 2026Specialists or Generalists? Multi-Agent and Single-Agent LLMs for Essay Grading29 Jan 2026
- 2025Natural Language Tools: A Natural Language Approach to Tool Calling In Large Language Agents16 Oct 2025
- 2025AutoSCORE: Enhancing Automated Scoring with Multi-Agent Large Language Models via Structured Component Recognition26 Sep 2025
- 2025Reinforcement Learning for Machine Learning Engineering Agents1 Sep 2025
- 2025Risk Analysis Techniques for Governed LLM-based Multi-Agent Systems6 Aug 2025
- 2025Talk Structurally, Act Hierarchically: A Collaborative Framework for LLM Multi-Agent Systems16 Feb 2025
- 2024A Review of Large Language Models and Autonomous Agents in Chemistry26 Jun 2024
- 2025Meaningless Tokens, Meaningful Gains: How Activation Shifts Enhance LLM Reasoningcited by 8
- 2025Adaptive Prompting: Ad-hoc Prompt Composition for Social Bias Detectioncited by 2
- 2025Focused Chain-of-Thought: Efficient LLM Reasoning via Structured Input Informationcited by 1
- 2026The Importance of Being Statistically Earnest: A Critical Re-evaluation of GSM-Symboliccited by 0
- 2026Lost in Context: Addressing Context Anxiety in Large Language Modelscited by 0
- 2026Lost in Context: Addressing Context Anxiety in Large Language Models29 May 2026
- 2026The Importance of Being Statistically Earnest: A Critical Re-evaluation of GSM-Symbolic27 May 2026
- 2025Focused Chain-of-Thought: Efficient LLM Reasoning via Structured Input Information27 Nov 2025
- 2025Meaningless Tokens, Meaningful Gains: How Activation Shifts Enhance LLM Reasoning1 Oct 2025
- 2025Adaptive Prompting: Ad-hoc Prompt Composition for Social Bias Detection10 Feb 2025
- 2024Reference-Guided Verdict: LLMs-as-Judges in Automatic Evaluation of Free-Form QAcited by 25
- 2025Beyond Prompt Engineering: Robust Behavior Control in LLMs via Steering Target Atomscited by 23
- 2025GraphEval: A Lightweight Graph-Based LLM Framework for Idea Evaluationcited by 17
- 2024Evaluating Gender Bias of LLMs in Making Morality Judgementscited by 15
- 2025Persona-Augmented Benchmarking: Evaluating LLMs Across Diverse Writing Stylescited by 15
- 2025Prompt-Reverse Inconsistency: LLM Self-Inconsistency Beyond Generative Randomness and Prompt Paraphrasingcited by 14
- 2025Firm or Fickle? Evaluating Large Language Models Consistency in Sequential Interactionscited by 12
- 2024LLMs: A Game-Changer for Software Engineers?cited by 11
- 2025PRL: Prompts from Reinforcement Learningcited by 9
- 2024Linguistic Features Extracted by GPT-4 Improve Alzheimer's Disease Detection based on Spontaneous Speechcited by 8
- 2026The Hot Mess of AI: How Does Misalignment Scale With Model Intelligence and Task Complexity?cited by 8
- 2026The Fragility Of Moral Judgment In Large Language Modelscited by 8
12 most cited of 66 All 66 (JSON)
- 2026Generalization Is Stability, Not Accuracy: Multi-Axis Evaluation of LLMs1 Oct 2026
- 2026Evaluating and Explaining Prompt Sensitivity of LLMs Using Interactions19 Aug 2026
- 2026Is This Your Final Answer? Cross-Contextual Consistency as a Measure of LLM Credibility10 Aug 2026
- 2026Matryoshka Agent: Unfolding Sub-Agents for Long-Horizon Machine Learning Engineering27 Jul 2026
- 2026From Plausible to Actionable: A Position on LLM Self-Explanations17 Jul 2026
- 2026How to Ask the AI: A User Perspective Survey for Large Language Model Prompting17 Jun 2026
- 2026Emergent retokenization symmetry in large language models: phenomenology and applications14 Jun 2026
- 2026The Unsampled Truth: Quantifying Prompt Artifacts in LM Psychometrics2 Jun 2026
- 2026Same Patient, Different Words, Different Diagnosis? Evaluating Semantic Stability in Clinical LLMs28 May 2026
- 2026Token Inflation: How Dishonest Providers Can Overcharge for Large Language Model Usage28 May 2026
- 2026Paraphrase-Induced Output-Mode Collapse: When LLMs Break Character Under Semantically Equivalent Inputs6 May 2026
- 2026Evaluating LLM-Based Goal Extraction in Requirements Engineering: Prompting Strategies and Their Limitations24 Apr 2026
12 newest of 66 All 66 (JSON)