mlsanityData to 14 Oct 2026

Set-LLM: A Permutation-Invariant LLM

arXiv 2505.15433 ↗First posted 21 May 2025cs.LG cs.AI cs.CLcited by 11

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2022Training language models to follow instructions with human feedbackcited by 15,971
  4. 2024The Llama 3 Herd of Modelscited by 14,715
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  6. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  7. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
  8. 2017Graph Attention Networkscited by 8,923
  9. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  10. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  11. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  12. 2018How Powerful are Graph Neural Networks?cited by 4,393
35 more
  1. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  2. 2023Mistral 7Bcited by 3,164
  3. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  4. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
  5. 2023MMBench: Is Your Multi-modal Model an All-around Player?cited by 2,141
  6. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
  7. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
  8. 2024A Survey on LLM-as-a-Judgecited by 1,423
  9. 2017Deep Setscited by 1,421
  10. 2022No Language Left Behind: Scaling Human-Centered Machine Translationcited by 1,312
  11. 2021Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gaugescited by 1,167
  12. 2018Self-Attention with Relative Position Representationscited by 1,120
  13. 2023Large Language Models are not Fair Evaluatorscited by 1,085
  14. 2023Encouraging Divergent Thinking in Large Language Models through Multi-Agent Debatecited by 1,011
  15. 2023AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedbackcited by 748
  16. 2023Instruction Tuning for Large Language Models: A Surveycited by 623
  17. 2021Datasets: A Community Library for Natural Language Processingcited by 530
  18. 2019Multi-News: a Large-Scale Multi-Document Summarization Dataset and Abstractive Hierarchical Modelcited by 431
  19. 2023UltraFeedback: Boosting Language Models with Scaled AI Feedbackcited by 406
  20. 2023JudgeLM: Fine-tuned Large Language Models are Scalable Judgescited by 367
  21. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
  22. 2019K-BERT: Enabling Language Representation with Knowledge Graphcited by 304
  23. 2021Gradient-based Adversarial Attacks against Text Transformerscited by 234
  24. 2023Large Language Models in Finance: A Surveycited by 226
  25. 2024G-Retriever: Retrieval-Augmented Generation for Textual Graph Understanding and Question Answeringcited by 223
  26. 2023Survey of Vulnerabilities in Large Language Models Revealed by Adversarial Attackscited by 194
  27. 2021GraphFormers: GNN-nested Transformers for Representation Learning on Textual Graphcited by 143
  28. 2024The BiGGen Bench: A Principled Benchmark for Fine-grained Evaluation of Language Models with Language Modelscited by 93
  29. 2023A Setwise Approach for Effective and Highly Efficient Zero-shot Ranking with Large Language Modelscited by 55
  30. 2024Large Language Models for Medicine: A Surveycited by 38
  31. 2023Found in the Middle: Permutation Self-Consistency Improves Listwise Ranking in Large Language Modelscited by 31
  32. 2023Multimodal Graph Learning for Generative Taskscited by 27
  33. 2023Fool Your (Vision and) Language Model With Embarrassingly Simple Permutationscited by 25
  34. 2023StrategyLLM: Large Language Models as Strategy Generators, Executors, Optimizers, and Evaluators for Problem Solvingcited by 13
  35. 2024Graph Language Modelscited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 9.

11 papers.