Jacobian Scopes: A Unified Geometric Framework for Token-Level LLM Attributions
Toni Liu, Baran Zadeoğlu, Nicolas Boulle, Raphaël Sarfati, Gurbir Arora, Christopher Earls
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Interpretability & Model Adaptation › Transformer Interpretability · Type: new method · Keywords: LLM attribution, Jacobian projection, distributional explanations, information geometry, token-level interpretability
Areas: LLM Reasoning › Reasoning Mechanisms › Chain-of-Thought Reasoning; Interpretability › Mechanistic Interpretability › Attribution and Interpretability
Summary
Jacobian Scopes is a unified geometric framework that projects the input-to-output Jacobian onto different output directions to provide token-level attributions for the full predictive distribution of LLMs.
Explained to a 5-year-old
Big computer programs called language models guess what word comes next. We want to know which words they think are important for their guesses. Old ways only looked at one guess at a time. This new idea looks at all possible guesses at once. It helps us see which words make the program unsure or confident.
Explained to a 5-year-old, longer
Imagine a chatbot that tries to write a story. It looks at each word you type and decides what comes next. Sometimes we want to know why it chose a certain word. The usual way only checks one word's importance at a time. This new method checks many possible endings all at once. It can see which words make the chatbot uncertain about its answer. It can also see which words affect how confident the chatbot feels. By looking at the whole set of possible answers, we can find hidden biases or strange patterns. For example, it might reveal that the chatbot prefers certain topics without us noticing. It can also show which phrases are used for translating languages. And it can uncover how the chatbot copies patterns it saw before. All of this helps us make the chatbot more trustworthy and easier to understand.
For a technical reader
The paper introduces a way to attribute each input token to the entire output distribution of a language model, not just a single predicted token. It does this by computing a single vector-Jacobian product that projects the model’s Jacobian onto different directions in output space. This yields three practical attribution variants: one for a specific logit, one for how the distribution shape changes, and one for the model’s predictive confidence. The method achieves comparable or better results than existing gradient-based techniques while using far less computational cost.
Problem
Current gradient-based attribution methods for LLMs only explain scalar outputs like a single token’s logit, ignoring the full predictive distribution. This limits understanding of which tokens affect model uncertainty and broader continuation patterns.
Method
The approach projects the input-to-output Jacobian onto selected directions in output space using a single vector-Jacobian product, enabling attribution for specific logits, distribution shape, and predictive confidence in one backward pass.
Results
The approach matches or exceeds the performance of Input × Gradient and Integrated Gradients while requiring far less computation.
Contributions
It provides a unified geometric framework for token-level attribution that works on the full predictive distribution, offering three complementary ways to attribute specific logits, distribution shape, and predictive confidence.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction