Skip to main content
Back

Anthropic's Jacobian Lens Finally Gets a Mechanistic Explanation

A new theoretical paper proves Anthropic's Jacobian lens isolates slow, context-stable features that grow across layers, reframing what its 'workspace' really measures.

Pro

Paper, Full Access
  • New theory shows Anthropic's Jacobian lens isolates leading Lyapunov modes, not a mystical workspace.
  • J-lens prefers features with three traits: amplify across layers, slow across tokens, stable across contexts.
  • Validated on a Bayes filter and toy transformer trained on Hidden Markov Model tokens.
  • Introduces omega-J-lenses, a frequency-tuned family that targets features at chosen temporal scales.
  • Explains why Claude's J-lens surfaced 'concentrate on X' features: X is coherent across all positions.
  • Reframes Anthropic's global workspace claims as expected statistics of slow amplifying modes.

A new theory paper explains why Anthropic’s Jacobian lens isolates a small set of directions in language-model activations. The method favors features that strengthen across layers, change slowly across token positions, and behave consistently across prompts. The authors identify these directions with leading Lyapunov modes, the perturbation patterns most strongly preserved or amplified by the network’s layer-to-layer dynamics.

Anthropic’s original study described this low-dimensional subspace as a global workspace, borrowing a cognitive-science term for information shared across multiple processes. The new theory paper gives the observations a mechanistic explanation. A J-lens hit establishes dynamical coherence; claims about working memory or consciousness require additional evidence.

A derivative map, averaged

The residual stream is the running vector representation that each transformer block reads and updates at every token position. A direction in that space is a linear pattern of activation, such as a weighted combination of many neurons.

At source layer v and target layer t, the Jacobian lens computes the mean input-output Jacobian of the intervening layers across a corpus. A Jacobian is a matrix of local derivatives: each entry measures how a small change at the source affects the target. The lens then applies the model’s unembedding matrix, which converts the transported representation into token scores.

  • Logit lens: Applies the final unembedding directly to an intermediate activation.
  • Tuned lens: Learns a mapping from intermediate activations to output logits.
  • Jacobian lens: Uses the model’s averaged local derivatives without fitting a separate decoder.

Anthropic reported that the resulting “J-space” accounts for roughly 10% or less of activation variance and appears primarily in the network’s middle layers. The theoretical problem was to explain why averaging Jacobians selected those directions from the much larger residual stream.

Three ways a feature stays coherent

Three mathematical properties determine which directions survive the averaging process and receive large J-lens singular values:

Property Plain-English meaning Effect on the lens
Magnitude coherence A perturbation grows as it passes through successive layers. Expanding modes dominate decaying ones.
Lag coherence The direction changes slowly across token positions instead of oscillating rapidly. Persistent, low-frequency features receive more weight.
Context coherence The direction evolves similarly across different prompts. Stable singular directions reinforce one another when Jacobians are averaged.
Schematic comparing magnitude, lag, and context coherence
Magnitude, lag, and context coherence determine which activation directions the Jacobian lens emphasizes.

Features that satisfy all three conditions amplify through depth, persist across positions, and remain aligned across inputs. These are the leading Lyapunov modes of the layer-to-layer dynamics, meaning the perturbation patterns that the network most consistently preserves or enlarges.

Anthropic’s “concentrate on X while solving Y” experiment fits this account. The lens recovered features associated with X because the instruction remained active across many token positions, giving it strong lag coherence even while the model generated content about Y.

A sandbox with known answers

The authors test their predictions in a controlled setting where the relevant dynamics can be calculated exactly. A Hidden Markov Model emits tokens from several latent variables that rotate around rings at different angular velocities. An analytic Bayes filter and a small transformer independently learn to predict the next token.

Graphical models of the Hidden Markov Model task and analytic Bayes filter
The controlled task compares a closed-form Bayes filter with a transformer trained on the same token sequences.

The Bayes filter’s closed-form solution lets the researchers adjust one kind of coherence at a time and calculate the expected change in J-lens singular values.

Controlled parameter Coherence affected
Angular velocity Lag coherence
Key bias Context coherence
Decay factor Magnitude coherence

Those controlled changes predict when one latent variable should overtake another in the lens’s ranking. The independently trained transformer shows the same shifts, including a crossover near the analytically derived point.

Tune the lens by frequency

The standard Jacobian lens combines features operating at different temporal scales. The derivation yields a family of frequency-selective variants called ω-J-lenses, where ω specifies a target frequency. Each variant increases the weight assigned to directions whose lag coherence matches that frequency.

In the toy transformer, frequency tuning separates latent variables that rotate at different speeds. Low-frequency settings emphasize persistent context, while higher-frequency settings emphasize faster-changing information such as recent tokens.

Omega-J-lens weighting latent variables according to their temporal frequencies
Each ω-J-lens emphasizes latent variables whose temporal frequency matches its selected setting.

What a J-lens hit establishes

The theory gives interpretability researchers a narrower account of the lens’s output. A detected direction is likely to be slow, stable across contexts, and amplified through depth. Its semantic or cognitive role still requires causal tests and validation across held-out inputs.

  • Interpret hits as dynamical candidates. Large singular values identify coherent modes before they identify workspace contents.
  • Choose temporal scales deliberately. Frequency-tuned lenses can target persistent context or faster-changing features.
  • Expect systematic blind spots. Rapid, prompt-specific, or decaying features may remain hidden even when they affect model behavior.
  • Separate variance from influence. A feature can account for little activation variance while strongly shaping how perturbations propagate.

A low-variance, mid-layer subspace is therefore compatible with a network containing a few slow, amplifying modes. The analysis also supports concern that GPT-2 small’s performance on four proposed workspace tests may partly reflect overlap between the tests’ criteria and the lens’s built-in preferences.

Coherent features may still carry semantically important and causally useful information. The theory specifies why the method selects them and limits the conclusions that can be drawn from selection alone.

Evidence and open questions

The paper’s evidence comes from mathematical derivations, an analytic Bayes filter, and a small transformer trained on a synthetic Hidden Markov Model task. Broader tests across model families, scales, and real-world prompts remain necessary to establish how closely the predictions describe production language models.

The authors remain agnostic about the global-workspace interpretation. No code or model weights accompany the paper, so reproducing the experiments requires an independent implementation of the theory and synthetic benchmark.