Decompose the model: Mechanistic interpretability in image models with Generalized Integrated Gradients (GIG)

Yearim Kim, Sangyu Han, Sangbum Han, Nojun Kwak
9/3/2024
cs.CVcs.AI

No confident code implementation found for this paper.

Abstract

In the field of eXplainable AI (XAI) in language models, the progression from local explanations of individual decisions to global explanations with high-level concepts has laid the groundwork for mechanistic interpretability, which aims to decode the exact operations. However, this paradigm has not been adequately explored in image models, where existing methods have primarily focused on class-specific interpretations. This paper introduces a novel approach to systematically trace the entire pathway from input through all intermediate layers to the final output within the whole dataset. We utilize Pointwise Feature Vectors (PFVs) and Effective Receptive Fields (ERFs) to decompose model embeddings into interpretable Concept Vectors. Then, we calculate the relevance between concept vectors with our Generalized Integrated Gradients (GIG), enabling a comprehensive, dataset-wide analysis of model behavior. We validate our method of concept extraction and concept attribution in both qualitative and quantitative evaluations. Our approach advances the understanding of semantic significance within image models, offering a holistic view of their operational mechanics.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{kim2024decompose,
  title  = {Decompose the model: Mechanistic interpretability in image models with Generalized Integrated Gradients (GIG)},
  author = {Yearim Kim and Sangyu Han and Sangbum Han and Nojun Kwak},
  year   = {2024},
  eprint = {2409.01610},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.01610v1}
}

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/2409.01610.svg)](https://codeofpaper.com/paper/2409.01610)

Discussion