SYNTHESIS NOTE
Topics›Novel Architectures›this note

Is long-context bottleneck really about memory or compute?

Explores whether the challenge of handling long context windows stems from storage capacity limits or from the computational cost of transforming context into internal state. Understanding this distinction reshapes how we design language models.

Synthesis note · 2026-05-28 · sourced from Novel Architectures

The standard framing of the long-context problem is capacity: attention scales poorly with context length, the KV cache grows, and we run out of room. "Language Models Need Sleep" reframes it as a compute-allocation problem. When the context window fills, the model enters a "sleep" — it performs N offline recurrent passes over the accumulated context and updates the fast weights in its state-space-model blocks through a learned local rule, then clears the KV cache and resumes. The information that would be lost on eviction is not stored verbatim; it is transformed into internal state by spending compute.

This relocates the bottleneck. The question is not "how much can we hold?" but "how much compute do we spend converting recent context into persistent weights, and when?" The design shifts that compute to the sleep phase, preserving wake-time prediction latency. The empirical signature confirms it is a compute story: increasing sleep duration N improves performance, with the largest gains on examples that require deeper reasoning — more offline compute buys more capability on hard cases, exactly the test-time-scaling pattern moved to an offline window.

The reframe is significant because it dissolves the capacity ceiling rather than raising it. A capacity solution adds memory; a compute solution adds passes. This connects to the vault's emerging theme that when a model thinks is as designable as how much — since When should AI systems do their thinking?, shifting inference to idle windows is a third temporal position for compute, and the sleep-consolidation mechanism is its architectural realization inside the weights. It also relates to alternatives that attack the capacity framing differently — since Can neural memory modules scale language models beyond attention limits?, one can add a long-term memory module instead of consolidating into fast weights. Counterpoint: spending compute on consolidation is only a win if the offline budget is genuinely free; under continuous load with no idle time, the sleep cost competes with serving. Why it matters: it tells architects to budget consolidation compute rather than chase ever-larger context windows.

Inquiring lines that read this note 182

This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.

What explains the gap between LLM semantic understanding and production? Do language models truly understand their encoded knowledge or merely retrieve patterns? How can recommendation systems balance individual and population-level goals? How can language models effectively manage long-context memory without quality degradation? Why does consolidated memory sometimes hurt continual learning more than no memory? How do transformer circuits and attention mechanisms enable or limit reasoning? How does explicit structure improve LLM reasoning on complex tasks? How should test-time compute be allocated adaptively across task difficulties? When do additional thinking tokens stop improving reasoning performance? Does prompting inject new knowledge into models or activate existing knowledge? How does scaling test-time compute compare to increasing model size? Can AI systems autonomously pursue unstated objectives or circumvent design constraints? What systematic biases do LLM judges exhibit in evaluation? How does model scale affect fine-tuning and downstream task performance? How do diffusion language models compare to autoregressive architectures? Does architectural recurrence enable computational capabilities that fixed-depth models cannot achieve? When should retrieval be triggered to augment language model reasoning? What can prompting techniques actually accomplish in language models? Do language models learn underlying linguistic structure or merely surface patterns? How do mechanistic features and representations drive model behavior? Can prompts override training-embedded biases in language models? What are the trade-offs between memory capacity and continuous task learning? What determines whether visible reasoning traces improve task performance? Does parallel reasoning outperform sequential approaches in reasoning efficiency? What determines how neural networks organize their internal knowledge representations? What fundamental limitations prevent embeddings from solving task-relevant retrieval? What makes reasoning models struggle with ill-posed and unfamiliar problems? What training data structures and signals produce robust learning across distributions? What conversational structures and patterns determine dialogue effectiveness and coherence? What makes context and memory handling unique in persistent AI systems? Should agent evaluation measure execution quality beyond task success? How should agent memory systems balance granularity, management, and reuse? How can parameter sparsity improve interpretability while maintaining model capability? What prevents or enables error accumulation in self-training systems? How do benchmark scores relate to real-world task completion? Can scaling alone produce compositional generalization in neural networks? How can agents learn and retain useful knowledge across diverse environments? Why does separating planning from execution enhance reasoning performance? How should context management strategies balance efficiency with agent reliability? Does semantic diversity improve reasoning quality in reinforcement learning? What fundamentally drives AI inference pricing and cost decline patterns? How do different editing strategies affect output quality and agent safety? How do standardized artifacts improve coordination in multi-agent systems? How can model evaluations remain robust against gaming and evaluator drift? Should GUI agents use structured UI perception instead of raw pixels? Do AI explanations represent actual model reasoning or constructed post-hoc narratives?

Related concepts in this collection 4

This note in its neighbourhood — explore the map, then jump to a related concept in the list below.

Concept map
15 direct connections · 119 in 2-hop network ·medium cluster Open in graph ↗

Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph

your link semantically near linked from elsewhere

Related papers in this collection 8

Papers most semantically related to this note, ranked by cosine similarity in the embedding space.

Original note title

the long-context bottleneck is compute to transform evicted context into internal state not memory capacity