# Length Is Cheap, Competition Is Not: Attention Predicts Context Rot in Retrieval

길이는 저렴하고 경쟁은 그렇지 않다: 어텐션이 검색에서의 컨텍스트 로트를 예측한다

Yinuo Liu · arXiv · 2026년 11월 3일

- **연구 문제** 긴 입력에서 검색 정확도가 떨어지는 현상을 길이 탓으로만 볼 수 있는지 검증합니다.
- **연구 방법** 길이와 위치를 고정하고 중립 필러, 경쟁 진술, 마스킹 조건을 비교하며 증거 주의 질량 a\*로 손실을 설명합니다.
- **주요 결과** 중립 필러는 길이를 늘려도 정확도를 거의 잃지 않지만, 경쟁 진술은 8K에서 32K 토큰에서 정확도를 0.11에서 0.21로 떨어뜨립니다.

## 긴 입력에서 성능이 떨어지는 원인

긴 입력에서 검색 정확도가 떨어지는 현상은 흔히 입력 길이 탓으로 설명됩니다. 이 논문은 길이와 함께 늘어나는 내용, 특히 증거와 경쟁하는 진술이 실제 원인인지 구분하려고 합니다. 기존 연구들은 길이와 내용을 함께 바꾸기 때문에 둘 중 무엇이 손실을 만드는지 분리하기 어렵습니다. 이 논문은 길이를 고정하고 주변 내용만 바꾸는 대조 실험을 설계하여 이 문제를 다룹니다. 여기서 말하는 context rot은 긴 입력에서 검색 정확도가 떨어지는 현상을 가리킵니다.

![Table 1: Controls in the closest prior work](https://refivu.com/papers/ec71fd66-c7ba-4bf5-b0d5-423b35b3bf5c/figures/figure-ca6c712830f92d262c1b7b4e4f4c4498.png?thumb=512)

**Table 1** : Controls in the closest prior work.

[원문](https://arxiv.org/abs/2611.04169v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yinuo Liu · Length Is Cheap, Competition Is Not: Attention Predicts Context Rot in Retrieval · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

## 증거 주의 질량과 경쟁 진술 설정

실험은 키-값 검색 과제에서 증거 진술 하나와 질의를 포함하는 문맥을 만듭니다. 같은 증거 위치와 전체 길이를 유지한 채 짧은 문맥, 중립 필러, 증거 형식의 경쟁 진술, 어텐션에서 가린 필러의 네 가지 문맥을 구성합니다. 손실은 짧은 문맥의 정답 확률 대비 조건 c의 정답 확률로 계산하며 Δc = log(p\_short/p\_c)로 정의되고 단위는 나스입니다. 경쟁 진술은 키를 51개 명사에서 균등하게 뽑으므로 질의 키를 공유하면서 다른 값을 주는 충돌이 생깁니다. 증거 주의 질량 a\*는 짧은 문맥에서 고른 8개의 (layer, head) 쌍이 최종 질의 토큰에서 증거 토큰으로 보낸 주의를 증거 토큰에 대해 합산하고 head에 대해 평균한 값입니다.

이 값은 주의 싱크를 정규화하여 제외하지 않습니다. 마스킹 조건은 필러를 어텐션에서 가리되 위치 인덱스는 유지하여 증거와 질의 사이 거리를 보존합니다.

## 중립 필러와 경쟁 진술의 대조 결과

Qwen2.5-1.5B에서 중립 필러를 보이게 두면 8K에서 32K 토큰 범위의 정확도가 0.96에서 1.00 사이를 유지합니다. 같은 위치를 같은 길이의 경쟁 진술로 채우면 정확도는 8K에서 32K 토큰 범위에서 0.11에서 0.21로 떨어집니다. 이 차이는 길이가 같고 내용만 다른 조건에서 나온 것이므로 내용이 손실을 만든다는 근거가 됩니다. 손실은 충돌 진술이 있는 문맥에서 집중되며, 같은 길이에서 충돌 수가 늘수록 손실이 커집니다. 2,048 토큰의 Qwen2.5-1.5B에서는 충돌 수 0에서 6 이상까지 손실이 0.03에서 3.45 nats로 증가합니다.

![Figure 1: Retrieval accuracy against context length, with length and evidence position fixed. Neutral text left visible (green) costs almost nothing; the same…](https://refivu.com/papers/ec71fd66-c7ba-4bf5-b0d5-423b35b3bf5c/figures/figure-2778377ba85c8038cc6db0bcd2a73a9f.png?thumb=512)

**Figure 1** : Retrieval accuracy against context length, with length and evidence position fixed. Neutral text left visible (green) costs almost nothing; the same text masked at preserved positions (blue) costs up to 47 points on Qwen2.5-1.5B; competing statements (orange) cost 56 to 87 points at every length. Mean over trials, pooled over the three neutral fillers; shaded bands are 95% bootstrap intervals.

[원문](https://arxiv.org/abs/2611.04169v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yinuo Liu · Length Is Cheap, Competition Is Not: Attention Predicts Context Rot in Retrieval · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

![Table 3: Mean loss (nats) by presence of a same-key conflict,L≤2,048](https://refivu.com/papers/ec71fd66-c7ba-4bf5-b0d5-423b35b3bf5c/figures/figure-0064ad231e8ed63ae5be37901b301b67.png?thumb=512)

**Table 3** : Mean loss (nats) by presence of a same-key conflict,L≤2,048.

[원문](https://arxiv.org/abs/2611.04169v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yinuo Liu · Length Is Cheap, Competition Is Not: Attention Predicts Context Rot in Retrieval · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

## 증거 주의 질량이 손실을 예측하는 방식

논문은 126,473개 시행에서 손실 Δ를 a\*, log(1/a\*), log L에 대해 단변량 최소제곱으로 적합하고 결정계수 R²를 비교합니다. log(1/a\*)는 손실 분산의 0.35에서 0.58을 설명하지만 log L은 0.02에서 0.08만 설명합니다. 이는 길이가 아니라 증거에 남은 주의가 손실의 예측 변수임을 보여 줍니다. 다만 이 결과는 예측적 관계이며, a\*에 개입해 원인을 검증한 실험은 포함하지 않습니다. 또한 조건부 임계 행동이 보고되었으나, 모든 모델에서 같은 법칙이 성립한다고 보지는 않습니다.

![Figure 2: Loss∆(nats) against log(1/a∗)for 4,500 trials of Qwen2.5-1.5B with competing filler at 8K to 32K tokens, colored by length. Black: mean loss in 15 qu…](https://refivu.com/papers/ec71fd66-c7ba-4bf5-b0d5-423b35b3bf5c/figures/figure-f220bcc46502e7a1a1ddfab8a7ec717a.png?thumb=512)

**Figure 2** : Loss∆(nats) against log(1/a∗)for 4,500 trials of Qwen2.5-1.5B with competing filler at 8K to 32K tokens, colored by length. Black: mean loss in 15 quantile bins oflog(1/a∗). Lengths overlap completely, while attention orders the loss.

[원문](https://arxiv.org/abs/2611.04169v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yinuo Liu · Length Is Cheap, Competition Is Not: Attention Predicts Context Rot in Retrieval · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

![Table 4: Predictors of the loss,L∈{512,1024,2048}. Slope of∆onlog(1/a ∗)with 95% CI](https://refivu.com/papers/ec71fd66-c7ba-4bf5-b0d5-423b35b3bf5c/figures/figure-82dce1de8ad07d594f900b96c9042210.png?thumb=512)

**Table 4** : Predictors of the loss,L∈{512,1024,2048}. Slope of∆onlog(1/a ∗)with 95% CI.

[원문](https://arxiv.org/abs/2611.04169v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yinuo Liu · Length Is Cheap, Competition Is Not: Attention Predicts Context Rot in Retrieval · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 마스킹 프로토콜의 길이 효과 재검토

Du et al.의 마스킹 프로토콜을 MMLU에서 재현하면 Llama-3.2-3B와 Qwen2.5-7B에서 마스킹 토큰이 늘수록 정확도가 떨어지며, 7,500 토큰부터 Qwen2.5-7B는 11.3에서 17.7 포인트를 잃습니다. 같은 마스킹 조건을 검색 과제에 적용하면 Qwen2.5-1.5B의 32K 토큰에서 46 정확도 포인트를 잃지만, 같은 필러를 보이게 두면 손실이 없습니다. 따라서 마스킹된 문맥은 길이만 늘린 문맥과 같지 않으며, 긴 위치적 공백이라는 별도 요인이 섞입니다. 논문은 이 점에서 마스킹 실험을 순수한 길이 대조로 쓰기 어렵다고 해석합니다.

![Table 2: Qwen2.5-1.5B, neutral filler (numbers). Accuracy with the filler visible and with the same filler masked at preserved positions; median masked loss∆ma…](https://refivu.com/papers/ec71fd66-c7ba-4bf5-b0d5-423b35b3bf5c/figures/figure-fda390ad0c5984397f590c16a4cc5ede.png?thumb=512)

**Table 2** : Qwen2.5-1.5B, neutral filler (numbers). Accuracy with the filler visible and with the same filler masked at preserved positions; median masked loss∆masked in nats.

[원문](https://arxiv.org/abs/2611.04169v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yinuo Liu · Length Is Cheap, Competition Is Not: Attention Predicts Context Rot in Retrieval · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

## 적용 범위와 한계

이 결과는 하나의 합성 검색 과제와 최대 3B 파라미터 모델에서 얻은 것입니다. MMLU 재현에 사용한 7B 모델에는 4K 토큰을 넘는 보이는 필러 조건이 없습니다. 또한 a\*는 손실과 같은 순전파에서 측정되었고 개입 실험을 수행하지 않았으므로, 증거는 예측적이며 인과적이 아닙니다. 경쟁 진술은 길이에 따라 충돌 수가 함께 늘어나므로, 2K 토큰을 넘는 형식만 있는 경쟁자의 효과는 측정되지 않았습니다.

## 논문 정보

- **저자**: Yinuo Liu
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 11월 3일
- **등록일**: 2026년 11월 5일
- **수정일**: 2026년 11월 3일
- **버전**: v1
- **arXiv**: 2611.04169
- **분류**: cs.CL · cs.AI
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2611.04169v1) · [원문 PDF ↗](https://arxiv.org/pdf/2611.04169v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Why do language models fail on long inputs? The common answer is length. We show that, for retrieval, length is cheap and competition is not. On five open models (0.5B to 3B parameters, four families), neutral filler costs nothing: accuracy stays at 0.97 to 1.00, up to 32K tokens on Qwen2.5-1.5B. Statements in the format of the evidence, placed at the same positions, drop it to 0.16 to 0.33. A single statement that gives the queried key a rival value multiplies the loss by 9 to 110, and every additional rival adds to it. Inside the model, one quantity tracks the failure: the attention mass left on the evidence. Across 126,473 trials it explains up to 58% of the variance in loss; log length explains at most 8%. The masked-filler protocol behind the claim that length alone hurts reproduces on MMLU (11 to 18 points lost at 30K tokens), but fails a visible control in retrieval: masking costs 45 accuracy points at 32K tokens, while the same filler left visible costs none. In retrieval, context rot is a competition for attention. We release the probe and all 126K trial-level measurements.

## 원문 인용

Yinuo Liu (2026). Length Is Cheap, Competition Is Not: Attention Predicts Context Rot in Retrieval. arXiv:2611.04169v1. https://arxiv.org/abs/2611.04169v1

**BibTeX**

```
@misc{liu2026length,
  title = {{Length Is Cheap, Competition Is Not: Attention Predicts Context Rot in Retrieval}},
  author = {Yinuo Liu},
  year = {2026},
  eprint = {2611.04169},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.04169v1}
}
```

## 이 논문의 용어

- [MMLU](https://refivu.com/terms/3036c0ba5adb-mmlu)
- [검색 증강 생성](https://refivu.com/terms/745578495b18-retrieval-augmented-generation)
- [Llama-3.2-3B](https://refivu.com/terms/d5514c496b48-llama-3-2-3b)
- [Qwen2.5-1.5B-Instruct](https://refivu.com/terms/5e659b23f278-qwen2-5-1-5b-instruct)
- [attention sink](https://refivu.com/terms/df48848973ba-attention-sink)
- [Wilson 95% intervals](https://refivu.com/terms/ed0b319219f1-wilson-95-intervals)
- [bootstrap intervals](https://refivu.com/terms/b5b3d4026a4c-bootstrap-intervals)
- [Needle in a Haystack](https://refivu.com/terms/af6fdf647f90-needle-in-a-haystack)
- [Softmax attention](https://refivu.com/terms/140344948263-softmax-attention)
- [neutral filler](https://refivu.com/terms/ef489e9351aa-neutral-filler)

## 다른 논문 해설

- [GraphNIAH: A Benchmark for Long-Context Reasoning over Real-World Graphs](https://refivu.com/papers/379f5ec1-86ec-443c-aa89-b520d89b337f-graphniah-a-benchmark-for-long-context-reasoning-over.md)
- [How to Loop Your Transformer: Loop Scaling, Specialization, and Parallel Inference](https://refivu.com/papers/f4d8128c-41be-476d-9c3e-5cf69d5638fa-how-to-loop-your-transformer-loop-scaling-specialization.md)
- [ParaTTT: Parallelizing Test-Time Training Layers with Deep Memories](https://refivu.com/papers/e3b906b8-d6bc-4a89-8a43-99761b36ba81-parattt-parallelizing-test-time-training-layers-with-deep.md)
- [A Witnessing Duality for ReLU Network Depth](https://refivu.com/papers/7729dc9a-da11-4e55-8892-0a1e37788e27-a-witnessing-duality-for-relu-network-depth.md)
- [Causal Localization of Evidence Effects in Transformers](https://refivu.com/papers/f96b5a12-0c53-49d2-8d6f-292224474229-causal-localization-of-evidence-effects-in-transformers.md)
- [Solving Probabilistic Verification Problems of Neural Networks using Branch and Bound](https://refivu.com/papers/bb7ed38f-7636-44c4-921c-7a661fe6cf0f-solving-probabilistic-verification-problems-of-neural.md)
- [Where Did the Update Go? Certifying Declared Change Envelopes for Model Updates](https://refivu.com/papers/74822747-60dc-4333-a890-e705af876879-where-did-the-update-go-certifying-declared-change.md)
- [Treating the Symptom, Missing the Cause: Anatomy of a Scientific Reasoning Failure](https://refivu.com/papers/ca572d93-526e-43b4-8c47-5908ff7239f7-treating-the-symptom-missing-the-cause-anatomy-of.md)
- [Algorithmic progress in computer vision](https://refivu.com/papers/35aead59-c04f-493b-a6c8-20156057ff1d-algorithmic-progress-in-computer-vision.md)
- [1st Workshop on Maritime Computer Vision (MaCVi) 2023: Challenge Results](https://refivu.com/papers/a24b012f-2756-41fc-99c4-5de6e7402c44-1st-workshop-on-maritime-computer-vision-macvi-2023.md)
- [FedCV: A Federated Learning Framework for Diverse Computer Vision Tasks](https://refivu.com/papers/e14d4308-7fc5-4828-a81b-749eee896765-fedcv-a-federated-learning-framework-for-diverse-computer.md)
- [Specification Overfitting in Artificial Intelligence](https://refivu.com/papers/a41ece57-37cd-4e58-9194-51d429f66ee3-specification-overfitting-in-artificial-intelligence.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/ec71fd66-c7ba-4bf5-b0d5-423b35b3bf5c-length-is-cheap-competition-is-not-attention-predicts)
