Have Faith in Faithfulness: Going Beyond Circuit Overlap When Finding Model Mechanisms

Michael Hanna, Sandro Pezzelle, Yonatan Belinkov
3/26/2024
cs.LGcs.CL

No official code found. Best implementation: hannamw/EAP-IG (80 stars, MIT, last commit 2025-07-24). 1 more below.

Abstract

Many recent language model (LM) interpretability studies have adopted the circuits framework, which aims to find the minimal computational subgraph, or circuit, that explains LM behavior on a given task. Most studies determine which edges belong in a LM's circuit by performing causal interventions on each edge independently, but this scales poorly with model size. Edge attribution patching (EAP), gradient-based approximation to interventions, has emerged as a scalable but imperfect solution to this problem. In this paper, we introduce a new method - EAP with integrated gradients (EAP-IG) - that aims to better maintain a core property of circuits: faithfulness. A circuit is faithful if all model edges outside the circuit can be ablated without changing the model's performance on the task; faithfulness is what justifies studying circuits, rather than the full model. Our experiments demonstrate that circuits found using EAP are less faithful than those found using EAP-IG, even though both have high node overlap with circuits found previously using causal interventions. We conclude more generally that when using circuits to compare the mechanisms models use to solve tasks, faithfulness, not overlap, is what should be measured.

View on arXivView PDF

Code Implementations(2)

hannamw/EAP-IGCommunity100%
MIT
8020Python, Jupyter NotebookJan 15, 20241 years agoMIT

Code for "Automatic Circuit Finding and Faithfulness"

174PythonMar 23, 20242 years ago

Similar Papers

Cite this paper

@article{hanna2024have,
  title  = {Have Faith in Faithfulness: Going Beyond Circuit Overlap When Finding Model Mechanisms},
  author = {Michael Hanna and Sandro Pezzelle and Yonatan Belinkov},
  year   = {2024},
  eprint = {2403.17806},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.17806v2}
}

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

Discussion