DSv4-Flash REAP Wiki

Wiki pages

On this page

Resources

External review

From the DeepSeek-V4-Flash-0731 interpretability project

J-space lens (logit lens and bounded Jacobian)

Two techniques for looking inside the model as it reads. We ran both on 80 samples across all 8 traditions.

1. What the two lenses do

"J-space" is our name for the set of intermediate states the model passes through as it processes a token. At each of its 43 layers, the model holds an internal representation of what it has read so far. We used two techniques to inspect those intermediate states, rather than waiting for the final output:

2. How sensitive each layer is (bounded Jacobian norms)

Bounded Jacobian norms
Mean bounded Jacobian norm at layers 0, 10, 20, 30, 42. Layer 0 is consistently about 2.5 to 3.5 times higher than later layers.
TraditionnL0L10L20L30L42
Bible (KJV)111195460407448347
Qur'an (Rodwell)111222435410503386
Tao Te Ching111388601552520472
Bhagavad Gita111250482486487531
Dhammapada111274559546517444
Book of Mormon111166450484447420
Analects111152456431472393
Upanishads31015318327304221

What we found (with a caveat): Layer 0's influence on the output is about 2.5 to 3.5 times that of later layers, across all traditions. The model is most responsive to its input at the very first layer, then settles down. The caveat: we only nudged in 16 directions, so these numbers are approximate bounds, not exact sensitivity measurements. The differences between traditions are modest and do not line up with how the traditions clustered when we ranked experts by REAP score. That suggests the lens is picking up on surface-level text statistics, not on theological content.

3. What the model guesses at each layer (logit lens)

Watching the top candidate word at each layer, we see the model's predictions stabilize around layers 30 to 35 across all traditions. Before that, the guesses jump around. After that, they mostly settle. No tradition looks qualitatively different from the others in this respect. You can explore this per position and per layer in the interactive viewer.

4. The interactive viewer

The J-space viewer is a self-contained HTML file (about 120KB) that lets you browse all 80 samples. Pick a tradition, a sample, and a position in the text, and you can see the model's running next-word guess at each of its 43 layers, plus how sensitive each layer was to the input. It is the closest thing to watching the model think in real time.

5. A logit lens claim we retracted

Genesis 1:2 logit lens. We originally claimed that at an early layer the lens predicted the word "darkness" for a position in Genesis 1:2. This was wrong. The token at that position is actually " deep" (with a leading space), not "darkness." The error came from a mismatch in how we split the text into tokens. We retracted the claim.

6. Caveats and open problems