arXiv:2610.34682cs.LGOct 2026

Manuscript Offprint

arXiv:2610.34682

Beyond Deduplication: Sharp Retrieval Limits for Attention with Correlated Distractors

Heehyun Park

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

HEEHYUN PARK

ABSTRACT. Redundant context affects attention through two distinct mechanisms: repeated items add normalization mass, while score variation within correlated groups can produce extreme individual scores. We separate these effects in a planted retrieval model with exponentially many Gaussian distractors arranged in known, exponentially large clusters. The model is a two-level generalized random energy model, whose classical free energy yields exact retrieval thresholds. Gaussian interpolation further shows that increasing positive correlation at fixed token count lowers the distractor free energy, unlike adding duplicates. Our main result identifies a sharp limitation of subtracting log cluster size from pre-softmax scores: this correction removes multiplicity but retains within-cluster extremes. Even a temperature chosen after observing all scores cannot lower the required signal below 2α1\sqrt{2\alpha_1}, where α1\alpha_1 is the exponential rate of the number of clusters. Averaging scores before exponentiation instead suppresses these fluctuations and achieves 2ρα1\sqrt{2\rho\alpha_1}, where ρ\rho is the within-cluster correlation. The gap persists after adding exponentially many singleton distractors, so group size alone does not identify the target, and extends to fixed finite hierarchies of light-tailed independent-increment scores. Finite-sample, stability, and participation results complement the asymptotic analysis. A controlled retrieval experiment with frozen sentence embeddings supports this distinction while delineating its scope: averaging helps when the relevant item is a singleton, but can discard useful evidence when a relevant group contains multiple matching items.

1. INTRODUCTION

Repeated passages, related keys, and duplicated records can change attention even when the quality of an individual query-key score stays fixed. Two interventions are easily conflated: correlating a fixed collection of scores, and adding more copies of existing scores. Their effects need not have the same sign. A theory that attributes every redundancy failure to positive correlation risks recommending the wrong intervention.

We analyze one softmax retrieval step with a planted relevant item and a hierarchical Gaussian distractor ensemble. Our objective is to characterize the signal strength needed for its attention mass to approach one. We treat the hierarchy as a supplied partition, as could arise from document or record identifiers. Inferring semantic groups from learned keys is a separate problem. We also include exponentially many singleton distractors so that group sizes alone need not identify the target. The model permits exact comparisons of ordinary attention, subtraction of log cluster size, and averaging scores before exponentiation.

Our main result identifies what count correction leaves behind: dividing a cluster's weight by its size does not suppress its largest individual scores. Count correction therefore has a sharp signal threshold that cannot be lowered even by choosing the temperature after observing all scores (Theorem 4.1). Averaging the scores first achieves a strictly smaller threshold (Theorem 5.1). The hidden-singleton result removes identification from group size alone, and the deeper and non-Gaussian results extend this same comparison. Finite-sample and stability bounds describe its scope. The free energy and concentration transitions themselves come from classical random energy model (REM) and generalized random energy model (GREM) calculations [4, 8, 9]; we provide self-contained proofs. Finally, a frozen-encoder experiment tests the two operations on natural sentences, including cases where averaging relevant scores hurts retrieval.

HEEHYUN PARK

Relation to prior work. The Gibbs interpretation of attention and its connection to associative memory are established [18]. REM methods already yield precise softmax and initialization analyses [10, 13]. Long-context scaling depends on the score geometry [6], and gap-counting unifies several concentration scales [14]. Training-driven transitions [16], correlated Hopfield equilibria [20], and clustered self-attention dynamics [12] concern different observables or dynamics. Our observable is the mass of an externally planted item after a single retrieval step. This distinction does not make the underlying GREM calculation new.

Likewise, correcting sampling density is an established idea, including in PointConv [22]. ToMe explicitly accounts for multiplicity through a +log m adjustment after merging [2]; Double-P uses size-weighted centroids to approximate token attention [17]. We study a different objective: equal prior mass for supplied groups. LUCID addresses correlated-key interference through preconditioning [11]. We do not introduce a general density correction or token-merging architecture. Our focus is their sharp retrieval limits in an explicit probabilistic model.