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 197

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.

Do language models learn genuine linguistic structure or just surface patterns? Do language models learn true linguistic principles or just surface patterns? Why do LLM recommenders underperform simpler collaborative filtering approaches? What limits language models' ability to retrieve information reliably across longer contexts? What persistent memory architectures best support learning across sessions? What systematic biases stem from transformer attention structure? How should AI memory systems align with users' preferences and mental models? How should inference-time compute be optimally allocated for reasoning? What are the fundamental limits of prompting in creating new model capabilities? Can agents learn from feedback and experience to improve behavior? How do LLMs perform reasoning effectively despite gaps between process and output? What are the distinctive characteristics of language models at different scales? How do structural differences between diffusion and autoregressive models affect capabilities? How do architectural constraints limit monolithic LLM performance on complex tasks? Can looped computation enable reasoning beyond fixed transformer depth? How should retrieval policies adapt to optimize model reasoning at inference? What limits the reliability of retrieval-augmented generation? What determines whether models prioritize training knowledge over retrieved context? What mechanistic structures underlie the reasoning traces that language models produce? Can vector embeddings distinguish task relevance from semantic similarity? Does extended thinking consistently improve accuracy or exhibit diminishing returns? Does parallel reasoning outperform sequential approaches under comparable computational budgets? How do conversation structures and state management affect dialogue success? How should design principles adapt for AI-generated interfaces? What trajectory qualities should agent evaluation measure beyond task success? How should agents consolidate and structure memory for optimal performance? Why does model self-revision amplify confidence in incorrect answers? How reliably do benchmark metrics reflect actual model capability? How does task-specific training affect model generalization and capability transfer? How do inference costs and infrastructure economics shape AI adoption? What tradeoffs emerge between instruction following and other model capabilities? How do architecture and coordination patterns drive multi-agent reliability? Why does iterative refinement amplify reasoning errors instead of correcting them? How does AI-generated knowledge acquire authority and legitimacy beyond human expertise? What are the fundamental limits of prompt-based debiasing?

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 · 121 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