← Latest papers
🤖 AI

AI Engram: In Search of Memory Traces in Artificial Intelligence

This paper introduces a geometric framework called "AI engrams" that formalizes biological memory criteria to identify, isolate, and surgically manipulate specific memory traces within deep neural networks through linear arithmetic, thereby bridging the gap between biological memory theories and artificial representation learning.

Original authors: Jea Kwon, Dong-Kyum Kim, Jiwon Kim, Yonghyun Kim, Woong Kook, Meeyoung Cha

Published 2026-06-16
📖 5 min read🧠 Deep dive

Original authors: Jea Kwon, Dong-Kyum Kim, Jiwon Kim, Yonghyun Kim, Woong Kook, Meeyoung Cha

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a giant, complex library where every book is written in a language made of numbers. This library is an Artificial Intelligence (AI). In this library, knowledge isn't stored in separate, labeled boxes like "Cat Facts" or "Math Formulas." Instead, the information is mixed together like a giant, swirling smoothie. Every single ingredient (a number in the AI's code) helps make up the taste of the whole drink. If you want to remove just the "strawberry" flavor (a specific memory), you can't just scoop it out; usually, you'd have to throw away the whole smoothie and start over, or try to guess which tiny drop of liquid to remove.

This paper introduces a new way to find and remove specific "flavors" from the AI's smoothie without ruining the rest. The authors call these specific memory traces "AI Engrams."

Here is how they did it, using simple analogies:

1. The Problem: The Entangled Smoothie

In biology, scientists have long searched for the "engram"—the physical spot in the brain where a specific memory lives. They know memories exist, but finding the exact spot is hard because brain cells are all connected.
In AI, it's even harder. The AI's "brain" is a massive grid of numbers. When the AI learns that a picture is a "cat," it doesn't just turn on one switch. It tweaks millions of numbers at once, and those same numbers also help the AI recognize a "dog" or a "car." The memories are entangled (twisted together).

2. The Solution: A "Surgical Filter"

The authors created a mathematical tool that acts like a surgical filter. Instead of guessing or slowly tweaking the AI (which takes a long time and often breaks things), they use a one-step math formula to isolate the exact "strawberry" flavor.

They based this on four rules from neuroscience:

  • Specificity: The memory must only be about the "cat," not the "dog."
  • Reactivation: If you find this memory, you should be able to make the AI "remember" the cat again.
  • Sufficiency: If you put this memory into a blank AI, it should instantly know what a cat is.
  • Necessity: If you remove this memory, the AI should forget the cat but still remember everything else.

3. How It Works: The "Shadow" Analogy

Imagine you have a shadow puppet show. The light (the AI's current knowledge) is complex. The authors realized that if you shine a light through a specific "filter" (a mathematical formula based on the data the AI learned from), you can isolate the shadow of just one puppet.

  • The Old Way: To remove a puppet, you'd try to dim the whole stage light, hoping the puppet's shadow fades while others stay. This is messy and slow.
  • The New Way (Engram): You calculate the exact shape of the "cat" shadow using a simple math trick. Then, you subtract that exact shape from the total light. The "cat" shadow disappears, but the "dog" and "car" shadows remain perfectly clear.

4. The Magic of "Linear Arithmetic"

The most surprising part of their discovery is that these memories behave like vectors (arrows) in math.

  • You can add memories: If you have an "Eyeglasses" memory and a "Beard" memory, you can add them together to make an AI that recognizes "Bearded People with Glasses."
  • You can subtract memories: You can take away the "Glasses" part without touching the "Beard" part.
  • You can do this instantly with simple addition and subtraction, without needing to retrain the AI or run complex computer simulations.

5. Testing the Theory

The authors tested this on different types of AI:

  • Simple AI: They removed the concept of "cats" from an AI trained on pictures of animals. The AI forgot cats but still knew what dogs and cars were.
  • Complex AI (LLMs): They tried this on a large language model (like a chatbot) to see if it could "forget" specific facts it had memorized. They found that the "memory" of those facts was concentrated in specific parts of the AI's code (specifically the parts that handle attention and logic). By targeting just those parts, they could make the AI forget the facts while keeping its ability to speak and reason intact.

6. Why It's Fast

Most methods to make an AI "forget" something require running the AI through thousands of practice rounds (like studying for a test) to unlearn the information. This takes a lot of time and computer power.
The "Engram" method is like having a cheat sheet. Because they found the exact mathematical formula, they can remove the memory in a single step. It takes about 2 minutes on a powerful computer, whereas other methods might take hours or days.

Summary

This paper doesn't say we can now edit human memories or that AI will suddenly become conscious. It simply says: We found a way to locate specific memories inside an AI's code and remove them using simple math, without breaking the rest of the AI.

It bridges the gap between how we think biological memories work (as specific, identifiable units) and how AI actually stores information, proving that even in a messy, tangled digital brain, you can surgically remove a single thread without unraveling the whole sweater.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →