Who this is for. Anyone planning to edit, unlearn or steer a fact in a model, who wants a map of where the fact lives before touching the weights. You do not need a background in interpretability: the background section explains every term the steps use.
Background: four ideas you need
1. Layers, positions and the stream between them
A language model reads a prompt as a row of pieces (also called tokens): "The Eiffel Tower is located in the city of" is one row of them. Each piece has a position in the row. Inside, the model is a stack of layers: Qwen3-4B has 36. Every layer reads a list of numbers for each position, adds its own contribution, and passes the result on. That running list of numbers, one per position, is the stream. Each layer's contribution has two parts: an attention part, which moves information between positions, and an MLP part, which works on each position by itself.
An activation is the stream (or one of those two parts) at one layer and one position. At the last position of the last layer, the model reads off its guess for the next piece: " Paris" or " Rome".
2. Activation patching
Activation patching asks where in that grid a fact is carried. Run two prompts that differ in one fact:
| Prompt | The model answers | |
|---|---|---|
| First | The Eiffel Tower is located in the city of | Paris |
| Second | The Colosseum is located in the city of | Rome |
Now run the second prompt again, but at one layer and one position, copy in the activation from the first run. If the answer becomes "Paris", that one copied piece carried the fact. Do it at every layer and every position and you get a map. The two prompts must have the same number of pieces, so that each position in one lines up with the same position in the other.
3. Neurons, a concept's core and its slices
Inside each layer's MLP part are thousands of neurons: single numbers that rise or fall as the model reads. One neuron rarely means one thing. To find the neurons for a concept, PSI reads the model at the concept's own words in several sentences about it, and compares each with the same sentence about unrelated things. A core neuron responds to the concept whatever the sentence; a slice responds only in one context (one side of the concept).
To delete a neuron here is to set it to zero while the model runs (zero-ablation). Everything is undone afterwards. Two controls decide what a deletion means: the same number of random neurons deleted in the same layers, and a floor, the signal that a set of the same size reaches for unrelated words on the intact model.
4. What the Anatomy view shows
The Anatomy view draws the loaded model's real structure from its weights: one column per layer, heads on top, neurons below in bins. Two of its parts are used here:
- Where is the answer decided? (activation patching). Two prompt boxes and Find where it is decided. The result is a map over layers and the words of the prompt: bright cells are where copying that piece from the first prompt brings the first prompt's answer back. A show menu chooses what is copied: the whole stream after each layer, MLP outputs only or attention outputs only.
- Light up a concept. A concept box and Light it up. It shows where the concept lives, layer by layer (a depth chart: word form in early layers, meaning later), its slices, and its neurons; show it on the network above lights them on the drawing. Below it, delete what is lit, then look again deletes those neurons in rounds, maps the concept again on the damaged model after each round, and asks it about the concept.
What you need
- PSI installed and running. See Install.
- The inside engine and the unpacked weights. Anatomy reads the model from the inside, so it needs Python 3.12 with PyTorch and the model's full-precision weights as a folder (not the GGUF file). For Qwen3-4B, about 9 GB of free GPU memory; without room it falls back to the processor, slowly. See What each view needs.
- A model. PSI ships no model: bring your own, from Hugging Face or any download. This case study was run on Qwen3-4B. When you load its GGUF file in Settings, the inside engine follows it and finds the matching weights folder, or you set the folder by hand.
- An OpenRouter key: not needed. Only the optional parts written by Prometheus (sentences for a concept, drafted neuron names) spend credit.
- Somewhere to write down what you find, for example:
| Your result | |
|---|---|
| Layers where the copy brings "Paris" back | |
| The position (word) where it happens | |
| Concept lit up: core neurons, slices | |
| After deleting: does the model still answer? |
Steps
Step 1. Load the model and check the inside engine
- Press the gear button (⚙, Model settings) at the top right. This opens Settings.
- Under Local model, pick the model's .gguf (here Qwen3-4B) and press Load. Wait until the line under the list says Loaded.
- Under Inside-the-model engine, check the weights folder: with follow the local model on (the default), PSI fills it in. To choose a folder by hand, untick it, set the folder and press Save and restart the engine.
- Press Check the setup. Done when it lists nothing missing for the inside engine.
Step 2. Write two prompts that differ in one fact
- Open Anatomy (under Look inside in the left menu) and scroll to where is the answer decided? (activation patching).
- In first prompt (its answer is the one to bring back), put:
The Eiffel Tower is located in the city of
- In second prompt (same number of pieces, one name changed), put the same sentence about the Colosseum:
The Colosseum is located in the city of
Step 3. Run activation patching
- Leave show at the whole stream after each layer.
- Press Find where it is decided. The view copies one internal activation, at each layer and token position, from the first run into the second, and records whether the answer becomes "Paris".
- Done when the map appears.
Step 4. Read the map
- Find the bright cells. The positions and layers where the copy flips the answer are where the fact is decided. Expect a band of layers, not a point.
- Write down which layers the band covers and at which word it sits.
- Switch show to MLP outputs only, then attention outputs only, and look again: they show which of the two parts of each layer carries the fact at that point.
Step 5. Light up the concept
- Scroll to light up a concept. In concept, type the fact's subject. To compare with our result below, use
Bluetooth. - Leave let Prometheus write sentences for this concept off (built-in sentences, no key needed), and press Light it up.
- The view shows the neurons that respond to it: a core that fires in every context and slices for each side of it. Read where it lives, layer by layer and its slices.
- Press show it on the network above to see them on the drawing of the model.
Step 6. Delete what lit up, and look again
- Under delete what is lit, then look again, choose the number of rounds (1, 2, 4 or 6).
- Press Delete what is lit, then look again. Each round deletes every neuron that lit up, maps the concept again on the damaged model, and asks it about the concept. New neurons that light up were carrying it too.
- Read the verdict against its two baselines (random neurons in the same layers, and the floor). It says the concept "is not held in a set of nodes" only when the deletion removed more than random deletions did and the signal still stayed above the floor.
- Write down how many neurons were deleted and whether the model still answers. The model is restored at the end.
If a cut made in Tipping point is in force, this step is refused: restore the model there first.
What you will see
If your map shows the same band and your deletions behave the same way, your setup is right.
The fact is decided in a band of middle layers at the subject's position, which is the target for an edit. But deleting the concept's neurons does not remove the concept: for "Bluetooth", 1,117 neurons were deleted over several rounds and the model still answered correctly, because new neurons took over each time, with about a third of the signal left at the end.
What this means for the project
Edits that target a band of layers at a position have a map to work from. Edits that try to remove knowledge by ablating neurons are fighting a model that rebuilds the concept from the word; the Tipping point view found the same for a whole concept, cricket. Plan for that before promising unlearning.
What it will not tell you
Whether an edit generalises to paraphrases and other languages. Those are prompts for the Experiment designer, with a baseline of unrelated facts that the edit must not touch.
Questions people ask
Where is a fact stored inside a language model?
In this test, a fact was decided in a band of middle layers at the subject's position, not at a single point. Activation patching in PSI's Anatomy view copies one internal activation at each layer and position from the "Eiffel Tower" prompt into the "Colosseum" one and records where the answer becomes "Paris".
Can you make a model forget something by deleting neurons?
Not in this test: for "Bluetooth", 1,117 neurons were deleted over several rounds and the model still answered correctly, because new neurons took over each time, with about a third of the signal left at the end. PSI's Tipping point view found the same for a whole concept, cricket.
Does a fact edit in a model carry over to paraphrases and other languages?
Not tested here. Activation patching gives a map of where to edit, not whether an edit generalises; that needs paraphrase and other-language prompts in PSI's Experiment designer, with a baseline of unrelated facts the edit must not touch.