Set-LLM: A Permutation-Invariant LLM
Not on the map. Why?
Abstract (arXiv)
While large language models (LLMs) demonstrate impressive capabilities across numerous applications, their robustness remains a critical concern. This paper is motivated by a specific vulnerability: the order sensitivity of LLMs. This vulnerability manifests itself as the order bias observed when LLMs decide between possible options (for example, a preference for the first option) and the tendency of LLMs to provide different answers when options are reordered. The use cases for this scenario extend beyond the classical case of multiple-choice question answering to the use of LLMs as automated evaluators in AI pipelines, comparing output generated by different models. We introduce Set-LLM, a novel architectural adaptation for pretrained LLMs that enables the processing of mixed set-text inputs with permutation invariance guarantees. The adaptations involve a new attention mask and new positional encodings specifically designed for sets. We provide a theoretical proof of invariance and demonstrate through experiments that Set-LLM can be trained effectively, achieving comparable or improved performance and maintaining the runtime of the original model, while eliminating order sensitivity.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 47 of its 58 references that are in the map. First posted on arXiv 21 May 2025.
Builds on
47 of 58 references.
References · 47
- 2017Attention Is All You Needcited by 60,361
- 2023GPT-4 Technical Reportcited by 18,396
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
- 2017Graph Attention Networkscited by 8,923
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2018How Powerful are Graph Neural Networks?cited by 4,393
35 more
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2023Mistral 7Bcited by 3,164
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
- 2023MMBench: Is Your Multi-modal Model an All-around Player?cited by 2,141
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
- 2024A Survey on LLM-as-a-Judgecited by 1,423
- 2017Deep Setscited by 1,421
- 2022No Language Left Behind: Scaling Human-Centered Machine Translationcited by 1,312
- 2021Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gaugescited by 1,167
- 2018Self-Attention with Relative Position Representationscited by 1,120
- 2023Large Language Models are not Fair Evaluatorscited by 1,085
- 2023Encouraging Divergent Thinking in Large Language Models through Multi-Agent Debatecited by 1,011
- 2023AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedbackcited by 748
- 2023Instruction Tuning for Large Language Models: A Surveycited by 623
- 2021Datasets: A Community Library for Natural Language Processingcited by 530
- 2019Multi-News: a Large-Scale Multi-Document Summarization Dataset and Abstractive Hierarchical Modelcited by 431
- 2023UltraFeedback: Boosting Language Models with Scaled AI Feedbackcited by 406
- 2023JudgeLM: Fine-tuned Large Language Models are Scalable Judgescited by 367
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
- 2019K-BERT: Enabling Language Representation with Knowledge Graphcited by 304
- 2021Gradient-based Adversarial Attacks against Text Transformerscited by 234
- 2023Large Language Models in Finance: A Surveycited by 226
- 2024G-Retriever: Retrieval-Augmented Generation for Textual Graph Understanding and Question Answeringcited by 223
- 2023Survey of Vulnerabilities in Large Language Models Revealed by Adversarial Attackscited by 194
- 2021GraphFormers: GNN-nested Transformers for Representation Learning on Textual Graphcited by 143
- 2024The BiGGen Bench: A Principled Benchmark for Fine-grained Evaluation of Language Models with Language Modelscited by 93
- 2023A Setwise Approach for Effective and Highly Efficient Zero-shot Ranking with Large Language Modelscited by 55
- 2024Large Language Models for Medicine: A Surveycited by 38
- 2023Found in the Middle: Permutation Self-Consistency Improves Listwise Ranking in Large Language Modelscited by 31
- 2023Multimodal Graph Learning for Generative Taskscited by 27
- 2023Fool Your (Vision and) Language Model With Embarrassingly Simple Permutationscited by 25
- 2023StrategyLLM: Large Language Models as Strategy Generators, Executors, Optimizers, and Evaluators for Problem Solvingcited by 13
- 2024Graph Language Modelscited by 6
Built on by
Citing papers per year: 2025: 2; 2026: 9.
11 papers.
- 2026Stable-RAG: Mitigating Retrieval-Permutation-Induced Hallucinations in Retrieval-Augmented Generationcited by 5
- 2026ABCD: All Biases Come Disguisedcited by 3
- 2025The Impossibility of Inverse Permutation Learning in Transformer Modelscited by 2
- 2025Unexplored flaws in multiple-choice VQA make benchmarking unreliablecited by 1
- 2026Towards Order Fairness: Mitigating LLMs Order Sensitivity through Dual Group Advantage Optimizationcited by 1
- 2026Detecting Differences Is Not Understanding Structure: Large Language Models Fail at Graph Isomorphismcited by 1
- 2026Enhancing Tabular Learners with Context-Aware Semantic Embeddingscited by 1
- 2026Option-Order Randomisation Reveals a Distributional Position Attractor in Prompted Sandbaggingcited by 0
- 2026GLM-RAG: Graph Language Models for Graph-Based Retrieval-Augmented Generationcited by 0
- 2026Counterfactual Benchmarking and Training for Factuality Consistency and Order-Robust Grounded Reasoning in LLMs over Heterogeneous Knowledgecited by 0
- 2026ufakzeka-karar: An Open Turkish Typed-Decision Model with Order-Invariant Option Scoringcited by 0
- 2026ufakzeka-karar: An Open Turkish Typed-Decision Model with Order-Invariant Option Scoring5 Oct 2026
- 2026Counterfactual Benchmarking and Training for Factuality Consistency and Order-Robust Grounded Reasoning in LLMs over Heterogeneous Knowledge8 Aug 2026
- 2026Enhancing Tabular Learners with Context-Aware Semantic Embeddings4 Aug 2026
- 2026GLM-RAG: Graph Language Models for Graph-Based Retrieval-Augmented Generation30 Jul 2026
- 2026Detecting Differences Is Not Understanding Structure: Large Language Models Fail at Graph Isomorphism8 Jun 2026
- 2026Towards Order Fairness: Mitigating LLMs Order Sensitivity through Dual Group Advantage Optimization12 May 2026
- 2026Option-Order Randomisation Reveals a Distributional Position Attractor in Prompted Sandbagging29 Apr 2026
- 2026ABCD: All Biases Come Disguised19 Feb 2026
- 2026Stable-RAG: Mitigating Retrieval-Permutation-Induced Hallucinations in Retrieval-Augmented Generation6 Jan 2026
- 2025Unexplored flaws in multiple-choice VQA make benchmarking unreliable27 Nov 2025
- 2025The Impossibility of Inverse Permutation Learning in Transformer Models28 Sep 2025