← Latest papers
💻 computer science

Friends and Grandmothers in Silico: Localizing Entity Cells in Language Models

This paper identifies and validates sparse, causally actionable MLP neurons in early layers of language models that selectively encode specific entities, demonstrating that activating these localized cells can reliably retrieve entity-specific factual knowledge and support robust canonicalization across various linguistic forms.

Original authors: Itay Yona, Dan Barzilay, Michael Karasik, Mor Geva

Published 2026-04-03
📖 5 min read🧠 Deep dive

Original authors: Itay Yona, Dan Barzilay, Michael Karasik, Mor Geva

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 massive library where a librarian (the AI) knows the answer to almost every question you ask. But here's the mystery: Where exactly does the librarian keep the answer? Is it written on a specific page, stored in a specific drawer, or is it a vague feeling that builds up as the librarian reads your question?

This paper, titled "Friends and Grandmothers in Silico," goes inside the brain of an AI to find the specific "switch" that turns on knowledge about a specific person or thing.

Here is the breakdown using simple analogies:

1. The "Grandmother Cell" Idea

In neuroscience, there's a famous (and slightly controversial) idea called the "Grandmother Cell." The theory suggests that somewhere in your brain, there is a single neuron that fires only when you see your grandmother. It doesn't fire for your grandfather, your aunt, or a picture of a cat. It's just for Grandma.

The researchers asked: Do AI models have "Grandmother Cells" for facts?

  • Is there a specific tiny switch inside the AI that lights up only when the AI thinks about "Barack Obama"?
  • Or is the concept of "Obama" spread out across thousands of neurons like a fog?

2. The Detective Work: Finding the Switch

The researchers acted like detectives. They took an AI model (specifically one called Qwen2.5) and asked it thousands of questions about 200 different famous people and places (like "Who is the spouse of X?" or "Where is X located?").

They watched the AI's internal "brain waves" (activations) to see which tiny switches (neurons) fired up every single time the AI thought about a specific entity, regardless of how the question was phrased.

The Discovery:
They found that for many popular entities, there is a specific "switch."

  • Location: These switches are mostly found in the early layers of the AI's brain (the beginning of the processing chain). It's like the AI recognizes "Who is this?" almost immediately, before it starts doing the heavy lifting of answering the question.
  • Stability: The same switch fired for "Barack Obama," "Obama," "Brock Obma" (a typo), and even when the name was written in different languages. This suggests the switch isn't just recognizing the letters of the name, but the identity of the person.

3. The "Amnesia" Test (Turning the Switch Off)

To prove these switches were actually important, the researchers tried to break them. They used a technique called "negative ablation," which is like flipping a switch to the "off" position or even reversing its polarity.

  • The Result: When they turned off the "Obama switch," the AI suddenly forgot everything about Obama. It couldn't name his wife or his presidency.
  • The Control: However, the AI could still talk perfectly fine about other people (like Donald Trump). It didn't go crazy; it just developed a specific case of amnesia for that one person.

This proved that the switch wasn't just a bystander; it was the key to accessing that specific knowledge.

4. The "Magic Wand" Test (Turning the Switch On)

Next, they tried the opposite. They took a question where the AI didn't know the answer (because they replaced the name with a placeholder like "X"). Then, they manually forced the "Obama switch" to turn on.

  • The Result: Suddenly, the AI remembered! Even though the name was missing, the AI started spitting out facts about Obama.
  • The Takeaway: You don't need to reprogram the whole AI. Just flipping one single switch was often enough to make the AI recall the correct facts.

5. Why This Matters (The "Canonical" Identity)

The most fascinating part is that these switches work even if you misspell the name or use an acronym.

  • If you type "FBI," the AI uses the same switch as if you typed "Federal Bureau of Investigation."
  • If you type "Paris" in French, Chinese, or Hebrew, it uses the same switch.

This suggests the AI isn't just memorizing strings of letters. It has built a canonical identity card for each entity. The "Grandmother Cell" is the ID card reader. Once the ID is scanned, the rest of the AI's brain knows exactly who to talk about.

The Catch

This isn't true for every entity in the world.

  • It works best for popular things (like famous presidents or big cities).
  • It works best in certain AI models (like the Qwen family). Other models have these switches too, but they are messier and harder to find.
  • It's not a perfect 100% rule; sometimes the "fog" (distributed knowledge) is still involved.

The Big Picture Analogy

Imagine the AI's brain is a giant, dark warehouse.

  • Old Theory: To find a box labeled "Obama," you have to search the whole warehouse, gathering clues from every corner until you find the box.
  • This Paper's Finding: There is actually a light switch on the wall near the entrance. If you flip that specific switch, the lights turn on, and the "Obama" box instantly becomes visible and accessible. If you break that switch, the box disappears into the dark, even though the warehouse is still full of other boxes.

In short: The researchers found that for many facts, AI models rely on sparse, specific "keys" located early in their processing. These keys act like a master ID card, allowing the AI to instantly retrieve a consistent identity for a person or place, regardless of how you ask about them.

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 →