[Paper Review] The Order Effect: Investigating Prompt Sensitivity to Input Order in LLMs
The paper examines how input order affects closed-source LLMs across tasks (paraphrasing, relevance, and MCQs), showing significant performance drops when inputs are shuffled; few-shot prompting offers limited mitigation, especially for longer prompts.
As large language models (LLMs) become integral to diverse applications, ensuring their reliability under varying input conditions is crucial. One key issue affecting this reliability is order sensitivity, wherein slight variations in the input arrangement can lead to inconsistent or biased outputs. Although recent advances have reduced this sensitivity, the problem remains unresolved. This paper investigates the extent of order sensitivity in LLMs whose internal components are hidden from users (such as closed-source models or those accessed via API calls). We conduct experiments across multiple tasks, including paraphrasing, relevance judgment, and multiple-choice questions. Our results show that input order significantly affects performance across tasks, with shuffled inputs leading to measurable declines in output accuracy. Few-shot prompting demonstrates mixed effectiveness and offers partial mitigation; however, fails to fully resolve the problem. These findings highlight persistent risks, particularly in high-stakes applications, and point to the need for more robust LLMs or improved input-handling techniques in future development.
Motivation & Objective
- Assess how prompt input order affects closed-source LLM performance across multiple tasks.
- Quantify robustness to input reordering in zero-shot and few-shot settings.
- Identify task characteristics that influence sensitivity to input order.
Proposed method
- Run experiments on GPT-4o and GPT-4o mini across five tasks with original vs shuffled input order.
- Use zero-shot and few-shot prompting configurations for each task.
- Analyze performance using standard metrics (e.g., precision, recall, F1) and report deltas due to reordering.
Experimental results
Research questions
- RQ1Does swapping the order of semantically equivalent elements affect LLM outputs in paraphrase tasks (MRPC)?
- RQ2How does input order impact relevance judgment and multiple-choice answering across diverse datasets?
- RQ3Is few-shot prompting able to mitigate order sensitivity across tasks and prompt lengths?
- RQ4Does input length correlate with the magnitude of order-induced performance changes?
Key findings
- Shuffling input order leads to measurable performance declines across tasks for GPT-4o and GPT-4o mini.
- Longer prompts correlate with greater vulnerability to order changes.
- Few-shot prompting often failing to fully mitigate order sensitivity, with mixed effects depending on model and task.
- Order sensitivity persists even in strong closed-source LLMs, raising reliability concerns.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.