LGAICLMay 21, 2025

Set-LLM: A Permutation-Invariant LLM

arXiv:2505.15433v16 citationsh-index: 3
Originality Incremental advance
AI Analysis

This addresses robustness issues in LLMs for applications like multiple-choice QA and automated evaluation, though it is an incremental improvement on existing architectures.

The paper tackles LLMs' vulnerability to input order sensitivity, which causes bias in option selection and inconsistent answers when options are reordered. It introduces Set-LLM, an architectural adaptation with permutation invariance guarantees that eliminates order sensitivity while maintaining comparable performance and runtime.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes