Yannic Kilcher on Google's Titans: a real test-time memory idea, wrapped in marketing
In a 32-minute paper review, Yannic Kilcher examines Google Research's Titans architecture, which lets a model learn to memorize while it runs. He calls it a good paper and a promising direction, but says much of its framing renames older ideas.
Yannic Kilcher's paper analysis covers Titans: Learning to Memorize at Test Time, by Ali Behrouz, Peilin Zhong and Vahab Mirrokni of Google Research, presented as part of the company's NeurIPS publications. His verdict is a "50/50 split of cool new stuff" and "putting a bit the foot on the marketing pedal". He admits he first took notice because of the publicity, and ends up calling it a really good paper and the direction an important one.
The long-context problem Titans targets
A transformer can only attend to what sits inside its context window, and attention cost grows quadratically with length. Kilcher walks through earlier fixes. Some models pass a summary state from one chunk of text to the next, so each chunk acts like a transformer internally and like a recurrent network across chunks. Others, the linear transformers, swap the softmax in attention for a kernel function. That lets the model accumulate keys and values into one running sum instead of comparing every past token, which avoids the quadratic cost.
The paper argues linear transformers underperform because they squeeze the whole past into one fixed-size matrix. Kilcher is sceptical: he sees the weakness as a worse choice of interaction function, not the act of compressing.

A neural network as memory, trained at test time
Titans replaces the fixed vector or matrix with a small neural network, essentially a fully connected network, that acts as long-term memory. The query goes in and information from the distant past comes out. Memorizing means updating that network's weights while the model processes a long sequence, so later chunks can retrieve from earlier ones.
The training signal is simple: given a key, the memory should return the matching value. The paper frames the size of the update as how "surprising" a token is, measured by the gradient of that loss, with a decaying term so that an earlier surprise is still remembered. Attention then works over the current context, the memory's output and a set of fixed task parameters.

Where Kilcher pushes back
He argues that the surprise framing is just gradient descent with momentum described in human-inspired language. The "persistent memory" is, in his words, static prefix tuning: learned parameters that could live anywhere in the network.
His larger objection is to the claim that vector or matrix memories are inadequate and a neural network is required. If storing and retrieving can be arbitrarily nonlinear, he says, a plain vector can do the same job, because data and parameters are interchangeable. In practice, Titans offers a fancier way to store and retrieve, implemented as network weights.

Why it still matters
Kilcher skips the three architecture variants, calling them implementation details with mixed experimental results. He still backs the central idea: models that actively learn to memorize, and to forget, at test time. Stretching context windows by brute force, he says, is not sustainable.
Questions and answers
What is Titans: Learning to Memorize at Test Time from Google Research?
Titans: Learning to Memorize at Test Time is a paper by Ali Behrouz, Peilin Zhong and Vahab Mirrokni of Google Research. It describes an architecture that lets a model learn to memorize while it runs. It was presented as part of Google's NeurIPS publications.
What did Yannic Kilcher say about Google's Titans paper in his 2025 analysis?
Yannic Kilcher called Google's Titans a good paper and an important direction, but said much of its framing renames older ideas. He described his verdict as a 50/50 split of cool new stuff and putting a bit the foot on the marketing pedal, in a 32-minute review.
How does the Titans architecture store long-term memory?
Titans replaces the fixed vector or matrix memory with a small neural network, essentially a fully connected network. A query goes in and information from the distant past comes out. Memorizing means updating that network's weights while the model processes a long sequence, so later chunks can retrieve from earlier ones.
How does Titans decide what to memorize?
Titans trains its memory so that, given a key, it returns the matching value. The size of each update reflects how surprising a token is, measured by the gradient of that loss, with a decaying term so earlier surprises are still remembered. Attention then works over the current context, the memory output and fixed task parameters.
Why does Yannic Kilcher criticize the Titans paper's claims about memory?
Yannic Kilcher argues the surprise framing is just gradient descent with momentum in human-inspired language, and that persistent memory is static prefix tuning. He also rejects the claim that a neural network is required, saying a plain vector can do the same job if storing and retrieving can be nonlinear.
Why does Kilcher still think Titans matters for long-context models?
Yannic Kilcher backs the central idea of models that actively learn to memorize, and to forget, at test time. He says stretching context windows by brute force is not sustainable. He skips the three Titans architecture variants, calling them implementation details with mixed experimental results.
From the YouTube description
Paper: https://arxiv.org/abs/2501.00663
Abstract:
Over more than a decade there has been an extensive research effort on how to effectively utilize recurrent models and attention. While recurrent models aim to compress the data into a fixed-size memory (called hidden state), attention allows attending to the entire context window, capturing the direct dependencies of all tokens. This more accurate modeling of dependencies, however, comes with a quadratic cost, limiting the model to a fixed-length context. We present a new neural long-term memory module that learns to memorize historical context and helps attention to attend to the current context while utilizing long past information. We show that this neural memory has the advantage of fast parallelizable training while maintaining a fast inference. From a memory perspective, we argue that attention due to its limited context but accurate dependency modeling performs as a short-term memory, while neural memory due to its ability to memorize the data, acts as a long-term, more persistent, memory. Based on these two modules, we introduce a new family of architectures, called Titans, and present three variants to address how one can effectively incorporate memory into this architecture. Our experimental results on language modeling, common-sense reasoning, genomics, and time series tasks show that Titans are more effective than Transformers and recent modern linear recurrent models. They further can effectively scale to larger than 2M context window size with higher accuracy in needle-in-haystack tasks compared to baselines.
Authors: Ali Behrouz, Peilin Zhong, Vahab Mirrokni
Links:
Homepage: https://ykilcher.com
Merch: https://ykilcher.com/merch
YouTube: https://www.youtube.com/c/yannickilcher
Twitter: https://twitter.com/ykilcher
Discord: https://ykilcher.com/discord
LinkedIn: https://www.linkedin.com/in/ykilcher
If you want to support me, the best thing to do is to share out the content 🙂
If you want to support me financially (completely optional and voluntary, but a lot of people have asked for this):
SubscribeStar: https://www.subscribestar.com/yannickilcher
Patreon: https://www.patreon.com/yannickilcher
Bitcoin (BTC): bc1q49lsw3q325tr58ygf8sudx2dqfguclvngvy2cq
Ethereum (ETH): 0x7ad3513E3B8f66799f507Aa7874b1B0eBC7F85e2
Litecoin (LTC): LQW2TRyKYetVC8WjFkhpPhtpbDM4Vw7r9m
Monero (XMR): 4ACL8AGrEo5hAir8A9CeVrW8pEauWvnp1WnSDZxW7tziCDLhZAGsgzhRQABDnFy8yuM9fWJDviJPHKRjV4FWt19CJZN9D4n
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.



