# Shuffling inputs usually hurt, but not on every task

> Three systems were tested on five order-sensitive tasks; the shuffle penalty appeared often, while WebGPT comparisons showed an exception.

Canonical: https://aischolar.cc/blog/context-order-effect

[← All articles](https://aischolar.cc/blog)

AISCHOLAR / BLOG

# Shuffling inputs usually hurt, but not on every task

Three systems were tested on five order-sensitive tasks; the shuffle penalty appeared often, while WebGPT comparisons showed an exception.

October 9, 2026

### Same items, different sequence

In five experiments, Bryan Guan, Tanya Roosta, Peyman Passban, and Mehdi Rezagholizadeh rearranged task inputs and measured whether GPT-4o, GPT-4o mini, and DeepSeek R1-Distill-Llama-70B changed their outputs. Their [paper, _The Order Effect: Investigating Prompt Sensitivity to Input Order in LLMs_](https://arxiv.org/pdf/2502.04134), covers sentence-pair classification, passage relevance, multiple-choice questions, medical multiple choice, and comparisons of answer pairs.

The overall pattern was a performance drop after shuffling, although its size varied by model and dataset. On the MS MARCO relevance task, GPT-4o mini’s zero-shot F1 went from 0.49 in the original order to 0.43 after the passages were shuffled. Few-shot examples sometimes narrowed the gap, but did not reliably remove it; on longer MS MARCO inputs they could lower performance further. The WebGPT pairwise-preference experiment ran against the broader trend: most model/settings combinations improved after answer order changed.

### An exception is part of the result

The authors could not identify a consistent pattern explaining when shuffling helped or hurt. They tested three systems and a selected set of datasets, and described the paper as work in progress. These results do not show that every reorder degrades performance, or isolate a model-internal cause. In particular, the authors’ speculation about autoregressive training is not directly tested.

For an evaluator using an LLM to rank answers, both candidate orderings are worth checking: in this study, the same operation shifted benchmark scores in opposite directions across tasks.

### Bibliography

-   Bryan Guan, Tanya Roosta, Peyman Passban, and Mehdi Rezagholizadeh (2025). _The Order Effect: Investigating Prompt Sensitivity to Input Order in LLMs_. arXiv:2502.04134v2. [Full paper (PDF)](https://arxiv.org/pdf/2502.04134).

Original source: [https://arxiv.org/pdf/2502.04134](https://arxiv.org/pdf/2502.04134)

About AIScholar

## Study LLM behavior.

AIScholar is a research workspace for controlled, replicated studies of LLM behavior using single-turn text responses from OpenRouter-served models. The nine-stage workflow includes response coding, visualization, analysis and write-up; researchers validate measurements and interpret results.

[Explore AIScholar ↗](https://aischolar.cc/features)
