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.
Introduction: The Faithfulness Gap
In mechanistic interpretability, researchers seek to reverse-engineer "circuits"—specific subgraphs of neurons and connections (edges) responsible for behaviors like Indirect Object Identification or Subject-Verb Agreement. The gold standard for identifying these circuits is causal intervention (patching), where connections are manually broken to observe the effect on performance. However, for large models, this process is computationally prohibitive.
To scale these efforts, researchers often use Edge Attribution Patching (EAP), a fast gradient-based approximation. Traditionally, EAP is validated by measuring its "overlap" with known, human-discovered circuits. This paper argues that overlap is a deceptive metric. A circuit can share 90% of its nodes with a "correct" circuit but have zero faithfulness—meaning it cannot actually perform the task when isolated—because it misses a few critical, "load-bearing" edges.
Methods: EAP with Integrated Gradients (EAP-IG)
The authors propose EAP-IG, which addresses a fundamental flaw in standard EAP: the "zero gradient" trap. Standard EAP calculates gradients at a single point (the "clean" input). If the model's loss function is locally flat at that point—as is common with GELU activation functions—EAP may incorrectly assign zero importance to a vital edge.
EAP-IG borrows Integrated Gradients from computer vision, calculating gradients at multiple points along a path between a "corrupted" input and a "clean" input. This allows the method to "see" the functional importance of edges that standard EAP misses. Additionally, the authors employ a greedy search algorithm that works backward from the output to ensure the discovered circuit is a connected, functional subgraph.
Key Insights: Why Overlap Fails
The danger of relying on overlap is most apparent in the Subject-Verb Agreement (SVA) task. Standard EAP identifies circuits with high node overlap but zero faithfulness because it misses the crucial connection between input embeddings and the initial MLP layer.
The paper demonstrates that model mechanisms often operate in regions where gradients are flat near the final prediction. By integrating gradients, EAP-IG captures these non-linearities. Furthermore, the researchers found that faithfulness is asymmetric: a large, general circuit (like one for Hypernymy) might be faithful to a simpler task (like Capital-Country), but the reverse is rarely true.
Results and Scaling
EAP-IG consistently outperforms standard EAP in faithfulness across six diverse linguistic tasks. In the Capital-Country task, EAP-IG was approximately 20% more faithful than EAP at equivalent circuit sizes. These results held steady as the researchers scaled from GPT-2 Small (124M parameters) to Pythia-2.8B, suggesting that EAP-IG is a robust tool for modern, large-scale models. Notably, EAP-IG only requires about 5 integration steps to achieve high performance, making it only 5x slower than EAP but still orders of magnitude faster than manual intervention.
Conclusion
The findings suggest a paradigm shift in how we evaluate interpretability methods. Instead of focusing on how well a method's output matches a human-curated list of nodes (overlap), we should prioritize faithfulness—the ability of the discovered subgraph to independently perform the task. EAP-IG provides a scalable, efficient path toward finding these truly functional model mechanisms.
Summary updated