potentialpaper

Hidden in Order: A Theoretical and Empirical Dissection of Positional Bias in LLMs

Mahdis Asaadi, Elham Karimi, Hosein Barzekar, Morteza Rezanejad

ICLR 2026 submission

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Large Language Models (LLMs) demonstrate strong capabilities but remain limited by positional bias defined as the tendency to treat content differently based on where it appears in a sequence. This bias creates subtle but consequential distortions in tasks that demand equal treatment of all inputs, such as multi-document reasoning. Although positional effects have been observed, no unified approach has existed to measure them systematically. We present Xayna, a framework of 11 complementary methods spanning information-theoretic, geometric, and probabilistic perspectives. Xayna evaluates internal representations, attention flows, and output behavior across models including GPT-4o, Gemini 2.5, Llama 3, Claude 3.7, Mixtral 8×22B, and DeepSeek R1. Results show consistent patterns: (i) identical content yields divergent representations with near-zero cosine similarity; (ii) attention flows disproportionately from later to earlier tokens; and (iii) primacy dominates behavior, with position-1 preferences reaching 0.892 in Llama 3. Xayna provides both a toolkit for quantifying positional bias and a foundation for developing position-aware evaluation and mitigation strategies, advancing the pursuit of more reliable and equitable language technologies.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…