paper-with-me

홈 › Papers

Investigating the Indirect Object Identification circuit in Mamba

2024-07-19 · Danielle Ensign, Adrià Garriga-Alonso

How well will current interpretability techniques generalize to future models? A relevant case study is Mamba, a recent recurrent architecture with scaling comparable to Transformers. We adapt pre-Mamba techniques to Mamba and partially reverse-engineer the circuit responsible for the Indirect Object Identification (IOI) task. Our techniques provide evidence that 1) Layer 39 is a key bottleneck, 2) Convolutions in layer 39 shift names one position forward, and 3) The name entities are stored linearly in Layer 39's SSM. Finally, we adapt an automatic circuit discovery tool, positional Edge Attribution Patching, to identify a Mamba IOI circuit. Our contributions provide initial evidence that circuit-based mechanistic interpretability tools work well for the Mamba architecture.

📄 PDF Abstract BibTeX arXiv:2407.14008

Code (1)

Phylliida/investigating-mamba-ioi 공식 구현

Tasks

MambaObjectPosition

Methods 이 논문이 사용한 방법론

Patching Activation patching studies the model's computation by altering its latent representations, the token embeddings in transformer-based language models, during the inference process
Mamba Foundation models, now powering most of the exciting applications in deep learning, are almost universally based on the Transformer architecture and its core attention module.…

Similar Papers 제목 키워드 기반

Emergence of Minimal Circuits for Indirect Object Identification in Attention-Only Transformers

2025-10-28 · Rabin Adhikari arxiv

Mechanistic interpretability aims to reverse-engineer large language models (LLMs) into human-understandable computational circuits. However, the complexity of pretrained models often obscures the minimal mechanisms requ…

From Indirect Object Identification to Syllogisms: Exploring Binary Mechanisms in Transformer Circuits

2025-08-22 · Karim Saraipour, Shichang Zhang arxiv

Transformer-based language models (LMs) can perform a wide range of tasks, and mechanistic interpretability (MI) aims to reverse engineer the components responsible for task completion to understand their behavior. Previ…

Logical Reasoning

Automatically Identifying Local and Global Circuits with Linear Computation Graphs

2024-05-22 · Xuyang Ge, Fukang Zhu, Wentao Shu, Junxuan Wang 외

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

IBCircuit: Towards Holistic Circuit Discovery with Information Bottleneck

2026-02-26 · Tian Bian, Yifan Niu, Chaohao Yuan, Chengzhi Piao 외 arxiv

Circuit discovery has recently attracted attention as a potential research direction to explain the non-trivial behaviors of language models. It aims to find the computational subgraphs, also known as circuits, within th…

Architecture, Not Scale: Circuit Localization in Large Language Models

2026-05-09 · Sohan Venkatesh arxiv

Mechanistic interpretability assumes that circuit analysis becomes harder as models scale. We challenge this assumption by showing that the attention architecture matters more than parameter count. Studying three circuit…