ExPLAIND: Unifying Model, Data, and Training Attribution to Study Model Behavior

Florian Eichin, Yupei Du, Philipp Mondorf, Maria Matveev, Barbara Plank +1 more
5/26/2025
cs.LG

No official code found. Best implementation: mainlp/explaind (9 stars, MIT, last commit 2025-09-30).

Abstract

Post-hoc interpretability methods typically attribute a model's behavior to its components, data, or training trajectory in isolation. This leads to explanations that lack a unified view and may miss key interactions. While combining existing methods or applying them at different training stages offers broader insights, such approaches usually lack theoretical support. In this work, we present ExPLAIND, a unified framework that integrates all these perspectives. First, we generalize recent work on gradient path kernels, which reformulate models trained by gradient descent as a kernel machine, to realistic settings like AdamW. We empirically validate that a CNN and a Transformer are accurately replicated by this reformulation. Second, we derive novel parameter- and step-wise influence scores from the kernel feature maps. Their effectiveness for parameter pruning is comparable to existing methods, demonstrating their value for model component attribution. Finally, jointly interpreting model components and data over the training process, we leverage ExPLAIND to analyze a Transformer that exhibits Grokking. Our findings support previously proposed stages of Grokking, while refining the final phase as one of alignment of input embeddings and final layers around a representation pipeline learned after the memorization phase. Overall, ExPLAIND provides a theoretically grounded, unified framework to interpret model behavior and training dynamics.

View on arXivView PDF

Code Implementations(1)

mainlp/explaindCommunity100%
MIT

A unified framework for attributing model components, data, and training dynamics to model behavior.

90PythonMay 21, 20251 years agoMIT
data-attributionexplainabilityinterpretabilitykernel-machinesmodel-attribution+2 more

Similar Papers

Cite this paper

@article{eichin2025explaind,
  title  = {ExPLAIND: Unifying Model, Data, and Training Attribution to Study Model Behavior},
  author = {Florian Eichin and Yupei Du and Philipp Mondorf and Maria Matveev and Barbara Plank and Michael A. Hedderich},
  year   = {2025},
  eprint = {2505.20076},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.20076v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.20076.svg)](https://codeofpaper.com/paper/2505.20076)

Discussion