---
title: "Context Rot：LLM が長文で「記憶が抜け落ちる」とき"
url: "https://zuey.me/articles/context-rot-khi-llm-rung-tri-nho-voi-van-ban-dai?lang=ja"
locale: ja
access: members
full_text: false
published_at: "2025-08-20T16:23:50.000Z"
tags: ["AI", "Context Engineering", "RAG"]
translations:
  en: "https://zuey.me/articles/context-rot-khi-llm-rung-tri-nho-voi-van-ban-dai.md?lang=en"
  vi: "https://zuey.me/articles/context-rot-khi-llm-rung-tri-nho-voi-van-ban-dai.md?lang=vi"
  zh: "https://zuey.me/articles/context-rot-khi-llm-rung-tri-nho-voi-van-ban-dai.md?lang=zh"
  ko: "https://zuey.me/articles/context-rot-khi-llm-rung-tri-nho-voi-van-ban-dai.md?lang=ko"
---
# Context Rot：LLM が長文で「記憶が抜け落ちる」とき

> LLM は長文を処理すると性能が目に見えて落ちます。「Needle in a Haystack」のような benchmark ではほぼ満点なのに。Chroma の Context Rot 研究と、RAG や context engineering への教訓をまとめました。

> **TIP:** **TL;DR：** context を詰め込むほど、LLM は「記憶が抜け落ち」やすくなります。「more context = better performance」を信じず、**quality over quantity** を優先しましょう。

Chroma による Context Rot の研究はかなり面白くて、僕が毎日 LLM で作業していて体験することにとても近いです。要するに、多くの開発者がぼんやり感じていたことを証明したんです：**LLM は長文を処理しなければならないとき、性能が目に見えて落ちる**。「Needle in a Haystack」のような従来の benchmark ではほぼ満点が出ているにもかかわらず、です。

[Context Rot: How Increasing Input Tokens Impacts LLM Performance](https://research.trychroma.com/context-rot)

> research.trychroma.com

### 重要な発見

#### 1. Needle-Question Similarity Matters

曖昧になるほど難しくなります。質問と答えの語彙が似ていないと、モデルは長文の中でより「迷子」になりやすい。ユーザーの query がデータベースの内容と直接マッチしないときに RAG の結果が悪くなることがある理由も、これで説明できます。

#### 2. Distractors Amplify Problems

---

*Phần còn lại dành cho thành viên có quyền đọc toàn bài (Knowledges, Kết hợp, Cộng đồng) — see plans at https://zuey.me/pricing*
