Transcoders Find Interpretable LLM Feature Circuits

Jacob Dunefsky, Philippe Chlenski, Neel Nanda

arXiv:2406.11944 · 2026-07-27 공개 · arXiv · PDF

transformer sparse-autoencoders llm-interpretability faithfulness model-decomposition greater-than-circuit gpt2-small mlp-sublayers

Abstract

A key goal in mechanistic interpretability is circuit analysis: finding sparse subgraphs of models corresponding to specific behaviors or capabilities. However, MLP sublayers make fine-grained circuit analysis on transformer-based language models difficult. In particular, interpretable features -- such as those found by sparse autoencoders (SAEs) -- are typically linear combinations of extremely many neurons, each with its own nonlinearity to account for. Circuit analysis in this setting thus either yields intractably large circuits or fails to disentangle local and global behavior. To address this we explore transcoders, which seek to faithfully approximate a densely activating MLP layer with a wider, sparsely-activating MLP layer. We introduce a novel method for using transcoders to perform weights-based circuit analysis through MLP sublayers. The resulting circuits neatly factorize into input-dependent and input-invariant terms. We then successfully train transcoders on language models with 120M, 410M, and 1.4B parameters, and find them to perform at least on par with SAEs in terms of sparsity, faithfulness, and human-interpretability. Finally, we apply transcoders to reverse-engineer unknown circuits in the model, and we obtain novel insights regarding the"greater-than circuit"in GPT2-small. Our results suggest that transcoders can prove effective in decomposing model computations involving MLPs into interpretable circuits. Code is available at https://github.com/jacobdunefsky/transcoder_circuits/.

한국어 요약

한 줄 요약

Transcoders를 활용한 MLP 서브레이어 분석으로 GPT2-small의 "greater-than circuit"을 포함한 해석 가능한 LLM 회로를 발견한다.

핵심 기여도

핵심 아이디어

기존의 SAE는 MLP 레이어의 해석을 위해 여러 뉴런의 선형 결합을 사용하지만, 이는 비선형성과 해석의 복잡성을 증가시킨다. Transcoders는 MLP 레이어를 넓은 스파스 활성화 MLP로 근사화하여, 해석 가능한 회로를 추출하는 새로운 접근법이다. 이는 입력-불변 정보와 입력-의존 정보를 분리하여, 회로의 일반적 행동을 이해할 수 있게 한다. Transcoder는 ReLU 활성화 함수를 사용하는 단일 은닉층 MLP이며, L1 정규화를 통해 스파스성을 유도한다. 이 구조는 MLP 레이어의 출력을 희소한 특징 벡터의 선형 결합으로 근사화한다.

기술적 접근법

주요 결과

의의 및 한계

실용적 활용