AI Safety
Jacobian Lens and Global Workspace Interpretability
The Jacobian lens maps intermediate residual-stream activations into final-layer coordinates with a corpus-averaged Jacobian. A 2026 Transformer Circuits study uses this readout and targeted interventions to test whether a small token-aligned component supports report, internal reasoning, flexible use, and selective processing.
Learning position
Read this page in the graph.
ai-safety | layer 4 | tier 2. This page has 2 direct prerequisites and 0 published dependents.
What next
Sparse Autoencoders for Interpretability: TopK, JumpReLU, Matryoshka, and ScalingThis is the first curated or graph-derived continuation from the current page.
Evidence badge
Source-grounded pageThis page has no public Lean mapping yet. Use the evidence page to inspect how claim status labels work.
Why This Matters
Reading an intermediate residual activation
Logit lens
h_lintermediate activationnormno geometry correctionW_Uunembeddingtokensranked readout
J-lens
h_lintermediate activationJ_lmean Jacobian correctionnorm + W_Ufinal-layer coordinatestokensranked readout
The logit lens reads an intermediate residual-stream activation by sending it directly through the model's final normalization and unembedding. This is easy to compute, but it assumes that a feature has the same coordinates at an early layer and at the output. That assumption becomes less plausible as many layers transform the representation.
Gurnee et al. (2026) introduce the Jacobian lens, or J-lens, to correct for this representational drift. The method estimates how a perturbation at layer changes final-layer activations on average across prompts, source positions, and current or later target positions. The resulting token-indexed directions provide a vocabulary readout for intermediate activations.
The paper then asks a larger empirical question: do the representations found by this lens act like a limited shared workspace for verbal report, flexible inference, and internal reasoning? Its evidence includes coordinate swaps, concept injections, ablations, cross-task transfer, and controls against non-J-space directions. These are intervention-based experimental findings on the tested models. They are not mathematical consequences of the J-lens definition.
The Jacobian-Lens Construction
Let be the residual-stream activation at layer and token position . A perturbation to this activation can affect the final residual state at every later position . The paper averages the corresponding Jacobians over current and later target positions:
The expectation uses 1,000 prompts sampled from a pretraining-like distribution. For an activation , the vocabulary readout is
where is the model's unembedding matrix. The rows of are called J-lens vectors. Setting recovers the direct logit-lens approximation.
Mean-Jacobian First-Order Response
Statement
For a perturbation at , let denote the downstream residual map in sampled context . Then
with . For any fixed linear readout , applying gives the corresponding average first-order readout change, .
Intuition
Each prompt induces its own local linear map from an intermediate activation to a later activation. Averaging these maps retains effects that recur across contexts while reducing prompt-specific geometry. The result is a fixed layer-wise map that can be reused as a readout.
Proof Sketch
Apply the multivariate first-order Taylor expansion to each context: . Take expectations. The assumptions permit the expectation to pass through the linear term and make . Linearity of gives the readout statement. This argument establishes a local first-order identity. It does not prove that applying to a full activation exactly reconstructs the model's nonlinear computation.
Why It Matters
The proposition isolates the rigorous part of the method. The J-lens is based on the derivative of the actual downstream computation, rather than on an assumption that intermediate and final representations already share one coordinate system.
Failure Mode
The approximation can fail for large interventions, sharp nonlinear changes, or contexts far from the averaging distribution. Averaging also discards context-specific Jacobian structure. Normalization and softmax add further nonlinearity. The actual logit derivative contains the derivative of the final normalization and cannot in general be reduced to . A high-ranked lens token is a diagnostic readout, not an exact decomposition of the model's state.
From J-Lens Vectors to the J-Space
At one layer, the vocabulary supplies more J-lens vectors than the residual stream has dimensions. They form an overcomplete frame, not a basis. A vector therefore has many possible expansions in J-lens coordinates.
The paper imposes sparse nonnegative structure. If has J-lens vectors as columns, the -sparse J-space is
Geometrically, this is a union of cones, one cone for each active set of at most token directions. The study usually takes and estimates a sparse nonnegative reconstruction with gradient pursuit. The reconstructed part is the activation's J-space component; the residual is its non-J-space component. Because the dictionary is overcomplete and the feasible set is nonconvex, neither the coordinates nor a nearest reconstruction must be unique.
What the Experiments Establish
Unless a paragraph names another model, the results below use the paper's default model, Claude Sonnet 4.5.
Verbal report: Figures 6–8
The authors compare interventions along pure J-lens vectors, the J-space part of independently estimated concept vectors, and the remaining non-J-space part. Across concepts and workspace layers, the J-space component contains a median of only 6–7% of concept-vector variance. Even so, pure J-lens swaps move the target concept into the output top five on 88% of trials. J-space concept components reach 59%, while equal-norm non-J-space components reach 5%. Clamping the relevant J-lens coordinates removes the remaining non-J-space effect.
The 88% number has a narrow meaning: target-to-top-five success in this swap protocol. It is not an 88% accuracy result, a universal report-flip rate, or a claim about all model internals.
Internal reasoning: Figures 12–17
In the paper's clearest single example, the model completes "the number of legs on the animal that spins webs is" with 8. The J-lens surfaces the unspoken intermediate spider. Swapping the spider coordinate for ant changes the top output from 8 to 6.
On 50 two-hop factual prompts, raw J-lens coordinate swaps put the target answer at top one on 54% of trials for Haiku 4.5 and 70% for both Sonnet 4.5 and Opus 4.5. A separate 90-prompt probe decomposition gives a more pointed control: swapping only the probe's J-space component succeeds on 61% of trials, compared with 28% for the non-J-space component. When the relevant J-space coordinates are clamped, that 28% falls to 6%.
These results support a causal role for the manipulated coordinates in the tested tasks. They do not show that every reasoning step uses the J-space or that the named token direction is a complete account of the representation.
Flexible use and selectivity: Figures 18–24
The flexible-use experiment applies one source-to-target concept swap across multiple downstream functions. Across 192 trials, the target-appropriate answer reaches top one in 76 trials at standard strength and 101 trials at double strength. Success varies by concept category and is predicted by how strongly the source concept is loaded before intervention.
Selectivity tests separate flexible inference from more automatic processing. A language-coordinate swap changes explicit language reports and questions that require computing with the language, but leaves fluent continuation and local anomaly detection largely unchanged. Heavy ablation of the ten strongest J-lens directions drives controlled multi-hop accuracy near zero while leaving several classification, comparison, and extractive tasks near baseline.
Layer range and capacity: Figures 27–30
The study reports all layer numbers on a normalized 0–100 scale. Several measurements identify an approximate workspace-like range from L38 to L92; these endpoints are descriptive, not universal cutoffs. Before that band, coherent token readouts are weak; near the output, readouts become tied to the imminent token, which the paper calls the motor range. Within the middle band, median sparse occupancy plateaus around 25 J-lens vectors. The excess activation variance explained by the J-lens reconstruction over a same-size random-direction control never exceeds 10% in the reported measurement.
The authors caution that weak early readouts may partly reflect a limitation of the J-lens itself, and that the L92 transition into the output-linked motor range was selected somewhat post hoc.
This is evidence for a small, privileged component, not evidence that 90% of the activation is irrelevant. The non-J-space component carries most of the variance and supports substantial processing.
Common Confusions
An intervention result is not a mathematical theorem
Changing a model's output after a controlled activation intervention is strong evidence that the manipulated direction plays a causal role in that protocol. It is not the same kind of claim as a convergence proof. The percentages on this page are sample results for particular models, prompts, layer bands, and intervention rules. They can fail to transfer when those conditions change.
J-space is not the model's full reasoning state
At median occupancy, the reported J-lens reconstruction explains at most 10% excess activation variance over a same-size random-direction control. Some automatic computations continue when J-space coordinates are swapped or ablated. The method also reads token-aligned concepts more readily than multi-token relations, bindings, or features without a compact vocabulary name.
Workspace-like function is not evidence of subjective experience
The experiments test functional properties associated with global workspace accounts: report, directed modulation, flexible use, selectivity, and a form of broadcast across depth. The authors do not claim that a transformer reproduces the brain architecture proposed by global workspace theory. The results do not settle whether a language model has subjective experience.
Exercises
Problem
Ignore normalization and softmax in a two-dimensional synthetic example. Let have rows and , let , and let have rows , , and . Compute the three J-lens logits and rank the tokens. Then set to obtain the direct logit-lens logits. What changed?
Problem
In the 90-prompt probe experiment, the J-space component swap succeeds on 61% of trials. The non-J-space component succeeds on 28%, but falls to 6% when the relevant J-space coordinates are clamped to their clean values. What inference does this control support, and what does it not prove?
Scope and Limitations
The J-lens is restricted to concepts aligned with individual vocabulary tokens. Its readout is a flat list, so it does not directly represent how concepts are bound into relations. Some layer-position readouts remain hard to interpret. The mean Jacobian is also distribution-dependent: a corpus shift can change the average map, and context-specific effects may cancel under averaging.
The main experiments use proprietary model activations and reported protocols. The public article provides detailed methods, controls, and interactive figures, but this page has not independently replicated the numerical results. Treat the results as a well-documented experimental report awaiting broader replication, not as settled model-independent law.
References
- Gurnee, W., Sofroniew, N., Pearce, A., et al. "Verbalizable Representations Form a Global Workspace in Language Models." Transformer Circuits Thread, published July 6, 2026. Primary article.
- Gurnee et al. (2026), Methods, "The Jacobian Lens" and Figure 4 for , the readout equation, and lens-coordinate patching.
- Gurnee et al. (2026), "The J-space supports verbal report," Figures 6–8 for concept swaps, injection, the 88% top-five result, and component controls.
- Gurnee et al. (2026), "The J-space mediates internal reasoning," Figures 12–17 for the spider-to-ant example, two-hop trials, probe decomposition, and arithmetic intermediates.
- Gurnee et al. (2026), "The J-space supports flexible generalization," Figures 18–19 for cross-function concept swaps and the 76/192 and 101/192 results.
- Gurnee et al. (2026), "The J-space selectively mediates flexible but not automatic cognition," Figures 20–24 for task selectivity and J-space ablation.
- Gurnee et al. (2026), "The J-space's structure supports its function," Figures 27–30 for the normalized L38–L92 band, occupancy, and activation-variance measurements.
- Gurnee et al. (2026), Discussion, "Limitations and open questions" for token-vocabulary restrictions, missing relational structure, and inconsistent readouts.
- Belrose, N., Furman, Z., Smith, L., et al. "Eliciting Latent Predictions from Transformers with the Tuned Lens." arXiv:2303.08112. Comparison point for learned layer-wise vocabulary translators.
- Marks, S., Rager, C., Michaud, E. J., Belinkov, Y., Bau, D., Mueller, A. "Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Models." arXiv:2403.19647. Feature-level causal circuit analysis.
Last reviewed: July 13, 2026
Canonical graph
Required before and derived from this topic
These links come from prerequisite edges in the curriculum graph. Editorial suggestions are shown here only when the target page also cites this page as a prerequisite.
Required prerequisites
2- Mechanistic Interpretability: Features, Circuits, and Causal Faithfulnesslayer 4 · tier 1
- Residual Stream and Transformer Internalslayer 4 · tier 2
Derived topics
0No published topic currently declares this as a prerequisite.