Same Component, Different Role: Automatic Role-Aware Circuit Discovery

Circuit discovery seeks sparse subcircuits that preserve a language model's behavior on a target task. Standard node and edge pruning learn one mask per component and apply it uniformly across token positions. As a result, components needed at only a few positions must be retained throughout the prompt, limiting sparsity. Existing position/role-aware methods instead rely on predefined token roles that must be specified before circuit discovery. We introduce automated role-aware circuit discovery (ARACD), a circuit discovery method that jointly learns token roles and role-specific masks in a single optimization. A learned router assigns tokens to latent roles using only the circuit discovery objective, without role annotations or a predefined schema. Across two language models and three tasks, ARACD increases the token-weighted pruning rate over standard pruning by 9.6 percentage points for nodes and 2.8 points for edges on average, with lower KL divergence in 10 of 12 settings. It prunes more than a fixed equal-spacing baseline in 11 of 12 settings. On indirect object identification, ARACD achieves pruning rates close to those of human-defined roles without role supervision. Our results show that learned roles concentrate circuit computation at a small set of task-relevant positions and improve localization without predefined roles.

Authors

Institutions

Publication Details

Journal
arXiv
Published
2026-12-02
DOI
https://doi.org/10.48550/arxiv.2612.03340
Primary Topic
Topic Modeling
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Same Component, Different Role: Automatic Role-Aware Circuit Discovery

Muhammad Umair Haider, Hammad Rizwan, A. B. Siddique, Hassan Sajjad et al.
arXiv
Topic Modeling
preprint

Same Component, Different Role: Automatic Role-Aware Circuit Discovery

Muhammad Umair Haider, Hammad Rizwan, A. B. Siddique, Hassan Sajjad, Yousaf Raza
preprint en

Abstract

Circuit discovery seeks sparse subcircuits that preserve a language model's behavior on a target task. Standard node and edge pruning learn one mask per component and apply it uniformly across token positions. As a result, components needed at only a few positions must be retained throughout the prompt, limiting sparsity. Existing position/role-aware methods instead rely on predefined token roles that must be specified before circuit discovery. We introduce automated role-aware circuit discovery (ARACD), a circuit discovery method that jointly learns token roles and role-specific masks in a single optimization. A learned router assigns tokens to latent roles using only the circuit discovery objective, without role annotations or a predefined schema. Across two language models and three tasks, ARACD increases the token-weighted pruning rate over standard pruning by 9.6 percentage points for nodes and 2.8 points for edges on average, with lower KL divergence in 10 of 12 settings. It prunes more than a fixed equal-spacing baseline in 11 of 12 settings. On indirect object identification, ARACD achieves pruning rates close to those of human-defined roles without role supervision. Our results show that learned roles concentrate circuit computation at a small set of task-relevant positions and improve localization without predefined roles.

arXiv
Dalhousie University (CA), University of Kentucky (US)
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon