---
title: 'Jacobian Scopes: Token-Level Causal Attribution'
url: https://www.emergentmind.com/topics/jacobian-scopes
type: topic
---

# Jacobian Scopes: Token-Level Causal Attribution

Jacobian Scopes constitute a rigorous framework for token-level causal attribution in neural models, particularly large language models (LLMs). The concept originates in modern interpretability research, where the objective is to quantify the degree to which each input token influences specific model outputs. Jacobian Scopes apply first-order differentiation of hidden states with respect to inputs to produce local, model-blind influence assignments. The methodology generalizes to a variety of output quantities—including specific logits, the probability distribution, and model confidence—through gradient projection. This article provides an authoritative, comprehensive synthesis of the state-of-the-art in Jacobian Scopes, spanning formal definitions, algorithmic methodology, empirical applications, and computational trade-offs [2601.16407].

## 1. Formal Definition and Preliminaries

Jacobian Scopes measure the sensitivity of a model's output, via its post-norm final hidden state $y$ to infinitesimal perturbations in each input token embedding $x_t \in \mathbb{R}^{d_\mathrm{model}}$. For an autoregressive LLM with output logits $z = W y$, vocabulary $V$, and final-layer hidden representation $y = h_L(x_{1:T})$, the token-wise Jacobian is
$$
J_t := \frac{\partial y}{\partial x_t} \in \mathbb{R}^{d_\mathrm{model} \times d_\mathrm{model}},
$$
where $t$ indexes input tokens.

A projection vector $v \in \mathbb{R}^{d_\mathrm{model}}$ encodes the output quantity of interest (e.g., a specific logit, model confidence, or full distribution geometry). The influence score for token $t$ is then
$$
\mathrm{Influence}_t := \| v^\top J_t \|_2,
$$
interpreted as the maximal first-order change in $v^\top y$ induced by a unit-norm perturbation to $x_t$.

This formulation is compelling because it provides exact, local attributions independently of internal model decompositions such as attention heads or circuit pathways.

## 2. Variants of Jacobian Scopes: Semantic, Fisher, and Temperature

Jacobian Scopes are instantiated via three principal variants, each differing in the choice of projection direction $v$ and the functional attributed.

**Semantic Scope:** Attributes influence to a specific target token $\tau$ by selecting $v = w_\tau$, the corresponding row of $W$. Thus, $v^\top y = z_\tau$, and $\mathrm{Influence}_t^\mathrm{sem} = \| w_\tau^\top J_t \|_2$. This variant isolates causal contributions to a single logit, requiring only one backward pass.

**Fisher Scope:** Attributes influence to the entire predictive distribution. The Fisher information geometry $F_u = W^\top [\operatorname{diag}(p) - p p^\top] W$ is pulled back through $J_t$ as $F_t = J_t^\top F_u J_t$, and influence is measured by $\mathrm{Influence}_t^\mathrm{fish} = \operatorname{tr}(F_t)$. Accurately computing $F_t$ requires $O(d_\mathrm{model})$ backward passes; efficient approximations are possible for scalability.

**Temperature Scope:** Attributes influence to model confidence, defined via inverse effective temperature $\beta_\mathrm{eff} = \|y\|_2$ and normalized direction $\hat{h} = y/\|y\|_2$. Then $v = \hat{h}$ and $\mathrm{Influence}_t^\mathrm{temp} = \| \hat{h}^\top J_t \|_2$. This variant approximates distribution-wide attribution at the computational cost of a single backward pass.

All variants are agnostic to architectural details, relying on global differentiability from outputs to inputs.

## 3. Algorithmic Procedures and Computational Complexity

Jacobian Scopes are implemented via automatic differentiation, typically in frameworks supporting full gradient backpropagation. The procedural template is as follows:

- For Semantic and Temperature Scopes, compute scalar loss (e.g., $L_\mathrm{sem} = z_\tau$, $L_\mathrm{temp} = \|y\|_2$), then backpropagate to $\partial L / \partial x_t$ for all $t$ in a single pass.
- For Fisher Scope, backpropagate for each orthogonal output direction to assemble the full $J_t$ tensor, then contract with $F_u$ to obtain $\operatorname{tr}(F_t)$ per token. This scales linearly with $d_\mathrm{model}$.

The optimization of this matrix chain product computation, particularly in programs consisting of many sequential differentiable subprograms, draws on the literature of scheduled Jacobian chaining. The dynamic programming heuristic elegantly balances serial and parallel computation to nearly match optimal schedules, with median cost ratios $\gtrsim 0.94$ for realistic chain lengths and machine counts [2505.06056].

## 4. Applications in Language Models: Attribution, Bias Detection, and Translation

Jacobian Scopes have been empirically validated in multiple contexts:
- **Instruction Understanding:** Attribution scores for model predictions such as "truthful" or "deceitful" in prompts sharply peak on pivotal tokens ("deceive," "argue").
- **Political Bias:** Scopes identify context tokens ("Columbia," "the South") as dominant drivers of logit predictions for "liberal" and "conservative," exposing training-set induced model biases.
- **Machine Translation:** Fisher Scopes yield token-to-token alignments, while Temperature Scopes reveal phrase-level regions of influence, consistent across semantic divergences.
- **In-Context Learning (ICL):** Applied to time-series forecasting, Scopes reveal the tendency of LLMs to attend to near-cutoff motifs or shift focus downstream for stochastic processes (Brownian motion).

These findings underscore the analytic power of token-level gradient-based attribution and its role in mechanistic interpretability.

## 5. Methodological Comparison: Advantages and Limitations

Jacobian Scopes contrast with prior interpretability techniques as follows:
- **Attention weights**: Not reliably causal; reflect distribution of computation, not influence.
- **Activation patching**: Mechanistic but interventional and computationally expensive.
- **Integrated Gradients**: Sensitive to out-of-distribution effects; may suffer "attention sink" artifacts.

Jacobian Scopes operate efficiently (O(1) for Semantic/Temperature, O($d_\mathrm{model}$) for Fisher), admit arbitrary projection directions, and are fully model-agnostic. However, they represent only local, first-order linearizations; nonlinear or nonlocal dependencies are not captured. They do not resolve layerwise/headwise mechanisms and are more computationally intensive than forward-only methods for large-scale analyses.

## 6. Extensions, Open Directions, and Impact

Potential extensions include:
- Spectral projection directions (e.g., top-k logit explanations).
- Scalable low-rank Fisher Scope approximations.
- Compositional attribution by integrating Jacobian Scopes with circuit-tracing or symbolic causal analysis.

These tools have substantial impact, enabling principled bias auditing, debugging of prompt influence, and detailed mechanism analysis in LLMs. A plausible implication is increased adoption for safety-critical model evaluation, interpretability benchmarking, and the development of robust user-facing systems.

The reference implementation and empirical benchmarks are available [2505.06056, 2601.16407], supporting reproducibility and further exploration.

Source: https://www.emergentmind.com/topics/jacobian-scopes