The goal was in the context window the whole time, and the model still suggested the change that breaks it. A bigger window won't fix that, because the problem is how the goal is held.

I asked a model to help reduce overwhelm for the users of an app I'm working on. Every suggestion it came back with made sense. Some of them also cut the very things the app exists to do.

So do LLMs understand context? This model had been told what the app exists to do. It's written in an intent file that loads into every session before I type a word. Nothing was missing.

Then I reminded it of the part of the goal its suggestions were cutting into, and the next answer respected it. The reminder restated what the model had already been given. It told the model nothing new, and it still fixed the answer.

If you use these models for real product work, you've probably had this moment. You wrote the brief. You spelled out what matters. And the answer came back sensible, and it would still have hurt what you're building. Ask around, and the explanation you'll hear most often is that you gave it too much to read.

What context rot explains, and what it leaves out

Context rot is the measured drop in an LLM's performance as its input gets longer. The information is still in the context window, but the model uses it less reliably the more text surrounds it, even on simple tasks and long before the window is full.

And there's research behind it. Chroma tested 18 models, and performance fell with longer input in every experiment they ran.¹ In one of their experiments, models answered questions about a long chat history far better when they got only the roughly 300 tokens that mattered than when they got the full history, about 113,000 tokens with the same information inside it. A team led by Stanford researchers had found a related pattern earlier and called it "lost in the middle": models use what sits at the start or the end of a long input well, and neglect what sits in the middle.² Anthropic's engineers describe models as having an "attention budget" they draw on as the context grows.³ So the usual fixes are all about volume: shorter sessions, summaries, fresh starts.

But…

Look at what my reminder did to the length. It added to it. If volume were the whole story, a reminder restating the goal should have changed nothing, or made the answer slightly worse. It made the answer right.

So something other than length decided whether the goal counted. Where the reminder sat is part of the answer, and I'll come back to it. But the research doesn't say what else, and Chroma's authors state plainly that their report doesn't explain the mechanism even behind the drop they measured.¹ I think the missing piece hides inside the word we use for all of this: context.

What I hold instead of context

When I think about a project, I don't hold the documents that describe it. I hold a few concepts, each usually labeled with one word, and the word is enough. I don't reread the reasoning that led me to each one. That reasoning did its job once, when it produced the concept.

Psychology has a good demonstration of why this works. In 1973, William Chase and Herbert Simon showed chess positions to players for five seconds and asked them to rebuild the board from memory. A master rebuilt positions from real games far better than weaker players did, but when the same pieces were placed at random, the master's advantage disappeared.⁴ The difference was in what the master stored: meaningful groups of pieces, each held as a single unit. A random board has no such groups to find.

It has to work this way, because the number of units we can hold at once is small. Nelson Cowan's review of the evidence puts it at about four (I think it's more like 5-7).⁵ Either way, nobody holds a whole product in mind as sentences. We hold it as a handful of concepts, each one compressing more experience than we could recite.

And those few concepts aren't a flat list. They sit in a hierarchy. For my app, what the app is for sits at the top, and "overwhelm" sits below it, along with every screen and feature I might change to reduce it. For any given task, I also know which of them matters most. When the task is reducing overwhelm, I know which part of the app's purpose a cut could hurt, and that part outranks any screen or step.

That's why a concept doesn't sit beside a problem, waiting to be consulted. It shapes how the problem looks. When I read "reduce overwhelm," I read "reduce overwhelm for people who came here to do this particular thing." The request arrives already framed by what the app is for.

So what does the model do with the same request?

What the model holds instead

Can LLMs understand context? They can seem to use it, often very well. What they don't do is turn your project's goal into a concept that frames every answer (and you can insist that they do, with all the "context engineering" you like, to no avail). Your goal stays text, and each answer decides again how much that text matters.

What a model does have is associations, learned in training: which words, ideas and patterns tend to go together, across more text than any person could read. Those associations have some structure, too. Probes can detect simple distinctions in a model's early layers, and complex ones only in deeper layers,⁶ and the model's representations follow category trees, such as animal, mammal, dog.⁷ But both come from training, and neither ranks which idea matters most for the task in front of it.

So here's what I think happened with my request. Whether my intent file shapes an answer gets decided again every time the model produces words, and the wording of my request worked against it. An intent file describes what the app is for. A request about overwhelm is about screens, steps and clutter. The two share little, and inside the model, weight follows the match: for each word it writes, the model compares where it is now, shaped by the request, with the stored record of every earlier token, and the stronger the match, the more that token counts for the next word.⁸ Chroma saw the same pattern from the outside. The less a question resembled the passage holding its answer, the faster performance fell as the input grew.¹

A request about clutter matches everything else about clutter, and it barely matches a statement of purpose. So the goal was right there, and it lost to material that matched the request better. No association told the model that the purpose should win anyway.

Two stacked panels. Top, concepts: the app's purpose sits at the top, overwhelm sits below it, and the options for reducing overwhelm sit below that, so every option is judged against the purpose. Bottom, associations: the context window holds the intent file, everything else loaded, and the request as separate blocks at the same level, with no ranking of what matters for this task.
Two stacked panels. Top, concepts: the app's purpose sits at the top, overwhelm sits below it, and the options for reducing overwhelm sit below that, so every option is judged against the purpose. Bottom, associations: the context window holds the intent file, everything else loaded, and the request as separate blocks at the same level, with no ranking of what matters for this task.

The same goal, held two ways.

This is also why I don't expect bigger windows to close the gap. A bigger window holds more text, and the goal would still be one passage among many, with nothing ranking it above the rest for the task at hand. A recent test suggests the extra text can even make things worse. Boolean ran coding tasks after loading hundreds of thousands of tokens of extra material into the models first.⁹ Material from an unrelated project barely moved Claude Opus 5. Material about the task's own tools and code dropped its pass rate from 50% to about 40%. GPT-5.6 Sol fell too, though it lost about as much to the unrelated material. More text about the right subject made the results worse.

Why one reminder fixed it

Which brings me back to my reminder. It did two things.

The obvious one is position. It put the goal at the end, right next to the request, and models favor what sits near the end. Anthropic's own documentation says that putting the question after long documents can improve answers by up to 30% in their tests.¹⁰

The less obvious one is ranking. Something was missing after all, just not a fact: which part of the goal comes first for this request. I know that without thinking about it, because I think in hierarchical concepts, and the model doesn't. So I told it. That one sentence did what the whole intent file hadn't.

That also explains why the obvious next step won't work. If a reminder works, why not paste the whole intent file into every request? Because every extra passage competes for the model's attention, and in Boolean's test, related material was the kind that hurt both models.⁹ Bury the request under the whole file and you're back where you started: the goal is present, and the model has to work out which part of it matters here. What made my reminder work was what it pointed at: the part of the goal the suggestions were breaking.

So what's the solution?

Do up front what my reminder did after the fact. Before a request that could reshape your product, name the concept it must not break, in one sentence inside the request itself: "Reduce overwhelm without removing X, because X is why the app exists."

Look at who does the work in that sentence. To name the concept a request could break, you have to know which one is at risk, and knowing that is the ranking itself, the part the model never had. That's also why no intent file can do it for you. You can write in the file that the purpose comes first, and the model will still ignore it sometimes. That line is text too, and it has to win the same match as the rest of the file. And which part of the purpose matters depends on the request, which doesn't exist yet when the file is written.

This is where the word context misleads. When a colleague has context on your app, they know what it's for and what that rules out before you ask anything. When a model has context, it has your text: the intent file, the request and everything else, side by side. Seen that way, the reminder stops looking like a trick. The model never forgot the goal. It never held the concepts in the intent file, and it never knew which of them comes first. The request is the only place it can learn that, and it has to learn it again every time.

Rabbit Hole

More on this subject

See this concept in another subject

Footnotes
  1. Kelly Hong, Anton Troynikov and Jeff Huber, "Context Rot: How Increasing Input Tokens Impacts LLM Performance", Chroma, 14 July 2025. https://www.trychroma.com/research/context-rot The report tested 18 models, including GPT-4.1, Claude 4, Gemini 2.5 and Qwen3. The chat-history experiment uses LongMemEval, comparing focused prompts of about 300 tokens with full prompts of about 113,000. The authors also found that performance falls faster with input length when the question and the passage holding its answer are less similar. They state that they "do not explain the mechanisms behind this performance degradation."
  2. Nelson F. Liu, Kevin Lin, John Hewitt, Ashwin Paranjape, Michele Bevilacqua, Fabio Petroni and Percy Liang, "Lost in the Middle: How Language Models Use Long Contexts", Transactions of the Association for Computational Linguistics 12, 2024, pages 157 to 173. https://arxiv.org/abs/2307.03172 Performance was highest when the relevant information sat at the beginning or end of the input, and dropped significantly when it sat in the middle, even for models built for long contexts.
  3. Anthropic, "Effective context engineering for AI agents", 29 September 2025. https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents The post ties the budget to how attention works: every token relates to every other token, which makes n² relationships for n tokens.
  4. William G. Chase and Herbert A. Simon, "Perception in Chess", Cognitive Psychology 4, 1973, pages 55 to 81. https://doi.org/10.1016/0010-0285(73)90004-2 The study used three players, from master to beginner, and eight random positions built by placing the pieces of real positions randomly on the board.
  5. Nelson Cowan, "The magical number 4 in short-term memory: A reconsideration of mental storage capacity", Behavioral and Brain Sciences 24, 2001, pages 87 to 114. https://doi.org/10.1017/S0140525X01003922 The review argues for "a single, central capacity limit averaging about four chunks". George Miller's famous 1956 paper put the number at about seven.
  6. Mingyu Jin and colleagues, "Exploring Concept Depth: How Large Language Models Acquire Knowledge and Concept at Different Layers?", COLING 2025. https://arxiv.org/abs/2404.07066 Probing experiments on Gemma, LLaMA and Qwen models. A probe is a small classifier trained on one layer's activations. The study measures at which layer a probe can detect a distinction, from simple factual ones to complex inferential ones. It measures where in the processing a distinction becomes detectable, not a stored hierarchy of ideas.
  7. Kiho Park, Yo Joong Choe, Yibo Jiang and Victor Veitch, "The Geometry of Categorical and Hierarchical Concepts in Large Language Models", ICLR 2025. https://arxiv.org/abs/2406.01506 Tested on Gemma and LLaMA-3 with more than 900 related categories from WordNet. The representations follow "is a type of" relations, such as a dog being a mammal. That structure is learned in training and says nothing about what matters most for a given task.
  8. Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Łukasz Kaiser and Illia Polosukhin, "Attention Is All You Need", arXiv 1706.03762, 2017. https://arxiv.org/abs/1706.03762 The paper that introduced the transformer. In its attention mechanism, each earlier token gets a weight computed from how well the current query matches that token's key, so the stronger the match, the more that token shapes what comes next.
  9. Sanyam Satia and Shrey Kumar Shahi, "Context Rot Quantified", Boolean, 15 September 2026. https://boolean.ai/blog/context-rot-quantified Twenty tasks from terminal-bench, with 0, 250,000 or 500,000 tokens loaded first. The related material was multi-turn questions and answers about the tools, library and code each task depends on. With it, Claude Opus 5 went from 50% to 42.5% and 39.8%, and GPT-5.6 Sol from 34.7% to 26% at both sizes. The authors' summary: "Opus 5 is good at ignoring irrelevant context, but relevant context degrades both models." One vendor study on 20 tasks, so treat it as a signal.
  10. Anthropic, "Prompting best practices", Claude documentation. https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices The long-context section recommends placing long documents at the top of the prompt and the query at the end: "Queries at the end can improve response quality by up to 30 percent in tests, especially with complex, multidocument inputs."