mlsanityData to 14 Oct 2026

Flip-Flop Consistency: Unsupervised Training for Robustness to Prompt Perturbations in LLMs

arXiv 2510.14242 ↗First posted 16 Oct 2025cs.CL cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) often produce inconsistent answers when faced with different phrasings of the same prompt. In this paper, we propose Flip-Flop Consistency (F2C), an unsupervised training method that improves robustness to such perturbations. F2C is composed of two key components. The first, Consensus Cross-Entropy (CCE), uses a majority vote across prompt variations to create a hard pseudo-label. The second is a representation alignment loss that pulls lower-confidence and non-majority predictors toward the consensus established by high-confidence, majority-voting variations. We evaluate our method on 11 datasets spanning four NLP tasks, with 4-15 prompt variations per dataset. On average, F2C raises observed agreement by 11.62%, improves mean F1 by 8.94%, and reduces performance variance across formats by 3.29%. In out-of-domain evaluations, F2C generalizes effectively, increasing overlineF1 and agreement while decreasing variance across most source-target pairs. Finally, when trained on only a subset of prompt perturbations and evaluated on held-out formats, F2C consistently improves both performance and agreement while reducing variance. These findings highlight F2C as an effective unsupervised method for enhancing LLM consistency, performance, and generalization under prompt perturbations. Code is available at https://github.com/ParsaHejabi/Flip-Flop-Consistency-Unsupervised-Training-for-Robustness-to-Prompt-Perturbations-in-LLMs.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 33 of its 60 references that are in the map. First posted on arXiv 16 Oct 2025.

Builds on

33 of 60 references.

References · 33

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  3. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  4. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  5. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  6. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  7. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
  8. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
  9. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
  10. 2023Steering Language Models With Activation Engineeringcited by 922
  11. 2023Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formattingcited by 817
  12. 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 807
21 more
  1. 2016Sequence-Level Knowledge Distillationcited by 801
  2. 2022Large Language Models Can Self-Improvecited by 664
  3. 2016A Corpus and Evaluation Framework for Deeper Understanding of Commonsense Storiescited by 417
  4. 2018WiC: the Word-in-Context Dataset for Evaluating Context-Sensitive Meaning Representationscited by 372
  5. 2023State of What Art? A Call for Multi-Prompt LLM Evaluationcited by 310
  6. 2024When Benchmarks are Targets: Revealing the Sensitivity of Large Language Model Leaderboardscited by 137
  7. 2024The Butterfly Effect of Altering Prompts: How Small Changes and Jailbreaks Affect Large Language Model Performancecited by 100
  8. 2024Mind Your Format: Towards Consistent Evaluation of In-Context Learning Improvementscited by 83
  9. 2024Efficient multi-prompt evaluation of LLMscited by 73
  10. 2022Prompt Consistency for Zero-Shot Task Generalizationcited by 67
  11. 2024POSIX: A Prompt Sensitivity Index For Large Language Modelscited by 59
  12. 2024Improving the Robustness of Large Language Models via Consistency Alignmentcited by 36
  13. 2024Prompt Perturbation Consistency Learning for Robust Language Modelscited by 26
  14. 2025Towards LLMs Robustness to Changes in Prompt Format Stylescited by 21
  15. 2025Do We Truly Need So Many Samples? Multi-LLM Repeated Sampling Efficiently Scales Test-Time Computecited by 20
  16. 2025SCORE: Systematic COnsistency and Robustness Evaluation for Large Language Modelscited by 19
  17. 2024Contrastive Instruction Tuningcited by 17
  18. 2025The threat of analytic flexibility in using large language models to simulate human datacited by 15
  19. 2025Enhancing Semantic Consistency of Large Language Models through Model Editing: An Interpretability-Oriented Approachcited by 14
  20. 2023Improving the Robustness of Transformer-based Large Language Models with Dynamic Attentioncited by 10
  21. 2025Same Question, Different Words: A Latent Adversarial Framework for Prompt Robustnesscited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.