Titans: Learning to Memorize at Test Time
2024/12/31 by Ali Behrouz, Peilin Zhong, Behrouz, Ali +3 · 45 voices · 74 citations
Computer Science · #Artificial Intelligence in Games #cs.AI #cs.CL #cs.LG
paper · pdf · doi:10.48550/arxiv.2501.00663
openalex publication_date 2024/12/31 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28
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.
Cited by
Discussions
- Titans: Learning to Memorize at Test Time [hn, 161 points, 35 comments]
- Titans: Learning to Memorize at Test Time [hn, 115 points, 15 comments]
- There are (at least ...) two papers on sequence models, where the memory update is done through grad descent at test time: Titans: Learning to Memorize at Test Time arxiv.org/abs/2501.00663 Learning [bsky, 19 points, 0 comments]
- Paper de Titans, Nuevo paradigma, el sucesor de Transformers? arxiv.org/pdf/2501.00663 [bsky, 17 points, 0 comments]
- arxiv.org/abs/2501.00663 [bsky, 7 points, 0 comments]
- Titans is a new neural network architecture developed by researchers at Google. Experimental results show that Titans are more effective than Transformers and recent modern linear recurrent models. [bsky, 6 points, 0 comments]
- arxiv.org/abs/2501.006... [bsky, 6 points, 2 comments]
- Titans: Learning to Memorize at Test Time [hn, 5 points, 2 comments]
- Paging @sungkim.bsky.social Seen this? arxiv.org/abs/2501.00663 [bsky, 3 points, 1 comments]
- Transformers 2.0? arxiv.org/abs/2501.006... [bsky, 3 points, 0 comments]
- Reading the new @Google #AI paper. arxiv.org/pdf/2501.006... Lots of bold claims, waiting for the Pytorch code to be released so we can see if there's beef in that there bun. [bsky, 2 points, 2 comments]
- "Titans: Learning to Memorize at Test Time" arxiv.org/pdf/2501.006... [bsky, 1 points, 0 comments]
- Did Google solve the current problems with memory context and weighting with the Titans architecture? Certainly looks promising. arxiv.org/abs/2501.00663 [bsky, 1 points, 0 comments]
- arxiv.org/abs/2501.006... [bsky, 1 points, 0 comments]
- By this analogy, L3 likely requires an architectures that borrows ideas from RNNs together with algorithms to train for an order of magnitude many more tokens. These are starting to emerge, such as t [bsky, 1 points, 1 comments]
- Did a research query... Episodic Memory LLM: arxiv.org/html/2407.09... (Uses surprise as a delimiter) FLARE: aclanthology.org/2023.emnlp-m... (Uses lack of confidence as to query for more information) [bsky, 1 points, 1 comments]
- Titans paper shows that realtime learning is solved. The last domino before AGI is context switching self-awareness; i.e. can it function in a group conversation. I think we see it this year or next. [bsky, 1 points, 0 comments]
- possible improvement over LLMs, still a pale imitation of the brain, though: arxiv.org/abs/2501.00663 #ai #llm [bsky, 1 points, 0 comments]
- Titans: a new architecture with attention and a meta in-context memory that learns how to memorize at test time. arxiv.org/pdf/2501.006... [bsky, 1 points, 0 comments]
- Do you want to know the future. The keyword is Titans. This is the link… and it’s Google. arxiv.org/abs/2501.00663 [bsky, 0 points, 0 comments]
- "Titans", as opposed to Transformers, treat attention as short-term memory and extend the possible context window by using an additional neural memory that lives just as long as in-context document in [bsky, 0 points, 0 comments]
- Titans: Learning to Memorize at Test Time [bsky, 0 points, 0 comments]
- Titans: Learning to Memorize at Test Time https://arxiv.org/abs/2501.00663 https://news.ycombinator.com/item?id=42718166 [bsky, 0 points, 0 comments]
- Titans: Learning to Memorize at Test Time https://arxiv.org/abs/2501.00663 [comments] [30 points] [bsky, 0 points, 0 comments]
- 🧐 🤔 Titans: Learning to Memorize at Test Time arxiv.org/abs/2501.00663 #llms #ai [bsky, 0 points, 0 comments]
- Google just dropped Titan - overcoming traditional transformers using short|long-term memory. Handling extended context windows, linear scaling for efficient computation for tasks requiring vast memor [bsky, 0 points, 1 comments]
- arxiv.org/abs/2501.00663 Titans [bsky, 0 points, 0 comments]
- Crazy paper! Have we finally cracked the code on how to give models "human-like" memory? Titans: Learning to Memorize at Test Time Ali Behrouz, Peilin Zhong, and Vahab Mirrokni [bsky, 0 points, 0 comments]
- Papers like this are why I'm proud to work at google arxiv.org/abs/2501.00663 [bsky, 0 points, 0 comments]
- Machine Learning papers are using drop caps now? I like it, very medieval feeling. arxiv.org/abs/2501.00663 [bsky, 0 points, 0 comments]
- Titans: Learning to Memorize at Test Time (arxiv.org) Main Link | Discussion [bsky, 0 points, 0 comments]
- 구글에서 제안한 인간의 기억 방식에서 차용한 기억 방법 arxiv.org/abs/2501.00663 [bsky, 0 points, 1 comments]
- Okay, so imagine a reasoning model that plugs away for days or weeks *and* has long term memory that can tie together subtle relationships between factoids learned in different realms of inquiry over [bsky, 0 points, 0 comments]
- I appreciate Google researching alternatives to Transformers and linear recurrent architectures, but fundamental weakness remains: reliance on stochastic optimization and probabilistic mechanisms maki [bsky, 0 points, 0 comments]
- Saving it for later! arxiv.org/abs/2501.00663 [bsky, 0 points, 0 comments]
- Google's new titan architecture that uses live constantly updating memory could unlock a new level of personalisation and specialisation that was previously unachievable in LLMs. arxiv.org/abs/2501.0 [bsky, 0 points, 0 comments]
- let's see where this one takes us! arxiv.org/pdf/2501.006... [bsky, 0 points, 1 comments]
- Could this be the approach that finally bridges the gap between AI and human-like adaptive learning? Thoughts? 🤔| Article link here: https://buff.ly/4fUtRE4 #AI #MachineLearning #DeepLearning [bsky, 0 points, 0 comments]
- Titans: Learning to Memorize at Test Time https://arxiv.org/abs/2501.00663 (https://news.ycombinator.com/item?id=42718166) [bsky, 0 points, 0 comments]
- ... über mehrere LLM-Interaktionen schnell an ihre Grenzen. 👇 Deep Dive in das aktuell viel besprochene Google Paper "Titans: Learning to Memorize at Test Time" (arxiv.org/abs/2501.00663) stellt arch [bsky, 0 points, 1 comments]
- Google researchers propose an update to transformers with short and long-term memory. [bsky, 0 points, 0 comments]
- This is one of the most exciting papers I've read in the past year: arxiv.org/abs/2501.00663 In a nutshell, the authors have developed the Titans architecture, combining attention with biological-ins [bsky, 0 points, 1 comments]
- 🔗 arxiv.org/abs/2501.00663 [bsky, 0 points, 0 comments]
- Google's Titans are here! This new neural memory module learns from historical context, allowing AI to better understand and use past info while focusing on the present. ⤵️ #AI #MachineLearning arxi [bsky, 0 points, 0 comments]
- Titans: Learning to Memorize at Test Time https://arxiv.org/abs/2501.00663 (https://news.ycombinator.com/item?id=42718166) [bsky, 0 points, 0 comments]
Related