How caching and memoization could fix AI's costliest habit.
In the spring of 2024, engineers training one of the largest publicly documented language models watched their cluster of more than sixteen thousand processors stall, again and again. Over fifty four days, the run was interrupted 419 times, roughly once every three hours. Most of the failures traced back to overheating hardware and memory errors scattered across a machine room the size of a warehouse.
What made each interruption expensive was not the failure itself but what came after it. Because the system only saved its progress every thirty minutes, a single crash could erase up to thirty minutes of work across the entire cluster, and that work then had to be redone from the last save point. Researchers who later analyzed the run estimated that the repeated recomputation added up to roughly fifteen million dollars in wasted cloud computing costs, by one independent calculation, all spent recreating progress the system had already made once.
This is the cold start tax: the price paid, in compute, time, and money, whenever a system loses what it has already figured out and has to figure it out again. It shows up in training runs that restart from scratch after a crash, in chatbots that forget a conversation the moment it ends, and in AI agents that solve the same subproblem for the tenth time this week as though it were the first. The tax is rarely itemized on any invoice, but it is paid constantly, and it is largely avoidable.
Long before anyone worried about training language models, computer scientists ran into a simpler version of the same problem: a program that calculates the same thing over and over because it has no way to remember that it already did the work. The solution, once it was formalized, turned out to be almost embarrassingly simple. Store the answer the first time, label it by the question that produced it, and check that label before doing the work again.
The technique was named memoization in 1968, in a short paper written by a computer scientist at the University of Edinburgh. The idea was that a function could be wrapped in a kind of notebook, recording every input it had seen and the result that came with it. The next time the same input arrived, the function would simply read the answer from the notebook instead of recalculating it. What is notable, in hindsight, is that the original paper described this as a technique for machines that learn, decades before anyone built a system resembling the language models of today.
Memoization became the ancestor of an entire family of techniques that computing now depends on without a second thought, including the caching that speeds up web browsers, the write ahead logs that let databases recover instantly after a power failure, and the version control systems that let software teams track every change without ever losing one. Each of these tools answers the same underlying question that the 1968 paper first posed: how does a system avoid paying twice for work it has already done.
Modern AI systems, for all their sophistication, are often built without that notebook. A typical large language model begins each conversation with no memory of the last one, and within a single conversation it frequently has no efficient way to recognize that it is solving a problem it has, in effect, already solved a few sentences earlier. The architecture is built for prediction, not for remembering what has already been concluded.
This shows up in an unexpected place: the reasoning itself. When researchers examined the step by step reasoning traces produced by newer "thinking" models, they found something odd. The model would frequently arrive at the correct answer early in its reasoning, and then continue working, re-deriving the same conclusion two or three more times before finally stopping. Analysts studying this behavior called it overthinking, a pattern in which a model produces long, repetitive chains of reasoning that add real computational cost without adding any new information.
Multiply that pattern across millions of queries and the inefficiency stops being a curiosity and becomes a budget line. Reasoning focused models already draw noticeably more energy than simpler systems because of their extended processing, and a meaningful share of that extra processing is, by the researchers' own description, redundant. The model is not wrong. It is simply forgetting, mid sentence, that it has already finished.
The encouraging part of this story is that fixing it does not require inventing anything new. It requires importing tools that already exist. When AI systems are redesigned to remember and reuse their own prior work, the savings tend to be large and immediate, because the underlying idea, memoization under a new name, was never the hard part.
A team at Stanford University demonstrated this directly with AI agents, the systems that carry out multi step tasks like booking a trip or debugging a piece of software. Rather than caching individual responses the way a chatbot might, the researchers built a system that extracts reusable plan templates from tasks an agent has already completed, then adapts those templates to new but similar tasks instead of reasoning through them from zero. In testing, the approach cut the cost of running these agents by just over fifty percent and cut latency by roughly twenty seven percent, while the agents kept nearly ninety seven percent of the performance they would have had without the shortcut.
The overhead of maintaining this cache amounted to about one percent of total cost, a small price for avoiding the larger one. The result echoes what build engineers have long known about software compilation, where systems that skip re-running unchanged steps can turn an hour long process into a few minutes. The lesson in both cases is the same: a system that remembers what it has already solved spends its effort on what is actually new.
The proven architecture computer science already built for not losing work: write ahead logs, content addressed caches, and incremental builds. Neurosymbolic AI is only beginning to borrow it.
The clearest glimpse of a future without the cold start tax comes from a category of AI known as neurosymbolic systems, which pair a neural network's pattern recognition with a symbolic engine's exact, rule based reasoning. Because the symbolic half of these systems is built on traditional computer science, it inherits the memory and reuse machinery that field has refined for decades, almost as a side effect of its design.
The clearest demonstration came from a system built by Google DeepMind to solve Olympiad level geometry problems, pairing a language model that proposes ideas with a symbolic engine that checks and completes the logical proof. Trained on a hundred million synthetic examples, the system solved twenty five of thirty Olympiad geometry problems, more than double the ten solved by the next best automated method at the time. A later version of the symbolic engine ran roughly a hundred times faster than its predecessor and was built to share completed deductions between problems rather than re-proving the same geometric facts from scratch each time.
That sharing is the entire point. A purely neural system has no native concept of a deduction it can simply look up and reuse. A neurosymbolic one does, because the symbolic half was built, from its earliest computer science ancestors onward, to treat solved problems as solved. As AI systems take on longer, more demanding tasks, that distinction may turn out to matter more than raw scale ever did. The tools to stop paying the cold start tax were never missing. They were simply waiting, in a much older corner of computer science, to be asked back to work.
Key references: University of Edinburgh, "Memo Functions and Machine Learning," Nature, 1968. IBM Almaden Research Center, the ARIES recovery algorithm, ACM Transactions on Database Systems, 1992. Meta, the Llama 3 technical report, 2024. Stanford University, "Agentic Plan Caching," NeurIPS 2025 (arXiv:2506.14852). Anthropic, prompt caching documentation, 2024. Google DeepMind, "AlphaGeometry," Nature, January 2024. KU Leuven, DeepProbLog, NeurIPS 2018. Bazel and remote build cache case studies, various engineering teams, 2023 to 2025.
Daice Labs Inc.
Brookline, MA, USA
Roll the "daice"–exploration & programmable adaptation.