Jacobian Scopes: A Unified Geometric Framework for Token-Level LLM Attribution
Organizations: ∗Cornell University, USA · ‡Goodfire AI, USA · †Imperial College London, UK
Abstract
Large language models (LLMs) make next-token predictions based on clues present in their context, such as semantic descriptions and in-context examples. Yet, elucidating which prior tokens most strongly influence a given prediction remains challenging due to the proliferation of layers and attention heads in modern architectures. We propose Jacobian Scopes, a suite of gradient-based, token level causal attribution methods for interpreting LLM predictions. Grounded in perturbation theory and information geometry, Jacobian Scopes quantify how input tokens influence various aspects of a model's prediction, such as specific logits, the full predictive distribution, and model uncertainty (effective temperature). Through case studies spanning instruction understanding, translation, and in-context learning (ICL), we demonstrate how Jacobian Scopes reveal implicit political biases, uncover word- and phrase-level translation strategies, and shed light on recently debated mechanisms underlying in-context time-series forecasting. On token-ablation faithfulness benchmarks (LAMBADA and IWSLT2017) across six LLMs, the distribution-level Fisher and Temperature Scopes significantly outperform established gradient-based attribution methods in 10 of 12 model-dataset settings. To facilitate exploration of Jacobian Scopes on custom text, we open-source our implementations and provide a cloud-hosted interactive demo at https://huggingface.co/spaces/Typony/JacobianScopes.
Figures & tables
| 1B/1.5B-scale | ||||||
|---|---|---|---|---|---|---|
| LLaMA-3.2 1B | Qwen2.5-1.5B | Gemma-3 1B | ||||
| Method | LMB | IWS | LMB | IWS | LMB | IWS |
| Random | ||||||
| Integrated Grads | ||||||
| Input Grad | ||||||
| Semantic Scope | ||||||
| Semantic Scope | Fisher Scope | Temperature Scope | |
|---|---|---|---|
| Quantity explained | target logit | full distribution | confidence |
| Influence score | |||
| Recommended use case | semantic reasoning & bias analysis | NLP tasks with non-unique predictions | in-context learning on numerical data |
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
| 1B/1.5B-scale | ||||||
|---|---|---|---|---|---|---|
| LLaMA-3.2 1B | Qwen2.5-1.5B | Gemma-3 1B | ||||
| Method | LMB | IWS | LMB | IWS | LMB | IWS |
| Random | ||||||
| Integrated Grads | ||||||
| Input Grad | ||||||
| Semantic Scope | ||||||
| Model | Dataset | Scope | Baseline | Mean [95% CI] | |
|---|---|---|---|---|---|
| LLaMA-3.2 1B | LAMBADA | Fisher | Input Grad | ||
| LLaMA-3.2 1B | IWSLT | Temperature | IG | ||
| LLaMA-3.2 3B | LAMBADA | Fisher | Input Grad | ||
| LLaMA-3.2 3B | IWSLT | Fisher | Input Grad | ||
| Qwen2.5 1.5B | LAMBADA | Temperature | Input Grad | ||
| Qwen2.5 1.5B | IWSLT | Temperature | IG |
LLM Interpretability
Large language model (LLM) interpretability studies how internal representations and computations produce outputs, and how they can be explained or controlled.
See all 781 papers