Layer-wise Positional Bias in Short-Context Language Modeling

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Rahimi, Maryam, Nouri, Mahdi, Yaghoobzadeh, Yadollah
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914238517215232
author Rahimi, Maryam
Nouri, Mahdi
Yaghoobzadeh, Yadollah
author_facet Rahimi, Maryam
Nouri, Mahdi
Yaghoobzadeh, Yadollah
contents Language models often show a preference for using information from specific positions in the input regardless of semantic relevance. While positional bias has been studied in various contexts, from attention sinks to task performance degradation in long-context settings, prior work has not established how these biases evolve across individual layers and input positions, or how they vary independent of task complexity. We introduce an attribution-based framework to analyze positional effects in short-context language modeling. Using layer conductance with a sliding-window approach, we quantify how each layer distributes importance across input positions, yielding layer-wise positional importance profiles. We find that these profiles are architecture-specific, stable across inputs, and invariant to lexical scrambling. Characterizing these profiles, we find prominent recency bias that increases with depth and subtle primacy bias that diminishes through model depth. Beyond positional structure, we also show that early layers preferentially weight content words over function words across all positions, while later layers lose this word-type differentiation.
format Preprint
id arxiv_https___arxiv_org_abs_2601_04098
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Layer-wise Positional Bias in Short-Context Language Modeling
Rahimi, Maryam
Nouri, Mahdi
Yaghoobzadeh, Yadollah
Computation and Language
Artificial Intelligence
Language models often show a preference for using information from specific positions in the input regardless of semantic relevance. While positional bias has been studied in various contexts, from attention sinks to task performance degradation in long-context settings, prior work has not established how these biases evolve across individual layers and input positions, or how they vary independent of task complexity. We introduce an attribution-based framework to analyze positional effects in short-context language modeling. Using layer conductance with a sliding-window approach, we quantify how each layer distributes importance across input positions, yielding layer-wise positional importance profiles. We find that these profiles are architecture-specific, stable across inputs, and invariant to lexical scrambling. Characterizing these profiles, we find prominent recency bias that increases with depth and subtle primacy bias that diminishes through model depth. Beyond positional structure, we also show that early layers preferentially weight content words over function words across all positions, while later layers lose this word-type differentiation.
title Layer-wise Positional Bias in Short-Context Language Modeling
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2601.04098