vix.ing · top · new · best · stats · spec

Layer-wise Positional Bias in Short-Context Language Modeling

2026/01/31 by Maryam Rahimi, Mahdi Nouri, Yadollah Yaghoobzadeh
Computer Science · #cs.AI #cs.CL

paper · pdf · doi:10.48550/arxiv.2601.04098

arxiv created 2026/08/06 · arxiv updated 2026/08/07

Abstract

Transformer language models systematically prefer tokens at specific input positions regardless of semantic relevance---a phenomenon known as positional bias. Prior work characterizes this bias in model behavior through performance drops in long-context tasks or in model architecture through attention-based analyses. However, it remains unmeasured how input positions actually drive predictions layer by layer. We introduce a layer conductance framework within a sliding-window design, applied to short-context next-word prediction to isolate model-internal behavior from task and context-window pressure. The resulting layer-wise positional importance profiles are stable across diverse texts and lexical scrambling, confirming they reflect model-internal structure. Characterizing how these profiles evolve across depth, we find recency bias increases monotonically while primacy bias is subtle and diminishes. We also find that this positional bias is not uniform across word types: function words exhibit higher recency bias while content words show higher primacy bias.

Citations