DSv4-Flash REAP Wiki

Wiki pages

On this page

Resources

External review

From the DeepSeek-V4-Flash-0731 interpretability project

Roadmap and ideas

Where the project goes next, in rough order, plus the questions we have not answered yet.

This is a study of DeepSeek-V4-Flash-0731, a language model built as a mixture of experts. Instead of running one giant network for every word, the model keeps 256 smaller sub-networks (we call them experts) at each of its 43 layers, and a router that picks 6 of them for each token (roughly, each word or word-part) it reads. We record which experts get picked and how strongly they fire. Our main measurement is called REAP: it multiplies how much the router wanted an expert (its gate weight) by how active that expert turned out to be (its activation norm), giving one number per expert per token that says how much that expert contributed.

So far we have found two clear things. The first is H6, a group of 6 experts at layer 42 (the last layer) that fire strongly on flowing prose but go nearly silent on verse, meaning text broken into short lineated lines like poetry or scripture. The second is e164, expert number 164 at layer 42, which fires on digits (the numerals 0 through 9) and on little else. We originally mistook e164 for a scripture detector, but that was an error caused by our own data pipeline stripping verse numbers out of the Bible, leaving the Bible with no digits while every other text had them.

The roadmap below is what we plan to do next, and the questions still open.

1. Near term

These are the experiments we have already prepared and expect to run in the next block of GPU time.

  1. Exp 13, the ablation. An ablation is a test where we temporarily switch some experts off and see what changes. Here we switch the H6 experts off and measure how much worse the model gets at predicting the next token, using its negative log likelihood (NLL), a standard measure of prediction error where lower is better. If the error jumps on prose but not on verse, that is direct evidence H6 is causing the difference, not just tracking it. staged
  2. Exp 11, the context dump. We look at the actual text the model is reading at the moments when the tradition-specific experts (the ones that fire on only one religion) switch on. The goal is to see what in the text triggers them. staged
  3. Theology observation. Run text about specific figures, Jesus, Lucifer, Moloch, and Saturn, plus texts on Judaism, through the model and record the routing, to see whether named theological content changes which experts fire.

2. Medium term

These need more design work before we run them.

3. Backlog (ideas, not committed)

These are ideas we think are worth doing but have not yet scheduled.

4. Open problems we have not solved