Order-Independence Without Fine Tuning
Reid McIlroy-Young, Katrina Brown, Conlan Olson, Linjun Zhang, Cynthia, Dwork

TL;DR
This paper introduces Set-Based Prompting, a technique that ensures large language models produce order-independent outputs, improving consistency without requiring fine-tuning, and demonstrating its effectiveness across transformer-based models.
Contribution
The paper proposes a provably effective method for eliminating order dependence in LLM outputs, applicable to any transformer-based model without additional training.
Findings
Set-Based Prompting guarantees order-independent outputs.
The method reduces output variability caused by input reordering.
It can be applied as a drop-in solution to existing models.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsNatural Language Processing Techniques · Multi-Agent Systems and Negotiation · Semantic Web and Ontologies
MethodsSparse Evolutionary Training
