Automatically Identifying Local and Global Circuits with Linear Computation Graphs
Xuyang Ge, Fukang Zhu, Wentao Shu, Junxuan Wang, Zhengfu He, Xipeng, Qiu

TL;DR
This paper presents a novel pipeline using Sparse Autoencoders and Transcoders to identify local and global circuits in neural networks through linear computation graphs, enabling detailed mechanistic interpretability without linear approximation.
Contribution
Introduces a new circuit discovery pipeline with SAEs and Transcoders that produces strictly linear computation graphs for neural models, enhancing interpretability.
Findings
Analyzed GPT-2 Small circuits including bracket, induction, and indirect object identification.
Revealed new insights underlying existing circuit discoveries.
Demonstrated scalable application with Hierarchical Attribution.
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 both 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 GPT-2 Small: bracket, induction, and Indirect Object Identification circuits. Our results reveal new findings underlying existing discoveries.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLow-power high-performance VLSI design · Quantum Computing Algorithms and Architecture · VLSI and FPGA Design Techniques
MethodsRefunds@Expedia|||How do I get a full refund from Expedia? · Attention Is All You Need · Cosine Annealing · Linear Layer · Softmax · Discriminative Fine-Tuning · Attention Dropout · Dense Connections · Linear Warmup With Cosine Annealing · Multi-Head Attention
