Order-Independence Without Fine Tuning
Not on the map. Why?
Abstract (arXiv)
The development of generative language models that can create long and coherent textual outputs via autoregression has lead to a proliferation of uses and a corresponding sweep of analyses as researches work to determine the limitations of this new paradigm. Unlike humans, these 'Large Language Models' (LLMs) are highly sensitive to small changes in their inputs, leading to unwanted inconsistency in their behavior. One problematic inconsistency when LLMs are used to answer multiple-choice questions or analyze multiple inputs is order dependency: the output of an LLM can (and often does) change significantly when sub-sequences are swapped, despite both orderings being semantically identical. In this paper we present Set-Based Prompting, a technique that guarantees the output of an LLM will not have order dependence on a specified set of sub-sequences. We show that this method provably eliminates order dependency, and that it can be applied to any transformer-based LLM to enable text generation that is unaffected by re-orderings. Delving into the implications of our method, we show that, despite our inputs being out of distribution, the impact on expected accuracy is small, where the expectation is over the order of uniformly chosen shuffling of the candidate responses, and usually significantly less in practice. Thus, Set-Based Prompting can be used as a 'dropped-in' method on fully trained models. Finally, we discuss how our method's success suggests that other strong guarantees can be obtained on LLM performance via modifying the input representations.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 30 of its 33 references that are in the map. First posted on arXiv 4 Jun 2024.
Builds on
30 of 33 references.
References · 30
- 2017Attention Is All You Needcited by 60,361
- 2023GPT-4 Technical Reportcited by 18,396
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2023Mistral 7Bcited by 3,164
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
- 2020Reformer: The Efficient Transformercited by 1,668
- 2023PaLM 2 Technical Reportcited by 1,162
- 2018Image Transformercited by 772
18 more
- 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 493
- 2023Large Language Models Are Not Robust Multiple Choice Selectorscited by 486
- 2013Good Debt or Bad Debt: Detecting Semantic Orientations in Economic Textscited by 310
- 2023Large Language Models Sensitivity to The Order of Options in Multiple-Choice Questionscited by 263
- 2023Adapted Large Language Models Can Outperform Medical Experts in Clinical Text Summarizationcited by 246
- 2023Proving Test Set Contamination in Black Box Language Modelscited by 230
- 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 200
- 2023Do LLMs exhibit human-like response biases? A case study in survey designcited by 180
- 2023Embers of Autoregression: Understanding Large Language Models Through the Problem They are Trained to Solvecited by 178
- 2023In-Context Impersonation Reveals Large Language Models' Strengths and Biasescited by 155
- 2024When Benchmarks are Targets: Revealing the Sensitivity of Large Language Model Leaderboardscited by 137
- 2024Make Your LLM Fully Utilize the Contextcited by 119
- 2023A Survey on Fairness in Large Language Modelscited by 95
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 85
- 2023A Comprehensive Survey on Deep Graph Representation Learningcited by 72
- 2023LLM Comparative Assessment: Zero-shot NLG Evaluation through Pairwise Comparisons using Large Language Modelscited by 71
- 2020Multi-hop Attention Graph Neural Networkcited by 53
- 2021Incorporating Residual and Normalization Layers into Analysis of Masked Language Modelscited by 51
Built on by
Citing papers per year: 2025: 3; 2026: 3.
6 papers.
- 2025The Order Effect: Investigating Prompt Sensitivity to Input Order in LLMscited by 19
- 2025Prompt-Reverse Inconsistency: LLM Self-Inconsistency Beyond Generative Randomness and Prompt Paraphrasingcited by 14
- 2026ABCD: All Biases Come Disguisedcited by 3
- 2025Enhancing Complex Instruction Following for Large Language Models with Mixture-of-Contexts Fine-tuningcited by 2
- 2026Equal Ranking Quality, Different Decisions: Measuring and Reducing Order Dependence in LLM Scorerscited by 0
- 2026Consider, Then Choose: Order-Invariant Decisions in System One Modelscited by 0
- 2026Consider, Then Choose: Order-Invariant Decisions in System One Models13 Oct 2026
- 2026Equal Ranking Quality, Different Decisions: Measuring and Reducing Order Dependence in LLM Scorers27 Aug 2026
- 2026ABCD: All Biases Come Disguised19 Feb 2026
- 2025Enhancing Complex Instruction Following for Large Language Models with Mixture-of-Contexts Fine-tuning17 May 2025
- 2025Prompt-Reverse Inconsistency: LLM Self-Inconsistency Beyond Generative Randomness and Prompt Paraphrasing2 Apr 2025
- 2025The Order Effect: Investigating Prompt Sensitivity to Input Order in LLMs6 Feb 2025