Validating Mechanistic Interpretations: An Axiomatic Approach

Nils Palumbo, Ravi Mangal, Zifan Wang, Saranya Vijayakumar, Corina S. Pasareanu +1 more
7/18/2024
cs.LG

No official code found. Best implementation: nilspalumbo/axiomatic-validation (2 stars, MIT, last commit 2025-05-31).

Abstract

Mechanistic interpretability aims to reverse engineer the computation performed by a neural network in terms of its internal components. Although there is a growing body of research on mechanistic interpretation of neural networks, the notion of a mechanistic interpretation itself is often ad-hoc. Inspired by the notion of abstract interpretation from the program analysis literature that aims to develop approximate semantics for programs, we give a set of axioms that formally characterize a mechanistic interpretation as a description that approximately captures the semantics of the neural network under analysis in a compositional manner. We demonstrate the applicability of these axioms for validating mechanistic interpretations on an existing, well-known interpretability study as well as on a new case study involving a Transformer-based model trained to solve the well-known 2-SAT problem.

View on arXivView PDF

Code Implementations(1)

MIT

Implementation for "Validating Mechanistic Interpretations: An Axiomatic Approach"

20Python, Jupyter NotebookMay 31, 20251 years agoMIT

Cite this paper

@article{palumbo2024validating,
  title  = {Validating Mechanistic Interpretations: An Axiomatic Approach},
  author = {Nils Palumbo and Ravi Mangal and Zifan Wang and Saranya Vijayakumar and Corina S. Pasareanu and Somesh Jha},
  year   = {2024},
  eprint = {2407.13594},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.13594v2},
  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/2407.13594.svg)](https://codeofpaper.com/paper/2407.13594)

Discussion