# The AI Memory Problem: Why Long Context Isn't Enough — Dan Biderman, Engram Co-founder & CEO <!-- ref: @content/youtube/latent-space/2026-07-13-ai-memory-problem-long-context-cartridges version: 3 updated_at: 2026-10-31T20:06:20.801Z --> Dan Biderman (Latent Space, 2026-07-13): Biderman argues that continual learning and memory are long-context problems in disguise, and that pushing context windows out to 10 million tokens does not dissolve them — models get measurably more confused the more you feed them, a failure he calls context rot. *Synthesized from Dan Biderman on Latent Space, 2026-07-13.* Dan Biderman is co-founder and CEO of Engram, a memory and continual-learning research company that raised a $98 million seed round; he trained in computational neuroscience, worked on LoRA at Mosaic, and did research in Chris Ré's lab at Stanford before founding the company with Sabri, Jack, Jesse, and Scott Linderman. ## Core Thesis Biderman argues that continual learning and memory are long-context problems in disguise, and that pushing context windows out to 10 million tokens does not dissolve them — models get measurably more confused the more you feed them, a failure he calls context rot. His bet is that the compression trick that makes pre-training work should be applied to a company's own corpus: let a model study a body of knowledge in advance, quiz itself on it, and train on it with gradient descent, producing compact weight-space artifacts Engram calls *cartridges* that can be swapped in and out of a model. The goal is not to replace text representations — wikis, indexes, RAG — but to add the layer above them, the intuition that lets a model act without re-reading the manual each time. ## Key Insights - Biderman's framing for the gap: current LLMs enter the kitchen for the first time on every request, read the textbook, and measure everything, while a chef who has cooked the dish a thousand times works from intuition. Notes are necessary; notes alone are not expertise. - Cartridges are corpus-specific or task-specific weight capsules that Biderman describes as roughly 1,000x more compressed than the equivalent context, letting a model answer with far fewer tokens and less confusion. - The systems argument for why in-weights memory should be possible: load a single Wikipedia article — a few tens of kilobytes of text — into a Llama 70B model and the resulting KV cache occupies about 80 GB of GPU HBM. The model's entire parameter set at BF16 is only around 140 GB, and those parameters lossily encode the whole internet. One Taylor Swift article costing the same order of magnitude as all of pre-training is, in Biderman's read, a memory-efficiency scandal that chip and kernel teams are still fighting. - Compaction (models evicting their own tokens to manage context) is improving and will be part of the answer, but Biderman calls it lossy and binary — a token is either in or out — which is why deep sessions still go forgetful and confused. He wants a second, non-textual lossy channel: a neural memory trace in the weights. - The workload argument: if agents are generating code, documents, and artifacts on behalf of knowledge workers, Biderman expects AI-native companies to hold on the order of trillions of tokens of proprietary data within 18 months — the scale that was called "internet-scale pre-training data" when he was at Mosaic two or three years ago. - Engram works with Harvey on very large legal file systems, where the hard queries are holistic rather than searchable. His example: *which M&A deals haven't we completed this year?* No document states that a deal is incomplete, so an agent must read client matter by client matter and infer absence — a query Biderman says frontier models plus compaction can answer today for thousands of dollars, when any employee could answer it for free. - Engram is effectively attacking prefill: instead of a model reading and re-reading a corpus at inference time, training compute is spent up front so the model can load the cartridge and start decoding immediately. Biderman ties this to data centers already disaggregating prefill and decode onto specialized cards. - The open research question Biderman is honest about not having solved: what belongs in weights versus in notes. Hand-writing heuristics turns into whack-a-mole because every person and enterprise has different data, so the target is a model that learns the in/out decision itself from saliency, repetition frequency, and affordance — his analogy is that tonight's hotel room number matters less than your partner's phone number. - On feedback loops: with training machinery available, a thumbs-up is not a hint routed to a future model release for everyone — compute gets spent on that specific user's model. Biderman also notes the model must learn to discount feedback, since users are frequently wrong and increasingly less expert than the model. - Routing is part of the solution, not a rival to it. Biderman is explicit that Engram is not betting on one model that learns everything; a cheap model shouldn't be replaced by a frontier model for trivia, but the local, always-present model that has watched you work can hand the frontier model a far better-targeted, higher-context question. - On the long arc: Biderman wants every person to own a set of weights representing their expertise, improving as they use it — which he frames as a massive infrastructure problem (millions of endpoints read from disk into HBM, swapped and updated) at least as much as a research one. Consumer hardware approaching trillion-parameter inference makes on-device personalization plausible later, but enterprise is where the dense expertise and the usage are today. - Biderman rejects the framing that efficiency work is the budget tier: doing more with less is what unlocks longer-horizon and harder tasks, and he expects the next paradigm to lean that way after years of doing more with more. ## Actionable Takeaways 1. Treat a long context window as a capacity number, not an accuracy guarantee. Biderman's point is that you can feed a model many tokens without an error and still get degraded holistic reasoning — measure quality against context length rather than assuming headroom. 2. When evaluating memory approaches, look for the queries where the whole exceeds the sum of the parts — questions about absence, completion, or gist across a corpus. RAG retrieves chunks that state things; it cannot retrieve the fact that nothing states something. 3. Price the alternative before dismissing training. Biderman's benchmark is a query an employee answers off the top of their head that costs thousands of dollars in frontier-model tokens; that gap is the budget for a compression approach. 4. Keep the text layer. Engram's design explicitly retains wikis, knowledge bases, and compaction because they are interpretable and auditable, and adds parameter-efficient adapters (LoRA-style, cartridges, memory layers) above them rather than in place of them. 5. If you are sizing infrastructure, plan for the KV-cache asymmetry: a single article's cache can rival a large fraction of model weights on HBM, which is why prefill/decode disaggregation and in-weights knowledge are converging answers to the same bill. 6. Pair deep and fresh researchers deliberately. Biderman's stated team practice is to put experienced PhDs alongside early-career researchers so intuition steers newcomers out of known rabbit holes without damping their momentum. ## Notable Quotes > "Current LLMs are like coming into the kitchen first time every time, reading the textbook, cooking the dish, measuring everything." — Dan Biderman > "If you wipe their brain every evening, they would also be at a severe disadvantage." — Dan Biderman > "Getting smarter means exerting less energy to solve increasingly harder problems." — Dan Biderman > "The holy grail is have the model learn for itself." — Dan Biderman > "The current paradigm of scaling with AI has been doing more with more, and it took us extremely far." — Dan Biderman --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*