paper-with-me

홈 › Papers

Attribution Patching Outperforms Automated Circuit Discovery

2023-10-16 · Aaquib Syed, Can Rager, Arthur Conmy

Automated interpretability research has recently attracted attention as a potential research direction that could scale explanations of neural network behavior to large models. Existing automated circuit discovery work applies activation patching to identify subnetworks responsible for solving specific tasks (circuits). In this work, we show that a simple method based on attribution patching outperforms all existing methods while requiring just two forward passes and a backward pass. We apply a linear approximation to activation patching to estimate the importance of each edge in the computational subgraph. Using this approximation, we prune the least important edges of the network. We survey the performance and limitations of this method, finding that averaged over all tasks our method has greater AUC from circuit recovery than other methods.

📄 PDF Abstract BibTeX arXiv:2310.10348

Code (5)

aaquib111/acdcpp 공식 구현 jax
FlyingPumba/circuits-benchmark jax
flyingpumba/interpbench jax
hannamw/eap-ig pytorch
technion-cs-nlp/peap jax

Similar Papers 제목 키워드 기반

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…

Position-aware Automatic Circuit Discovery

2025-02-07 · Tal Haklay, Hadas Orgad, David Bau, Aaron Mueller 외

A widely used strategy to discover and understand language model mechanisms is circuit analysis. A circuit is a minimal subgraph of a model's computation graph that executes a specific task. We identify a gap in existing…

Language ModelingLanguage ModellingPosition

EAP-GP: Mitigating Saturation Effect in Gradient-based Automated Circuit Identification

2025-02-07 · Lin Zhang, Wenshuo Dong, Zhuoran Zhang, Shu Yang 외

Understanding the internal mechanisms of transformer-based language models remains challenging. Mechanistic interpretability based on circuit discovery aims to reverse engineer neural networks by analyzing their internal…

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 pat…

Computational Efficiency

PAHQ: Accelerating Automated Circuit Discovery through Mixed-Precision Inference Optimization

2025-10-27 · Xinhai Wang, Shu Yang, Liangyu Wang, Lin Zhang 외 arxiv

Circuit discovery, which involves identifying sparse and task-relevant subnetworks in pre-trained language models, is a cornerstone of mechanistic interpretability. Automated Circuit Discovery (ACDC) has emerged as a piv…