Google Titans AI Architecture Unveiled With Ability to Solve Long-Term Memory Issues in AI Models

Google claims that Titans can scale LLM memory to larger than the context window of two million tokens.

Advertisement
Written by Akash Dutta, Edited by David Delima | Updated: 20 January 2025 17:27 IST
Highlights
  • Google’s Titans ditches Transformer and RNN architectures
  • LLMs typically use the RAG system to replicate memory functions
  • Titans AI is said to memorise and forget context during test time

Google’s new architecture uses a surprise-based learning system

Photo Credit: Reuters

Google researchers unveiled a new artificial intelligence (AI) architecture last week that can enable large language models (LLMs) to remember the long-term context of events and topics. A paper was published by the Mountain View-based tech giant on the topic, and the researchers claim that AI models trained using this architecture displayed a more “human-like” memory retention capability. Notably, Google ditched the traditional Transformer and Recurrent Neural Network (RNN) architectures to develop a new method to teach AI models how to remember contextual information.

Titans Can Scale AI Models' Context Window More Than 2 Million Tokens

The lead researcher of the project, Ali Behrouz, posted about the new architecture on X (formerly known as Twitter). He claimed that the new architecture provides a meta in-context memory with attention that teaches AI models how to remember the information at test-time compute.

According to Google's paper, which has been published in the pre-print online journal arXiv, the Titans architecture can scale the context window of AI models to larger than two million tokens. Memory has been a tricky problem to solve for AI developers.

Advertisement

Humans remember information and events with context. If someone asked a person about what he wore last weekend, they would be able to remember additional contextual information, such as attending a birthday party of a person who they have known for the last 12 years.This way, when asked a follow-up question about why they wore a brown jacket and denim jeans last weekend, the person would be able to contextualise it with all these short-term and long-term information.

Advertisement

AI models, on the other hand, typically use retrieval-augmented generation (RAG) systems, modified for Transformer and RNN architectures. It uses information as neural nodes. So, when an AI model has been asked a question, it accesses the particular node that contains the main information, as well as the nearby nodes that might contain additional or related information. However, once a query is solved, the information is removed from the system to save processing power.

However, there are two downsides to this. First, an AI model cannot remember information in the long run. If one wanted to ask a follow-up question after a session was over, one would have to provide the full context again (unlike how humans function). Second, AI models do a poor job of retrieving information involving long-term context.

Advertisement

With Titans AI, Behrouz and other Google researchers sought to build an architecture which enables AI models to develop a long-term memory that can be continually run, while forgetting information so that it be computationally optimised.

To this end, the researchers designed an architecture that encodes history into the parameters of a neural network. Three variants were used — Memory as Context (MAC), Memory as Gating (MAG), and Memory as a Layer (MAL). Each of these variants is suited for particular tasks.

Advertisement

Additionally, Titans uses a new surprise-based learning systen, which tells AI models to remember unexpected or key information about a topic. These two changes allow Titans architecture to showcase improved memory function in LLMs.

In a separate post, Behrouz claimed that based on internal testing on the BABILong benchmark (needle-in-a-haystack approach), Titans (MAC) models were able to outperform large AI models such as GPT-4, LLama 3 + RAG, and LLama 3 70B.

 

Get your daily dose of tech news, reviews, and insights, in under 80 characters on Gadgets 360 Turbo. Connect with fellow tech lovers on our Forum. Follow us on X, Facebook, WhatsApp, Threads and Google News for instant updates. Catch all the action on our YouTube channel.

Advertisement
Popular Mobile Brands
  1. Samsung Galaxy A77, Galaxy A57 Spotted on Geekbench with Exynos SoCs, Android 16
  2. OnePlus Ace 6T Design Renders Leaked Online Ahead of Official Launch
  3. Moto G57 Power: Launch Date, Expected Price in India, Specifications, Features, and More
  1. AI Model Learns to Predict Human Gait for Smarter, Pre-Trained Exoskeleton Control
  2. Scientists Build One of the Most Detailed Digital Simulations of the Mouse Cortex Using Japan’s Fugaku Supercomputer
  3. The Mighty Nein Series Now Streaming on Amazon Prime Video
  4. Maadan Kodai Vizha Now Streaming on OTT: Everything You Need to Know About this Tamil Rural Drama
  5. Kasivu Now Streaming Online: What You Need to Know About This Tamil Drama Movie
  6. Scandal Eve Season 1 Now Streaming on Netflix India: Everything You Need to Know About The Japanese Mystery Drama
  7. Oppo Reno 15C Key Specifications Tipped Online Ahead of Launch
  8. Samsung Galaxy A77, Galaxy A57 Spotted on Geekbench with Exynos SoCs, Android 16
  9. WhatsApp Reportedly Testing New Group Member Tags Feature on Android
  10. OnePlus Ace 6T Design Renders Leaked Online Ahead of Official Launch
Gadgets 360 is available in
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2025. All rights reserved.