Hessian-Enhanced Token Attribution (HETA): Interpreting Autoregressive LLMs
About
Attribution methods seek to explain language model predictions by quantifying the contribution of input tokens to generated outputs. However, most existing techniques are designed for encoder-based architectures and rely on linear approximations that fail to capture the causal and semantic complexities of autoregressive generation in decoder-only models. To address these limitations, we propose Hessian-Enhanced Token Attribution (HETA), a novel attribution framework tailored for decoder-only language models. HETA combines three complementary components: a semantic transition vector that captures token-to-token influence across layers, Hessian-based sensitivity scores that model second-order effects, and KL divergence to measure information loss when tokens are masked. This unified design produces context-aware, causally faithful, and semantically grounded attributions. Additionally, we introduce a curated benchmark dataset for systematically evaluating attribution quality in generative settings. Empirical evaluations across multiple models and datasets demonstrate that HETA consistently outperforms existing methods in attribution faithfulness and alignment with human annotations, establishing a new standard for interpretability in autoregressive language models.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Faithfulness Evaluation | TellMeWhy | AUC π-Soft-NS2.25 | 67 | |
| Faithfulness Evaluation | WikiBio | AUC π-Soft-NS2.3 | 67 | |
| Attribution Alignment | Curated Attribution Dataset (NarrativeQA + SciQ) | DSA (Dependent Sentence Attribution)5.1 | 40 | |
| Attribution Faithfulness | LongRA | Soft-NC Score10.8 | 40 | |
| Causal Attribution | Causal and Downstream Robustness Ablation Suite Averaged over LLaMA-3.1 70B, Phi-3 14B, GPT-J 6B, Qwen2.5 3B | Causal Pass@586 | 14 | |
| Decoding Stability | Causal and Downstream Robustness Ablation Suite Averaged over 4 models | Decoding Δ%0.8 | 14 | |
| Fact Checking | Causal and Downstream Robustness Ablation Suite Averaged over 4 models | Fact EMΔ3.7 | 14 | |
| Span Extraction | Causal and Downstream Robustness Ablation Suite | Span F181 | 14 | |
| Tool Use | Causal and Downstream Robustness Ablation Suite Averaged over 4 models | Tool Hit@1Δ4.1 | 14 | |
| Attribution Faithfulness Evaluation | LongRA | MoRF44 | 6 |