mlsanityData to 14 Oct 2026

Order-Independence Without Fine Tuning

arXiv 2406.06581 ↗First posted 4 Jun 2024cs.CL cs.AI cs.LGcited by 6

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  5. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  6. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  7. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  8. 2023Mistral 7Bcited by 3,164
  9. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
  10. 2020Reformer: The Efficient Transformercited by 1,668
  11. 2023PaLM 2 Technical Reportcited by 1,162
  12. 2018Image Transformercited by 772
18 more
  1. 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 493
  2. 2023Large Language Models Are Not Robust Multiple Choice Selectorscited by 486
  3. 2013Good Debt or Bad Debt: Detecting Semantic Orientations in Economic Textscited by 310
  4. 2023Large Language Models Sensitivity to The Order of Options in Multiple-Choice Questionscited by 263
  5. 2023Adapted Large Language Models Can Outperform Medical Experts in Clinical Text Summarizationcited by 246
  6. 2023Proving Test Set Contamination in Black Box Language Modelscited by 230
  7. 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 200
  8. 2023Do LLMs exhibit human-like response biases? A case study in survey designcited by 180
  9. 2023Embers of Autoregression: Understanding Large Language Models Through the Problem They are Trained to Solvecited by 178
  10. 2023In-Context Impersonation Reveals Large Language Models' Strengths and Biasescited by 155
  11. 2024When Benchmarks are Targets: Revealing the Sensitivity of Large Language Model Leaderboardscited by 137
  12. 2024Make Your LLM Fully Utilize the Contextcited by 119
  13. 2023A Survey on Fairness in Large Language Modelscited by 95
  14. 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 85
  15. 2023A Comprehensive Survey on Deep Graph Representation Learningcited by 72
  16. 2023LLM Comparative Assessment: Zero-shot NLG Evaluation through Pairwise Comparisons using Large Language Modelscited by 71
  17. 2020Multi-hop Attention Graph Neural Networkcited by 53
  18. 2021Incorporating Residual and Normalization Layers into Analysis of Masked Language Modelscited by 51

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 3.

6 papers.