Why more context can make AI worse

A full text version follows below.

sidc.ai // Napkin 01

Why more context can make AI worse.

Giving AI more text is not free. In Chroma's report on 18 models, results got worse as inputs grew. An older test found the middle did worst; a preprint says the biggest new models dip far less. Send less, and put the question last.

The doodle, in words

  1. 1

    Hand over the whole list. Not everything comes back.

    You hand the Dog a very long shopping list. It comes back proud, but the basket is only about half full. You handed over everything; not everything came back.

    PictureYou stand on the left, puzzled, holding up the top of a very long blank list that hangs down and curls across the floor. An arrow labeled the whole list runs down it to the curl. On the right the Dog faces You and hops proudly in place, carrying a basket that is only about half full: an apple and a carton.

  2. 2

    Long lists lose more; short ones mostly come back whole.

    Side by side: a long list comes back thin, and a short one mostly comes back. The gaps drawn here cluster in the middle, which tests have often found to be the weakest spot. That is a tendency, not a rule, and a short list is not perfect either.

    PictureLeft: a long column of 20 boxes. Ticks land on most of the boxes near the top and the bottom; most of the empty boxes sit in the middle. Beside it the Dog tilts its head over a basket that is only about half full. A green bracket marks the middle, labeled often weakest. Right: a small card of three boxes, all ticked.

    SourceS1, S2, S4

  3. 3

    A 2025 report on 18 models: results got worse as inputs grew.

    Do longer inputs still hurt? A July 2025 report from Chroma tested 18 models, from GPT-3.5 Turbo to GPT-4.1, Claude 4, Gemini 2.5 and Qwen3, and saw results get worse as inputs grew across its experiments. Some models sat out some experiments. In one of its needle tests, where the answer sat made no notable difference.

    PictureA row of boxes grows to the right in three steps. A hand-drawn arrow slopes gently down under the whole row, labeled results slip; it is a sketch, not data. The Dog sits watching, then sinks and flops over, happy and tired.

    SourceS2

  4. 4

    2023: the middle did worst. 2026: the biggest models dip far less.

    The chart comes from a 2023 test. A model answered a question from 20 passages, about 3k tokens of text (2,946.2 tokens on average). One passage held the answer, and the researchers moved it from first to last. When it came first, gpt-3.5-turbo-0613 got 75.8% right; at the 10th spot, 53.8%; last, 63.2%. The paper calls this a U-shaped curve, like the way people best remember the first and last items of a list. With no passages at all, the model got 56.1% from memory alone, so at its worst spot the extra text did slightly worse than nothing. With only the passage that held the answer it got 88.3%. In an October 2026 preprint, Li et al. ran a similar test on models up to GPT-5.2 and DeepSeek-V4. The study generally found better results with the answer at the start or end, but the biggest models dipped far less: within 5 points across most languages other than Arabic. Smaller models still showed a clear dip.

    PictureYou stand on the left, puzzled, then point at a hand-drawn chart of answers right, from one 2023 test. Its axis starts at 40%. One key passage sat somewhere among 20, about 3k tokens of text. Five dots show how often gpt-3.5-turbo-0613 answered correctly when that passage sat at spot 1, 5, 10, 15 or 20 in the list: 75.8%, 57.2%, 53.8%, 55.4% and 63.2%. A sketched U line joins them. Labels mark the first and last spots. The caption adds that in a 2026 study the biggest models dipped far less.

    SourceS1, S4

  5. 5

    Cut what the task does not need. Long input? Put the question last.

    So send a shorter list. Cut what the task does not need, lookalike passages included: in the 2025 report, even one passage on the same topic that did not quite answer the question lowered results, and focused prompts of about 300 tokens beat full prompts of about 113k tokens. Where you can, put the key item first or last. For long inputs, put the question at the end; Anthropic's and Google's guides both advise it.

    PictureYou hold a small blank card, then lean forward and hand it over, and three short lines appear on it: a short list. The first line is in green, and an arrow from the label first or last points to it. On the right the Dog tilts its head over a half-full basket, then has a full basket in its mouth and hops once toward You.

    SourceS1, S2, S3, S4, S5

What to do

  • Send less: cut what the task does not need.
  • Cut lookalike passages too. In the Chroma report, even one passage on the same topic that did not quite answer the question lowered results.
  • Put the key item first or last. The older test found the biggest dip in the middle; a newer preprint found the biggest models dip far less, and smaller ones still dip.
  • For long inputs (Anthropic's guide means 20k tokens and up), put the long material first and the question last (S3, S5).

Sources

5 sources, with the exact excerpts
  1. S1 Nelson F. Liu et al. "Lost in the Middle: How Language Models Use Long Contexts." Transactions of the ACL 12 (2024), pp. 157 to 173. Per-position results: arXiv v3 only (20 Nov 2023), linked here. https://arxiv.org/abs/2307.03172v3, accessed 2026-12-02.

    Model performance is highest when relevant information occurs at the beginning or end of its input context.

    Section 2.3, bold paragraph lead (TACL p. 161; arXiv v3 p. 5) // used in step 2, step 4, step 5

    In particular, we see a distinctive U-shaped performance curve

    Section 2.3 (TACL p. 161; arXiv v3 p. 5) // used in step 4

    GPT-3.5-Turbo 75.8% 57.2% 53.8% 55.4% 63.2%

    arXiv v3 only: Appendix G.2, Table 6 (PDF p. 18), row GPT-3.5-Turbo, columns Index 0, Index 4, Index 9, Index 14, Index 19 (positions 1, 5, 10, 15, 20). Not printed in the TACL version. // used in step 4, this page

    Table 6: Model performance when evaluated on the multi-document QA task with 20 total retrieved documents.

    arXiv v3 only: Appendix G.2, caption of Table 6 (PDF p. 18) // used in step 4

    “Index n” indicates performance when the document with the answer occurs at position n + 1

    arXiv v3 only: Appendix G, opening paragraph (PDF p. 18) // used in step 4, this page

    Table 3: Token count statistics for each of the evaluated models on each of the document question answering settings.

    arXiv v3 only: Appendix F, caption of Table 3 (PDF p. 17) // used in step 4, this page

    GPT-3.5-Turbo 1475.6 ± 86.5 1960 2946.2 ± 155.1 3920 4419.2 ± 226.5 6101

    arXiv v3 only: Appendix F, Table 3, row GPT-3.5-Turbo, columns 10 docs, 20 docs and 30 docs, each avg plus or minus stdev, then max. The 20 docs mean is 2946.2 tokens, which the piece rounds to about 3k. // used in step 4, this page

    GPT-3.5-Turbo 56.1% 88.3%

    Table 1, row GPT-3.5-Turbo, columns Closed-Book and Oracle (TACL p. 161; arXiv v3 p. 5) // used in this page

    in the oracle setting, language models are given the single document that contains the answer and must use it to answer the question.

    Section 2.3 (TACL p. 161; arXiv v3 p. 5), defining the oracle setting // used in this page

    Table 1: Closed-book and oracle accuracy of language models on the multi-document question answering task.

    Caption of Table 1 (TACL p. 161; arXiv v3 p. 5) // used in this page

    in the worst case, performance in 20- and 30-document settings is lower than performance without any input documents (i.e., closed-book performance; 56.1%)

    Section 2.3 (TACL p. 162; arXiv v3 p. 5) // used in this page

    We use the 0613 OpenAI model versions.

    Section 2.2, footnote 5 (TACL p. 161); the Figure 1 and Figure 5 legends read gpt-3.5-turbo-0613 // used in step 4, this page

    providing the language model with more information may help it perform the downstream task, but it also increases the amount of content that the model must reason over, potentially decreasing accuracy.

    Section 1 (TACL p. 159) and again Section 5 (TACL p. 166) // used in step 2, step 5, this page

    effective reranking of retrieved documents (pushing relevant information closer to the start of the input context) or ranked list truncation (retrieving fewer documents when appropriate; Arampatzis et al., 2009) may be promising directions

    Section 5 (TACL p. 166) // used in step 5, this page

    The U-shaped curve we observe in this work has a connection in psychology known as the serial-position effect (Ebbinghaus, 1913; Murdock Jr, 1962), that states that in free-association recall of elements from a list, humans tend to best remember the first and last elements of the list.

    Section 6.3, The Serial-Position Effect (TACL p. 167; arXiv v3 p. 10) // used in this page

    Observing a serial-position-like effect in language models is perhaps surprising, since the self-attention mechanisms underlying Transformer language models is technically equally capable of retrieving any token from their contexts.

    Section 6.3, the paper's own caveat (TACL p. 167; arXiv v3 p. 10) // used in this page
  2. S2 Kelly Hong, Anton Troynikov, Jeff Huber. "Context Rot: How Increasing Input Tokens Impacts LLM Performance." Chroma, July 14, 2025. https://www.trychroma.com/research/context-rot, accessed 2026-12-02.

    In this report, we evaluate 18 LLMs, including the state-of-the-art GPT-4.1, Claude 4, Gemini 2.5, and Qwen3 models.

    Opening summary, below the title and authors // used in step 3, the summary image

    o3, GPT-4.1, GPT-4.1 mini, GPT-4.1 nano, GPT-4o, GPT-4 Turbo, GPT-3.5 Turbo

    Appendix, Models Tested, OpenAI list (one model per line in the original; joined here with commas) // used in this page

    Across all experiments, model performance consistently degrades with increasing input length.

    Section Needle in a Haystack Extension, list after "We demonstrate the following" // used in step 2, step 3, step 5, the summary image

    Our results reveal that models do not use their context uniformly; instead, their performance grows increasingly unreliable as input length grows.

    Opening summary // used in step 3

    Not all 18 models are included in each experiement due to context window or thinking_budget constraints.

    Appendix, Models Tested (the misspelling is in the original) // used in step 3, this page

    Testing across 11 needle positions, we find no notable variation in performance for this specific NIAH task.

    Section Needle-Question Similarity, Results (position was tested here and showed no notable effect) // used in step 3, this page

    Across all models, we see significantly higher performance on focused prompts compared to full prompts.

    Section LongMemEval, Results (focused prompts average about 300 tokens; full prompts about 113k tokens; both sizes are in the Experiment section) // used in step 5, this page

    These prompts average out to ~113k tokens.

    Section LongMemEval, Experiment (the full prompts) // used in step 5, this page

    Focused prompts average to ~300 tokens, which are derived from the originally labeled dataset and manual adjustments.

    Section LongMemEval, Experiment (the focused prompts) // used in step 5, this page

    Even a single distractor reduces performance relative to the baseline (needle only), and adding four distractors compounds this degradation further.

    Section Impact of Distractors, Results // used in this page

    Distractors are topically related to the needle, but do not quite answer the question

    Section Needle in a Haystack Extension, the comparison "Distractor vs. Irrelevant Context" // used in this page
  3. S3 Anthropic. "Prompting best practices", section "Long context prompting". Claude documentation. https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices#long-context-prompting, accessed 2026-12-02.

    When working with large documents or data-rich inputs (20k+ tokens), structure your prompt carefully to get the best results

    Long context prompting, lead sentence (scope) // used in step 5, this page

    Put long-form data at the top: Place your long documents and inputs near the top of your prompt, above your query, instructions, and examples. This improves performance across all models.

    Long context prompting, first bullet // used in step 5, this page

    Queries at the end can improve response quality by up to 30 percent in tests, especially with complex, multidocument inputs.

    Long context prompting, the note under the first bullet // used in step 5, the summary image, this page
  4. S4 Yining Li et al. "On the Position Bias of Large Language Models: A Comprehensive Study." arXiv preprint, October 16, 2026. https://arxiv.org/abs/2610.22807v1, accessed 2026-12-04.

    placing the golden document at the beginning or the end of the context generally yields better performance than placing it in the middle.

    Appendix A, Additional Results, paragraph The U-Shape (refers to Figure 4, multi-document QA) // used in step 2, step 4, step 5, this page

    increasing model size substantially alleviates this issue, with frontier models such as GPT-5.2 and DeepSeek-V4 exhibiting markedly greater robustness.

    Section 1, Introduction, the first key finding // used in step 4, this page

    the performance differences for large-scale models, such as Qwen3-235B-MoE, DeepSeek V3.2 and V4, and GPT-5.2, are maintained within 5 points across most languages other than Arabic.

    Section 4.2, Main Results, paragraph Impact of Model Scale (multi-document tasks) // used in step 4, this page

    we confirm that position bias is pronounced in small-scale models

    Section 1, Introduction, the first key finding // used in this page
  5. S5 Google. "Long context", Gemini API documentation. https://ai.google.dev/gemini-api/docs/long-context, accessed 2026-12-04.

    In most cases, especially if the total context is long, the model's performance will be better if you put your query / question at the end of the prompt (after all the other context).

    FAQs, "Where is the best place to put my query in the context window?" // used in step 5, the summary image, this page

Corrections

  • None yet. Checked 2026-12-04.

Drawings: Codex. Words: Vibe and Sid. Design and motion: Claude.
Spotted an error? Tell me on LinkedIn. Corrections are logged here with a date.