mlsanityData to 14 Oct 2026

Towards LLMs Robustness to Changes in Prompt Format Styles

arXiv 2504.06969 ↗First posted 9 Apr 2025cs.CLcited by 21

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) have gained popularity in recent years for their utility in various applications. However, they are sensitive to non-semantic changes in prompt formats, where small changes in the prompt format can lead to significant performance fluctuations. In the literature, this problem is commonly referred to as prompt brittleness. Previous research on prompt engineering has focused mainly on developing techniques for identifying the optimal prompt for specific tasks. Some studies have also explored the issue of prompt brittleness and proposed methods to quantify performance variations; however, no simple solution has been found to address this challenge. We propose Mixture of Formats (MOF), a simple and efficient technique for addressing prompt brittleness in LLMs by diversifying the styles used in the prompt few-shot examples. MOF was inspired by computer vision techniques that utilize diverse style datasets to prevent models from associating specific styles with the target variable. Empirical results show that our proposed technique reduces style-induced prompt brittleness in various LLMs while also enhancing overall performance across prompt variations and different datasets.

Key facts. Cited by 21 papers in the map (data through 14 Oct 2026). Builds on 22 of its 32 references that are in the map. First posted on arXiv 9 Apr 2025.

Builds on

22 of 32 references.

References · 22

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2019Invariant Risk Minimizationcited by 1,854
  3. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
  4. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
  5. 2023Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formattingcited by 817
  6. 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 699
  7. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 653
  8. 2023State of What Art? A Call for Multi-Prompt LLM Evaluationcited by 310
  9. 2022Ask Me Anything: A simple strategy for prompting language modelscited by 155
  10. 2020Understanding the Failure Modes of Out-of-Distribution Generalizationcited by 146
  11. 2024Does Prompt Formatting Have Any Impact on LLM Performance?cited by 141
  12. 2021On Calibration and Out-of-domain Generalizationcited by 134
10 more
  1. 2021Does Invariant Risk Minimization Capture Invariance?cited by 116
  2. 2023Batch Calibration: Rethinking Calibration for In-Context Learning and Prompt Engineeringcited by 94
  3. 2024Mind Your Format: Towards Consistent Evaluation of In-Context Learning Improvementscited by 83
  4. 2024Efficient multi-prompt evaluation of LLMscited by 73
  5. 2023Better Zero-Shot Reasoning with Self-Adaptive Promptingcited by 52
  6. 2023Did You Read the Instructions? Rethinking the Effectiveness of Task Definitions in Instruction Learningcited by 41
  7. 2024Teach Better or Show Smarter? On Instructions and Exemplars in Automatic Prompt Optimizationcited by 29
  8. 2021Optimization-based Causal Estimation from Heterogenous Environmentscited by 16
  9. 2023Simple Disentanglement of Style and Content in Visual Representationscited by 10
  10. 2021Searching for consistent associations with a multi-environment knockoff filtercited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 7; 2026: 14.

21 papers.

Sort:

By area:

  1. 2025MIRAGE-Bench: LLM Agent is Hallucinating and Where to Find Themcited by 16
  2. 2025From Prompts to Constructs: A Dual-Validity Framework for Large Language Model Research in Psychologycited by 9
  3. 2025A validity-guided workflow for robust large language model research in psychologycited by 8
  4. 2026Paraphrasing Adversarial Attack on LLM-as-a-Reviewercited by 8
  5. 2026Compositional Steering of Large Language Models with Steering Tokenscited by 5
  6. 2025Flip-Flop Consistency: Unsupervised Training for Robustness to Prompt Perturbations in LLMscited by 3
  7. 2025Natural Language Tools: A Natural Language Approach to Tool Calling In Large Language Agentscited by 3
  8. 2025PRISON: Unmasking the Criminal Potential of Large Language Modelscited by 2
  9. 2026Model Capability Dominates: Inference-Time Optimization Lessons from AIMO 3cited by 2
  10. 2026Pioneer Agent: Continual Improvement of Small Language Models in Productioncited by 2
  11. 2026PromptAudit: Auditing Prompt Sensitivity in LLM-Based Vulnerability Detectioncited by 2
  12. 2026Mitigating LLM-based p-Hacking by Preregistering for the Next LLMcited by 2
9 more
  1. 2025Instance-level Randomization: Toward More Stable LLM Evaluationscited by 1
  2. 2026Large Language Models for Geolocation Extraction in Humanitarian Crisis Responsecited by 1
  3. 2026AI Agent Systems for Supply Chains: Structured Decision Prompts and Memory Retrievalcited by 0
  4. 2026Prompt Sensitivity and Answer Consistency of Small Open-Source Language Models for Clinical Question Answering in Low-Resource Healthcarecited by 0
  5. 2026Natural Language Interfaces for Spatial and Temporal Databases: A Comprehensive Overview of Methods, Taxonomy, and Future Directionscited by 0
  6. 2026Voice Under Revision: Large Language Models and the Normalization of Personal Narrativecited by 0
  7. 2026Green Shielding: A User-Centric Approach Towards Trustworthy AIcited by 0
  8. 2026Greener Than Humans? Environmental Attitudes in Large Language Modelscited by 0
  9. 2026Beyond Prompt Engineering: A Systematic Analysis of Prompt Lexical Sensitivity and Its Impacts on Qualitycited by 0