Linear Explanations for Individual Neurons

Tuomas Oikarinen, Tsui-Wei Weng
5/10/2024
cs.LGcs.CV

No official code found. Best implementation: Trustworthy-ML-Lab/Linear-Explanations (14 stars, last commit 2025-05-02).

Abstract

In recent years many methods have been developed to understand the internal workings of neural networks, often by describing the function of individual neurons in the model. However, these methods typically only focus on explaining the very highest activations of a neuron. In this paper we show this is not sufficient, and that the highest activation range is only responsible for a very small percentage of the neuron's causal effect. In addition, inputs causing lower activations are often very different and can't be reliably predicted by only looking at high activations. We propose that neurons should instead be understood as a linear combination of concepts, and develop an efficient method for producing these linear explanations. In addition, we show how to automatically evaluate description quality using simulation, i.e. predicting neuron activations on unseen inputs in vision setting.

View on arXivView PDF

Code Implementations(1)

[ICML 24] A novel automated neuron explanation framework that can accurately describe poly-semantic concepts in deep neural networks

140Shell, PythonMar 6, 20241 years ago
computer-visiondeep-learninginterpretable-machine-learningmechanistic-interpretability

Similar Papers

Cite this paper

@article{oikarinen2024linear,
  title  = {Linear Explanations for Individual Neurons},
  author = {Tuomas Oikarinen and Tsui-Wei Weng},
  year   = {2024},
  eprint = {2405.06855},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.06855v1},
  journal = {ICML 2024 2024}
}

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

Discussion