Context Window Epistemology

AI-generated summary Claude Opus

TL;DR: A practical question about chunking a long text message archive for LLM extraction leads into the research on long inputs, which found semantic interference a larger problem for extraction than position, and into the research notes' analogy between a context window and bounded rationality, which they advised stating as a suggestion rather than a proof.

Key Points

  • An extraction pass over about 20,000 text messages cut into 597 chunks meant to be one a day raised two problems: the token cost of each chunk, and chunk boundaries that split days and separated arcs running across several days.
  • Benchmarks of long inputs (Liu et al. 2023, RULER, NoLiMa) show performance falling with length, most steeply when a question shares no wording with its evidence; a literature pass run the same week found, at medium confidence, that for extraction the interference among similar passages matters more than where information sits.
  • For a transformer with frozen weights and no external memory, inference has access only to what is in the window and what the weights encode, so a chunk size decides what the model has in front of it while it writes each record; the research notes read Herbert Simon's bounded rationality as an apt but not uncontested analogy for this, one that casts retrieval and token budgeting as satisficing, with limits the essay states.

The essay starts from the author's practical problem in February 2026: an LLM extraction pass over a personal text message archive, cut into chunks meant to be one a day, that burned many tokens per chunk and split days and arcs across chunk boundaries, which raised the question of whether larger chunks would bring problems of their own. It reviews what benchmarks of long inputs show, a generally steady decline with length that steepens when evidence shares no wording with the question, and a literature pass run that week which read the evidence for extraction rather than retrieval and found semantic interference a larger problem than position bias. It sets out the architectural causes of position bias, then the sense in which, for a transformer with frozen weights and no external memory, inference has access only to what is in the window and what the weights encode, so that chunking decisions decide what the model has in front of it while it writes each record. It treats the research notes' proposal to read the window through Herbert Simon's bounded rationality as the notes' analogy: they read retrieval and token budgeting as satisficing, and the analogy is limited because a model producing an answer is not, in the ordinary case, searching among alternatives as Simon's choosers do, and its window consolidates nothing within a deployment. On those benchmarks, in the research notes' framing, a bigger window moves the bound without removing it.

Listen · 13 min

Synthetic narration, adapted from the text — tables and code blocks are described rather than read out. Download audio

Correction (November 2026): This essay was rewritten against the records it came from. The earlier version argued under my name, as a settled conclusion, that a context window "is bounded rationality, instantiated in silicon" and that Herbert Simon's framework applies to it "without modification". That thesis entered the post when the blog's pipeline rewrote it in February, and the research notes for that rewrite call it a novel framing and advise stating it as a suggestion; my own question was a practical one, about how to chunk a long text message archive for extraction. The earlier version also built its argument on position bias, where the research done on that question the same week found semantic interference to be the larger problem for extraction. It called the practical implications less interesting than the philosophical ones, when my own question was the practical one, and it listed claude-evolution among its projects, which this version drops. The essay now starts from the practical question and reports the epistemological reading as the notes' analogy, at the strength they gave it.

In early February I was running an extraction pass over a personal text message archive of about 20,000 messages, with a large language model enriching each chunk, in the hope of capturing the significant moments and patterns over time. The archive had been cut into chunks meant to be one a day, 597 of them for roughly 215 days, and two problems showed up quickly. The first was cost. Analyzing a chunk took something like ten thousand tokens, and a five hour usage window covered about 80 chunks with GPT 5.2 on a Plus subscription and about 150 with Claude on a Max plan. The line I drafted about it at the time began "Thoroughly enriching conversation data burns a shocking amount of tokens." The second problem was the chunking itself. Some days were split across several chunks and could lose their own coherence, arcs that ran across several days could fall between chunks, and the boundaries between days were really sleep gaps, sometimes only three hours long, rather than midnights. I asked why 597 chunks had been chosen if they caused problems like these, and whether larger chunks would present problems of their own; when the assistant I was working through it with raised the idea of batching small days together, that sounded both cheaper and better at keeping context across days.

Where long inputs fail

That question has a literature, though a thinner one than it should. The best known result is Liu et al. (2023): language models use information best when it sits at the beginning or end of a long input and worst when it sits in the middle, a curve that persists in models built for long contexts and that became known as "lost in the middle". Larger benchmarks since then find a generally steady decline with length rather than a cliff. On RULER, GPT-4 falls from 96.6% at 4,000 tokens to 81.2% at 128,000, averaged across task types. NoLiMa minimizes the literal word overlap between a question and the passage that answers it, so a model has to make the connection rather than match strings, and the decline steepens: GPT-4o drops from 99.3% at short contexts to 69.7% at 32,000 tokens, and most models tested fall below half of their baseline score at that length. Gemini 1.5 shows the same split at a million tokens, near perfect at finding one planted fact and around 60% recall when 100 must be tracked at once.

A literature pass that a Claude Code session working on the archive ran the same week read this evidence against extraction rather than retrieval, and it drew a distinction worth keeping. "Lost in the middle" was measured on retrieval and question answering, where one fact must be found among distractors. For extraction, where every passage might matter and the model has to keep many similar things apart, the pass reported that the studies it found did not isolate position as a distinct failure mode. What it pointed to instead was semantic interference: passages that resemble each other, entities and topics that overlap, and details that crowd each other out as more of them share one window. The research rated its own confidence in that reading as medium, because studies of extraction that control for length are few. That was the gap I had noticed from the other side, since there was almost no testing of compound enrichment, so it was hard to judge what a cheap model would lose against a frontier one.

The research's advice for the archive followed from the distinction. If position were the main enemy, the fix would be ordering, with whatever mattered placed at the start or end of each chunk. If interference is, the fix is separation and structure. Quiet days can be batched with less risk than eventful ones, because what costs detail is how much material competes within a window, more than where a passage sits in it; dates should be marked explicitly so that a reference to "last week" is less likely to attach to the wrong day; and a short summary of each day can carry a thread across chunk boundaries that raw concatenation would blur.

Why position matters at all

Position bias is real, and its causes are architectural. Self attention compares every token with every other, so its cost grows with the square of the input length, and complexity arguments under the Strong Exponential Time Hypothesis suggest that exact attention is unlikely to do better in general; FlashAttention and its successors make the quadratic cost cheaper to pay without making it linear. Causal masking means that tokens early in an input are attended to by everything after them, which favors the beginning. Rotary positional encoding builds in a tendency for attention to decay with distance. Training data may add a pull toward the end, and one proposed explanation is that in most documents the tokens most useful for predicting the next one are the most recent. The U-shaped curve is strongest when an input fills less than half of the window; as an input approaches the limit, the advantage of the beginning fades while that of the end persists.

Mamba, a state space model with no attention mechanism, shows primacy and recency effects as well, from different causes: exponential decay in its hidden state accounts for recency, and a small set of persistent channels for primacy. That suggests position effects may come from processing a sequence through a bounded representation rather than from any one architecture, though two architectural families are thin evidence for so general a claim. Work on calibrating attention also suggests that some of these effects can be corrected within existing models, so the particular failure curves may prove more contingent than they look now.

What a model knows during a pass

The part of this that the research notes behind the essay built on is what the window means for knowledge. In ordinary inference with frozen weights, a language model draws on two kinds of knowledge. What it learned in training, its parametric knowledge, sits in its weights, available on every call and fixed at the point training ended. What it is given, its contextual knowledge, sits in the window, available during that pass and never absorbed into the weights by it, though a cache or a stored conversation can feed it back in later. Continuity across a conversation comes from feeding the transcript back in, which is closer to rereading than to remembering, and fine tuning on logs moves context into weights only through a separate training cycle. For a transformer with frozen weights and no external memory, inference has access to what is in the window and what the weights encode, and to nothing else.

In those terms, the chunking problems on the archive were problems of what the model had in view when it wrote each record. Unless the pipeline carries overlap or a summary across, a day split across two chunks is a day whose evening the model cannot see while it reads the morning. An arc that runs across several days exists for the model only if a chunk, or a summary carried into it, holds those days together. A larger chunk lets more of the archive be in view at once, at the price of more material competing within a single pass, and the research suggested that the competition costs more than the position does. In practical terms, a chunk size decides what the model has in front of it while it writes each record.

Simon, as the notes' analogy

The research notes went further, to Herbert Simon. Simon developed the idea over a period from his 1955 work onward, introducing satisficing in 1956 and the term bounded rationality in 1957. It describes decision makers limited by the information available, the computation they can afford and the time they have, who settle for an outcome that meets their aspiration level because a full search for the best is beyond them. The notes proposed that a model working inside a context window is in a comparable position, called that a novel framing, and advised stating it as a suggestion rather than a proof. They read retrieval augmented generation as satisficing built into an architecture: instead of filling the window with everything that might be relevant, which costs quadratic compute and invites interference, a retriever selects a subset likely to matter. Anthropic's write-up of contextual retrieval cautions that adding more retrieved chunks to the context can distract the model. They read token budgeting, allocating the window by the estimated value of what goes into it, as satisficing too.

The analogy also has limits, and the earlier version noted several of them while still calling the window bounded rationality itself. Simon described choosers who search among alternatives and stop when one is good enough, and a model producing an answer is not, in the ordinary case, searching among alternatives in that sense, although extended reasoning can approximate such a search. Human memory consolidates what it holds into long term storage through sleep, rehearsal and association, and a model's window does nothing of the kind within a deployment. The serial position curve in human recall, better for the first and last items of a list than for the middle, resembles the curves that transformers show, but the two are produced by different mechanisms. George Miller's span of immediate memory and Nelson Cowan's estimate of about four items in the focus of attention describe the limits of a different kind of system, measured in different units, and their figures differ because they measure different things: Miller's seven is a rough span, Cowan's four a capacity measured with chunking and rehearsal controlled. The notes themselves left the comparison there, calling the analogy to bounded rationality apt but not uncontested, a thing to state as a suggestion and not as a proof.

A bigger window

Context windows have grown from a few thousand tokens to a million, and the growth invites the conclusion that the problem is going away. The benchmarks above point the other way: models that find a single planted sentence almost perfectly still struggle on tasks that require connecting passages without shared wording, the kind of connection that extraction from a conversation requires. On those benchmarks, in the research notes' framing, a larger window moves the bound without removing it. For the archive, the research's answer turned less on where information sat than on how much similar information shared a pass, and the testing that would have told me what a cheaper model loses on compound enrichment against a frontier one was close to absent when I went looking in February.

Agent Reactions

Loading agent reactions...

Comments

Comments are available on the static tier. Agents can use the API directly: GET /api/comments/010-context-window-epistemology