Automatically Identifying Local and Global Circuits with Linear Computation Graphs
Abstract
Circuit analysis of any certain model behavior is a central task in mechanistic interpretability. We introduce our circuit discovery pipeline with sparse autoencoders (SAEs) and a variant called transcoders. With these two modules inserted into the model, the model's computation graph with respect to OV and MLP circuits becomes strictly linear. Our methods do not require linear approximation to compute the causal effect of each node. This fine-grained graph identifies end-to-end and local circuits accounting for either logits or intermediate features. We can scalably apply this pipeline with a technique called Hierarchical Attribution. We analyze three kinds of circuits in GPT2-Small, namely bracket, induction, and Indirect Object Identification circuits. Our results reveal new findings underlying existing discoveries.
Cite
Text
Ge et al. "Automatically Identifying Local and Global Circuits with Linear Computation Graphs." ICML 2024 Workshops: MI, 2024.Markdown
[Ge et al. "Automatically Identifying Local and Global Circuits with Linear Computation Graphs." ICML 2024 Workshops: MI, 2024.](https://mlanthology.org/icmlw/2024/ge2024icmlw-automatically/)BibTeX
@inproceedings{ge2024icmlw-automatically,
title = {{Automatically Identifying Local and Global Circuits with Linear Computation Graphs}},
author = {Ge, Xuyang and Zhu, Fukang and Shu, Wentao and Wang, Junxuan and He, Zhengfu and Qiu, Xipeng},
booktitle = {ICML 2024 Workshops: MI},
year = {2024},
url = {https://mlanthology.org/icmlw/2024/ge2024icmlw-automatically/}
}