NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

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

Michael Hanna, Sandro Pezzelle, Yonatan Belinkov

TL;DR

This paper introduces EAP-IG, a new method for finding interpretable "circuits" in language models that are more faithful to the model's behavior than existing methods. The authors demonstrate that faithfulness, not just structural overlap with known circuits, is the crucial metric for evaluating circuit-finding techniques, as overlap alone can be misleading.

What Problem Does This Paper Address?

Interpreting large language models (LLMs) often involves identifying "circuits" – minimal sets of computational components (like attention heads or MLPs) and their connections (edges) that explain specific model behaviors. A key property of these circuits is faithfulness: if you remove all parts of the model outside the circuit, the model's behavior on the task should remain unchanged. This faithfulness is what makes studying circuits valuable, rather than the entire model.

Traditionally, finding these circuits involves costly causal interventions on individual edges. To scale this to massive LLMs, a technique called Edge Attribution Patching (EAP) was developed. EAP approximates intervention effects using gradients, making it much faster. However, the authors question whether EAP circuits are truly faithful. They also observe that many studies use "overlap" (how much a found circuit matches a known, manually-identified circuit) as a proxy for quality. This paper aims to:

  1. Propose a new method (EAP-IG) that improves circuit faithfulness.
  2. Empirically evaluate the faithfulness of EAP, EAP-IG, and other methods.
  3. Investigate the relationship between overlap and faithfulness, and show why overlap is an insufficient metric on its own.

Methods

The core contribution is EAP with Integrated Gradients (EAP-IG). This method builds upon EAP by incorporating the Integrated Gradients (IG) technique. IG is designed to address a problem in gradient-based attribution methods: zero gradients. If a model's internal activation has a zero gradient at a specific point, it won't contribute to the attribution, even if it's important. IG solves this by accumulating gradients along a path between a baseline input and the actual input, ensuring that important features are captured.

EAP-IG applies this IG concept to edge scoring. Instead of just looking at the gradient at the "clean" activation, it considers gradients at intermediate points between the clean and corrupted activations. This allows EAP-IG to better estimate the true impact of intervening on an edge, leading to more faithful circuits.

The paper also uses activation patching as a "ground truth" for evaluating EAP and EAP-IG. Activation patching involves directly intervening on edge activations during a forward pass and observing the effect on the model's output. While more accurate, it's computationally expensive and thus not scalable for finding circuits in large models.

Datasets

The experiments were conducted on several standard NLP tasks, using GPT-2 small as the primary model. The tasks include:

  • Indirect Object Identification (IOI): Identifying the indirect object in a sentence.
  • Gender-Bias: Detecting gender bias in pronoun prediction.
  • Greater-Than: Determining if a year is greater than another.
  • Capital-Country: Associating a capital city with its country.
  • Subject-Verb Agreement (SVA): Ensuring verb agreement with the subject.
  • Hypernymy: Identifying a superordinate category for a given word.

The paper also introduces variants of the Greater-Than task (Price, Sequence) and a reversed Capital-Country task (Country-Capital) for cross-task analysis.

Key Insights and Ideas

  • Faithfulness is King, Overlap is a Deceiver: The most crucial takeaway is that measuring circuit overlap with known circuits is a poor proxy for how well a circuit actually explains model behavior. Circuits with high overlap can be unfaithful, and vice-versa. Faithfulness is the true measure of a circuit's quality.
  • EAP-IG: A More Faithful Circuit Finder: The proposed EAP-IG method consistently finds more faithful circuits than the standard EAP method, even when both methods have similar structural overlap with reference circuits.
  • Integrated Gradients Matter for Circuit Finding: The success of EAP-IG highlights that techniques designed to overcome gradient issues (like Integrated Gradients) are valuable not just for input attribution but also for identifying important internal model components.
  • Overlap is Not a Predictor of Cross-Task Faithfulness (Especially at Moderate Overlap): While perfect overlap might suggest perfect faithfulness (and zero overlap, zero faithfulness), moderate overlap doesn't reliably predict faithfulness across different tasks. This suggests that which components overlap is more important than how many overlap.

Key Results

  • EAP-IG Outperforms EAP in Faithfulness: Across multiple tasks, circuits found using EAP-IG consistently achieved higher faithfulness scores than those found using EAP. For example, on the SVA task, EAP found a completely unfaithful circuit until a very large number of edges were included, while EAP-IG performed well much earlier.
  • Activation Patching Circuits are Highly Faithful (But Costly): As expected, circuits derived from direct activation patching (the "ground truth") generally showed the highest faithfulness, confirming that EAP-IG is a good approximation but not a perfect replacement for the expensive method.
  • Overlap Doesn't Guarantee Faithfulness: The paper provides strong evidence that high node/edge overlap with reference circuits does not guarantee high faithfulness. For instance, on the SVA task, EAP circuits had high overlap with activation patching circuits but much lower faithfulness.
  • EAP-IG Requires Few Steps: The EAP-IG method achieves high faithfulness with a small number of integrated gradient steps (as few as 5), making it computationally feasible.

Limitations and Future Work

  • Faithfulness Measurement is Costly: While EAP-IG makes circuit finding more efficient, evaluating faithfulness still requires interventions, which can be computationally intensive, especially for very large circuits. The authors suggest developing more efficient faithfulness computation methods.
  • Completeness is Hard to Measure: The paper focuses on faithfulness, but acknowledges that circuits should also be complete (i.e., not missing crucial components, even those that might negatively impact performance). Testing completeness is challenging and an open question.
  • Overlap vs. Faithfulness Nuances: While overlap is generally a poor predictor of faithfulness, the paper notes that specific edges (like the one from input embeddings to MLP 0) can be disproportionately important. Future work could explore more sophisticated overlap metrics that account for edge importance.
  • Cross-Task Faithfulness: The study explored cross-task faithfulness, finding that while some relationships exist (e.g., between variants of the "Greater-Than" task), it's not a simple story. More research is needed to understand how circuits generalize across tasks.
  • Larger Models: The authors replicated their findings on larger models (GPT-2 XL, Pythia-2.8B), confirming EAP-IG's utility. However, computational constraints limited the depth of analysis in these larger models.

Summary updated

BibTeX
@inproceedings{hanna2024have,
  author = {Michael Hanna and Sandro Pezzelle and Yonatan Belinkov},
  title = {{Have Faith in Faithfulness: Going Beyond Circuit Overlap When Finding Model Mechanisms}},
  booktitle = {COLM},
  year = {2024},
  url = {https://openreview.net/forum?id=TZ0CCGDcuT},
}
Figure