paper-with-me

홈 › Papers

RelP: Faithful and Efficient Circuit Discovery in Language Models via Relevance Patching

2025-08-28 · Farnoush Rezaei Jafari, Oliver Eberle, Ashkan Khakzar, Neel Nanda arxiv

Activation patching is a standard method in mechanistic interpretability for localizing the components of a model responsible for specific behaviors, but it is computationally expensive to apply at scale. Attribution patching offers a faster, gradient-based approximation, yet suffers from noise and reduced reliability in deep, highly non-linear networks. In this work, we introduce Relevance Patching (RelP), which replaces the local gradients in attribution patching with propagation coefficients derived from Layer-wise Relevance Propagation (LRP). LRP propagates the network's output backward through the layers, redistributing relevance to lower-level components according to local propagation rules that ensure properties such as relevance conservation or improved signal-to-noise ratio. Like attribution patching, RelP requires only two forward passes and one backward pass, maintaining computational efficiency while improving faithfulness. We validate RelP across a range of models and tasks, showing that it more accurately approximates activation patching than standard attribution patching, particularly when analyzing residual stream and MLP outputs in the Indirect Object Identification (IOI) task. For instance, for MLP outputs in GPT-2 Large, attribution patching achieves a Pearson correlation of 0.006, whereas RelP reaches 0.956, highlighting the improvement offered by RelP. Additionally, we compare the faithfulness of sparse feature circuits identified by RelP and Integrated Gradients (IG), showing that RelP achieves comparable faithfulness without the extra computational cost associated with IG.

📄 PDF Abstract BibTeX arXiv:2508.21258

Code (0)

등록된 구현이 없습니다.

Tasks

Computational Efficiency

Similar Papers 제목 키워드 기반

Beyond Transfer Accuracy: Faithful Circuits for Controlled Low-Resource Adaptation

2026-01-13 · Khumaisa Nur'aini, Ayu Purwarianti, Alham Fikri Aji, Derry Wijaya arxiv

Existing circuit discovery methods rely on templated tasks with clean counterfactuals, limiting their use on diverse natural text. We adapt Contextual Decomposition for Transformers (CD-T) for unstructured settings via l…

Data-driven Circuit Discovery for Interpretability of Language Models

2026-05-09 · Daking Rai, Mor Geva, Ziyu Yao arxiv

Circuit discovery aims to explain how language models (LMs) implement a specific task by localizing and interpreting a circuit, a computational subgraph responsible for the LM's behavior. Existing circuit discovery metho…

Pando: Do Interpretability Methods Work When Models Won't Explain Themselves?

2026-04-13 · Ziqian Zhong, Aashiq Muhamed, Mona T. Diab, Virginia Smith 외 arxiv

Mechanistic interpretability is often motivated for alignment auditing, where a model's verbal explanations can be absent, incomplete, or misleading. Yet many evaluations do not control whether black-box prompting alone …

Discovering Transformer Circuits via a Hybrid Attribution and Pruning Framework

2025-09-28 · Hao Gu, Vibhas Nair, Amrithaa Ashok Kumar, Jayvart Sharma 외 arxiv

Interpreting language models often involves circuit analysis, which aims to identify sparse subnetworks, or circuits, that accomplish specific tasks. Existing circuit discovery algorithms face a fundamental trade-off: at…

Functional Faithfulness in the Wild: Circuit Discovery with Differentiable Computation Graph Pruning

2024-07-04 · Lei Yu, Jingcheng Niu, Zining Zhu, Gerald Penn

In this paper, we introduce a comprehensive reformulation of the task known as Circuit Discovery, along with DiscoGP, a novel and effective algorithm based on differentiable masking for discovering circuits. Circuit disc…