Reproduce “Titans: Learning to Memorize at Test Time” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Ali Behrouz, Peilin Zhong, Vahab Mirrokni
The Titans architecture combines a neural long-term memory with attention: memory updates its weights online from key–value associations, while attention processes current context. In the MAC variant, it retrieves a relevant memory summary for each segment and uses the resulting representation to update memory. On RULER’s S-NIAH-N at 16K, MAC scores 97.4 versus TTT’s 4.4; on BABILong, it outperforms listed baselines in reported settings, not universally.
Key insights
- Memory should be treated as distinct but interconnected modules (short-term, long-term, persistent)
- Events that violate expectations (surprising) should be more memorable
- Deep memory networks are more effective than linear/shallow ones for memorization
- Combining attention with neural memory allows better handling of both local and long-range dependencies
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.