arXiv:2610.29057cs.AIOct 2026

Manuscript Offprint

arXiv:2610.29057

Does Every Instance Count Equally? Order Effects in LLM Multi-Instance Processing

Jingxuan Chen, Mohammad Taher Pilehvar, Jose Camacho-Collados

Abstract

Users increasingly rely on large language models (LLMs) to analyse collections of independent inputs, such as product reviews or social media posts, and return a single aggregated answer. This setting requires multi-instance processing (MIP), where a model combines information from multiple instances into one prediction. We study a task in which the model must infer a binary label for each instance, and identify the most frequent label among the full instance set. The correct answer should be invariant to instance order. By evaluating fifteen LLMs across five datasets and seven instance order patterns, with each instance set held fixed across patterns, we find substantial order sensitivity. Accuracy can differ by about 90 percentage points between the best and worst order patterns, with models generally more accurate when majority-label instances appear at the start than when they appear in the middle or at the end. For subsets of models, available reasoning traces and gradient-based attribution reveal uneven emphasis across positions. Traces disproportionately mention early instances, while attribution scores are generally higher near the beginning and end than in the middle. These results show that instance order can systematically bias aggregated predictions, highlighting the need to evaluate MIP across different input arrangements. 1^{1}

1 Introduction

LLMs are increasingly used to assist users in analysing large collections of independent inputs, such as product reviews, social media posts, user records, or news snippets (Sun et al., 2025; Tang et al., 2025). This scenario requires multi-instance processing (MIP): the model must process each instance and aggregate the information into one prediction (Bertsch et al., 2026; Chen et al., 2026). Existing work on MIP reports performance degradation as instance count and context length increase (Bertsch et al., 2026; Chen et al., 2026). Instance count and context length are closely related, as increasing the number of instances also lengthens the context, creating a natural overlap between MIP and long-context settings.

However, many long-context evaluations focus on tasks where only a small subset of the input is relevant (Hsieh et al., 2024a; Lewis et al., 2020; Liu et al., 2025). On such tasks, models are sensitive to where the relevant information appears (Liu et al., 2024), and similar order effects have been reported for in-context learning and multiple-choice questions (Cobbina and Zhou, 2025; Pezeshkpour and Hruschka, 2024). Less is known about how the positions of differently labelled instances affect aggregation over the full set of instances.

Because these aggregated predictions often drive downstream decisions, their reliability matters in practice (Zhu et al., 2026). When aggregating over the full, unordered set of instances, omitting even a small fraction of them can change the correct answer, but reordering them cannot. We therefore treat permutation invariance as a necessary, though not sufficient, condition for reliable aggregation.

To test whether LLMs are permutation invariant in MIP, we build a controlled diagnostic probe. Given a set of instances and two possible labels, the model must infer each instance's label and identify the majority label across instances. Figure 1 illustrates this setting with four representative instance order patterns. We evaluate fifteen LLMs across five classification tasks, holding each instance set fixed while varying its order across seven patterns.

Our results suggest that the evaluated LLMs are broadly not robust to instance order. Across models, accuracy can differ by about 90 percentage points between the best and worst order patterns, and the effect is systematic and directional. A majority placed at the start is generally easier to iden-

1^{1}Data and code are available at https://github.com/jingxuanchen916/mip-order.

MIP Question: Are there more Label A or Label B instances?

Figure

Figure 1: An illustrative example of our MIP setting, with 20 textual instances and two pre-defined labels, arranged in four order patterns. In this example, the model correctly predicts the majority label when instances are randomly shuffled or majority-label instances are grouped at the beginning, but not when they are grouped in the middle or at the end. Note that while all instances are color-coded for informative purposes, LLMs receive instances without label information.

tify than one placed in the middle or at the end. This advantage remains visible across different instance counts and label distributions. For subsets of models, we further examine reasoning traces and gradient-based attribution. We find that reasoning traces often mention only a small fraction of instances (frequently fewer than a quarter), primarily those near the beginning, while gradient-based attribution scores are lower in the middle than at the beginning and end.