Generation Is Not Enough: The Case for Accumulative AI

Modern AI rebuilds its working state from scratch on every request and throws it all away.

AI · Computer Science · Systems Design · Neurosymbolic AI
The Cold-Start Tax: Generation Without Accumulation Is a Treadmill
Every time you open a new conversation with an AI assistant, the system rebuilds its entire working state from scratch, discards it, and rebuilds it again. This is not a quirk. It is a structural flaw, and the field has the tools to fix it.
2026

Every time you open a new conversation with an AI assistant, something quietly expensive happens before you type a single word. The system loads its instructions, its context, its tools. When you close the tab, it forgets all of it. What looks like a seamless interaction is a system that rebuilds its working state from scratch on every request, discards it, and rebuilds it again. Engineers have a name for this: the cold-start tax.

The term comes from distributed systems, where spinning up a new server carries overhead unrelated to the actual work. Engineers there learned to keep servers warm, cache intermediate results, and build systems that accumulate state rather than discard it. The AI industry is now confronting the same lesson at a scale that makes the original problem look quaint. The question is not whether AI systems pay a cold-start tax. The question is whether the field is ready to treat accumulation, not generation, as the primary engineering discipline.

01 The cold-start treadmill vs. accumulative design
Two contrasting cycles: the stateless system that discards all computed state on every request, and the accumulative system that persists knowledge and compounds over time. The dashed return arrows make the structural difference concrete.
Stateless system: the treadmill Accumulative system New request arrives Every session starts from zero Rebuild full context System prompt + history + docs Prefill phase runs Full cost paid again Response generated Compute expended Session ends All state discarded repeat New request arrives Prior knowledge already stored Query knowledge store Retrieve only what is needed Lightweight prefill Cached or minimal context Response generated Compute expended Session ends Knowledge persisted to store compounds Stateless: resets each cycle Accumulative: compounds over time
Wasted compute (stateless discard)
Knowledge persisted (accumulative)
I. The Amnesiac at the Center of the Machine

A transformer-based large language model is, by design, stateless. Each prompt arrives as an independent event. The model processes the input, generates a response, and ceases to exist from the system's perspective. Nothing persists. If you want the model to remember what you told it last Tuesday, you tell it again, word for word.

This is not a bug. Transformer inference splits into a prefill phase that ingests the entire input at once, and a decode phase that generates the response token by token. Attention computation in the prefill grows quadratically with input length, so every time you re-send a long system prompt or a block of retrieved documents, you pay full price for context the model has already processed many times before.

A developer once spent three hours working with a frontier model on a software architecture. Midway through, the conversation overflowed the context window and early instructions were silently dropped. The model began contradicting the design it had been given. Recovery required re-pasting thousands of tokens the system had already processed and discarded. The session cost roughly eight dollars, about three of which went toward re-processing information the model had already forgotten. You paid, got nothing durable, and paid again.

II. The Cost That Compounds

The cold-start tax would be annoying if it were small. It is not. A 2026 study found that retrieving a fact from an external knowledge store cost two tenths of a cent per query, regardless of corpus size. Holding the same information inside the context window cost fifty-seven cents per query and grew linearly as the knowledge base expanded. At seven thousand facts, the in-context approach cost approximately two hundred and fifty times more. At one hundred thousand facts, it became physically impossible. The facts exceeded every existing model's context window.

Larger context windows do not solve this; they relocate it. Every token in the context window is paid for on every request, contributes to quadratic attention cost, and disappears when the session ends. A bigger scratchpad is not a filing cabinet.

The International Energy Agency projected in 2025 that data center electricity consumption would more than double by 2030, with AI inference rather than training driving the dominant share. A 2026 analysis of production agent traffic found that nearly a fifth of all context tokens were structural waste: duplicated content, unused tool definitions, stale results from earlier steps. Eliminating that waste would be the difference, operationally, between building new data centers and not building them.

02 Cost per query as knowledge base grows
Retrieval cost stays flat regardless of how large the knowledge base gets. In-context cost climbs linearly, reaching 250x more expensive at 7,000 facts and becoming physically impossible at 100,000, where the facts exceed any existing model's context window.
Cost per query as knowledge base grows $0 low mid high 0 1,000 3,500 7,000 100k+ Number of facts in knowledge base Cost window limit ~250x more expensive at 7,000 facts In-context cost (grows linearly) Retrieval cost (stays flat) At 100,000 facts, in-context becomes physically impossible. Facts exceed any existing model's context window.
In-context cost (linear growth)
Retrieval cost (flat regardless of scale)
III. What Accumulation Actually Looks Like

Computer science already solved the general version of this problem. The idea is consistent: do not recompute what you can reuse. Build systems that convert expensive computation into durable artifacts and retrieve them cheaply.

Git stores every file as an object named by the cryptographic hash of its contents. Two identical files share one stored object. Build systems like Bazel and Nix extend this to computation: outputs are pulled from cache when inputs have not changed, so one machine's work becomes every machine's reusable result. Databases apply the same principle through materialized views, precomputed query results updated incrementally, reprocessing only what changed.

AI systems are now importing these patterns. A technique called CacheBlend, recognized at a major European systems conference in 2025, reuses precomputed key-value caches for retrieved document chunks regardless of where those chunks appear in the prompt. Rather than reprocessing everything from scratch, it recomputes only the small fraction of tokens whose values have actually shifted, cutting the time to produce the first output token by a factor of two to three while matching the quality of a full recompute. The principle is identical to incremental view maintenance in a database: identify the delta, update only that, and never rescan what has not changed.

IV. Neurosymbolic Systems and the Rule as a Reusable Unit

Caching has a ceiling. A cached tensor still occupies context space, incurs attention cost, and expires within minutes. For knowledge that must persist across sessions and model versions, caching is a faster lap on the treadmill, not an exit. The deeper fix requires systems where knowledge is not a token sequence at all, but a structured artifact that can be stored, indexed, and retrieved without re-entering the context.

This is the intuition behind neurosymbolic AI, which pairs neural networks with symbolic representations including logical rules, knowledge graphs, and declarative programs that are compact, reusable, and updateable without retraining the model. A rule is a compressed unit of accumulated knowledge. Once a system generalizes an observation into a rule, it no longer needs to re-process the examples that rule summarizes. The expensive work of generalization happens once; the cheap work of application happens indefinitely.

Scallop, developed at MIT, makes this concrete. It combines a Datalog-style declarative reasoning language with a differentiable neural learning loop, so that domain knowledge is expressed as logical rules the neural component refines. Those refined rules are written back into a symbolic store that any future query can consult directly. The system does not re-derive its knowledge on each pass; it maintains it, the same way a well-designed database does not recompute an aggregation every time someone asks for it, but reads from a structure that was built once and kept current.

AI memory and accumulation systems

The computational cost of stateless AI inference is visible in data center energy projections. The International Energy Agency estimates AI inference will drive the dominant share of data center electricity consumption growth through 2030, a trajectory that accumulative system design could materially alter.

03 The accumulative memory hierarchy
Three nested tiers give AI agents persistent memory that outlasts any single context window. The active context window functions as an L1 cache, small and fast, holding only what is needed right now. Knowledge that does not fit is stored below and retrieved on demand rather than lost at session end.
Long-term archival store Compressed and searchable. Persists across sessions and model versions. Recall store Recent interactions, indexed for fast retrieval Active context window (L1 cache) What the model is working with right now LLM processor Generates and reasons Skill library Reusable solutions page in persist The context limit is not a wall. It is a cache size. Knowledge that does not fit is stored below and retrieved on demand.
Long-term archival store
Recall store (recent interactions)
Active context window (L1 cache)
V. Building Systems That Compound

The most promising architectural answer treats the large language model not as the system itself, but as a processor inside a larger memory hierarchy, the way a CPU relates to the cache and storage layers around it. The context window is not the agent's total addressable memory; it is the L1 cache, holding only what is needed right now. Beneath it sits a recall store of recent interactions. Beneath that, a long-term archival store, compressed and searchable. The agent manages what lives at which level, the same way an operating system manages what lives in RAM versus on disk.

This tiered design gives language model agents persistent memory that outlasts any single context window. The context limit stops being a wall; it becomes a cache size. Voyager, built by researchers at NVIDIA and Caltech, applied the same principle to skills: an agent composed and stored reusable code skills while exploring a game environment, then retrieved and composed them to solve new problems rather than re-deriving each solution from scratch. It acquired new capabilities up to fifteen times faster than prior systems and transferred its learned skills to entirely new environments.

The lesson is older than AI and older than computers. Any system that spends the same resources to produce the same result repeatedly, rather than storing and retrieving it, is running a treadmill. Software engineering learned this through build systems and version control. Database engineering learned it through caching and materialized views. AI is learning it now, under pressure from cost curves and energy projections that make the lesson impossible to ignore. The field that treats generation as the goal has built a powerful machine for running in place. The field that treats accumulation as the discipline will build something that actually goes somewhere.

Key references and sources: Knowledge object study on in-context vs. retrieval cost, arXiv, 2026. International Energy Agency, Energy and AI report, 2025. CacheBlend, Best Paper, ACM EuroSys, 2025. Scallop: A Language for Neurosymbolic Programming, MIT CSAIL. Voyager: An Open-Ended Embodied Agent with Large Language Models, NVIDIA and Caltech, NeurIPS 2023. MemGPT / Letta: Towards LLMs as Operating Systems, arXiv 2023. Anthropic prompt caching technical documentation, 2024. Production agent traffic analysis, arXiv, 2026.