Artificial Memory: Bridging the Gap in AI

Current AI forgets beyond its context window. Experts are exploring human-like associative memory to achieve Artificial General Intelligence.

English · Original discussion in Spanish · Published

Current AI models lose information when exceeding their context limit, unlike human memory which works associatively and dynamically.

## The Neural Landscape of Human Memory

Imagine human memory not as a hard drive with folders, but as a topographical landscape. Consolidated memories are like deep valleys where information settles, while fleeting ideas are unstable peaks. The fascinating part is that we don't need to search for a memory "by address," as if looking for a specific file. A simple stimulus, like a smell or a word, "rolls us" across this neural topography directly to the desired memory. It's instant access, a kind of parallel network collapse that leads us straight to the memory's attractor state.

## AI and its "Context Window"

This is where things get complicated for artificial intelligence. Current models, like those based on the **Transformer** architecture, have a very different notion of memory. Their "short-term memory" is limited to what we call the **"context window."** Although these windows have grown enormously in recent years, processing remains costly and, more importantly, when the conversation or information processed exceeds this limit, the model begins to forget. This is known as **"lost in the middle"**: coherence degrades and distant details become diluted. AI doesn't actively "remember"; it reconstructs mathematical relationships based on the information directly in front of it.

## The Grand Challenge: Long-Term Associative Memory

The real bottleneck for achieving **Artificial General Intelligence (AGI)** is precisely endowing machines with long-term associative memory, something akin to what humans have, without constantly retraining the entire network. If we did that, we would face **"catastrophic forgetting,"** where the model forgets what it previously learned. Approaches already exist to try and solve this. On one hand, there's **RAG (Retrieval-Augmented Generation)**, which searches for information fragments by semantic similarity in vector databases and integrates them. It's an external patch that mimics associative retrieval. Other experiments explore hierarchical memories, dividing memory into short-term and long-term modules, inspired by brain function. And then there are attractor networks, like modern **Hopfield** networks, which seek to directly emulate these biological "attraction valleys" to achieve content-based information retrieval natively.

Summary of a discussion on Burbuja.info - Foro de economía, actualidad y política., translated from Spanish and reviewed before publication. Read the full discussion (6 replies).

More summaries

All summaries in English →

Back