TRANSMISSION // 2610.31955v2

What the Jacobian Lens Selects in Language Models

Source published

A preprint develops a theory for why the Jacobian lens can favor strong, coherent responses. Tests support its predictions in a Bayesian filter and a small synthetic-task transformer, while leaving real-world relevance uncertain.

AI-generated conceptual illustration for What the Jacobian Lens Selects in Language Models
AI-generated conceptual illustration; not documentary evidence.

The Jacobian lens connects intermediate states in a language model to later output scores by averaging Jacobians—the matrices that describe local changes—across contexts and token positions, then composing the result with the model’s unembedding. A new preprint proposes that this averaging favors certain coherent responses. Its controlled tests use synthetic tasks, so they do not establish how well the theory explains real-world language-model behavior.

A language model builds numerical representations, called hidden states, as it processes text. Interpretability “lenses” aim to make these states easier to inspect by connecting them to possible output words. The Jacobian lens, or J-lens, averages Jacobians from an intermediate residual-stream state to later states near the model’s output. It then composes that average with the unembedding, which maps internal values to vocabulary scores.

In A Mathematical Theory of the Jacobian Lens, Mitchell Ostrow, Daoyuan Qian, Toni Liu and Ila Fiete ask why this procedure might make some internal directions more visible than others. Their answer draws on dynamical-systems theory: under the paper’s assumptions, averaging tends to favor responses that are strong and coherent across token positions and contexts. The authors connect this behavior to finite-time Lyapunov modes, a way of describing how small perturbations grow or shrink over a limited number of steps.

Three factors in the theory

The researchers describe three properties that contribute to a direction’s strength in the averaged lens. Magnitude is its average response size, combining growth across layers with persistence across token lags. Lag coherence compares the size of the response averaged across token positions with the average size of responses at each position. A high value means less cancellation when responses are averaged; it does not mean the entire response is identical at every position. Context coherence similarly captures how consistently responses align across different contexts.

The paper’s account of averaging is conditional, not a universal rule that every varying response disappears. In its simplified analysis, context-specific responses are suppressed when they have limited overlap across contexts, while shared, coherent responses can remain prominent. A direction selected by the J-lens also need not account for much of the model’s overall activation variance: the properties that raise its lens strength do not by themselves imply high variance.

Tests with a hidden-state task

To test these predictions, the authors constructed a synthetic task based on a hidden Markov model (HMM). In an HMM, an underlying state changes over time but is only sometimes revealed. They compared an optimal Bayesian filter—which tracks beliefs about those hidden states—with a trained, two-layer decoder-only transformer. The transformer had a residual dimension of 128 and four attention heads per layer, and was trained to predict the task’s next tokens.

The researchers adjusted task parameters to vary the three factors. For lag coherence, for example, they changed how quickly a latent state moved around a ring of possible states. This is a manipulation in the synthetic task, not a general change to how information moves across positions in language. They also changed state persistence and how the interpretation of a state depended on a contextual key.

The Bayesian filter’s measured lens responses matched the theory’s predictions. The transformer’s feature rankings generally followed the predicted order, but not without exceptions: the lag-coherence ordering failed for one seed at the second layer. Context-coherence results were noisier, and the transformer compressed the range of coherence compared with the filter. The theory also predicted where the J-lens singular values for two latent states would cross as persistence changed. The filter matched that prediction; in the transformer, the crossing was approximate, with bias reported up to about 0.07 in persistence.

The authors also tested “ω-J-lenses,” a family that applies different frequency weightings when averaging over token lags. In the toy task, changing the frequency parameter selectively emphasized latent directions whose lag-coherence patterns aligned with it. This suggests a possible way to explore different temporal scales, but the demonstration does not establish that the method isolates particular kinds of information in real language-model tasks.

What remains uncertain

The paper offers a mathematical account under stated assumptions and tests it in controlled models. Its authors explicitly say their main limitation is that they study toy models, where task properties can be manipulated cleanly. They do not establish that the highlighted directions are working memory or a “global workspace”; they remain agnostic about whether the measured properties support that interpretation.

The paper also includes descriptive Jacobian analyses of four open-source language models and relates its theory to findings reported in earlier work. Those analyses and connections do not amount to validation of the theory on real-world model behavior. Further research is needed to determine how well the account carries over to larger models and less controlled tasks.

This article is based on an arXiv preprint, which may not have been peer reviewed. The results are best read as a proposed theoretical explanation, supported by mathematical analysis and synthetic experiments—not as a settled account of what language models represent.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • An AI assistant’s internal persona shifts across languages

    Shared method: Both papers use the Jacobian lens: the origin paper analyzes the properties of its averaged Jacobian, while Yoo et al. use J-lens vectors to inspect language-specific assistant-axis directions. This is a shared analysis tool, not evidence that the papers test the same claim; the persona study focuses mainly on Qwen3-32B.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2610.31955v2 — Original paper

      Excerpt reference: static/papers/2610.31955v2.md:87-251
      Basis: Paper text
      Source SHA-256: 6b95c1c15a62bb03d1148658099f344d1da73e5466a82b991ac1195d1d86262c

    • 2611.27504v1 — Original paper

      Excerpt reference: static/papers/2611.27504v1.md:365-538
      Basis: Paper text
      Source SHA-256: 733d663d2f991e22fc2c6711d24c1855dfa450b92bb9df489ddfc0c8ade552a6

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.