跳到正文
arXiv cs.AI· Yousaf Raza, Muhammad Umair Haider, Hammad Rizwan, Hassan Sajjad, A. B. Siddique·· 3 天前AI 评分27

ARACD:自动角色感知的电路发现方法

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

AI 导读

一种名为 ARACD 的自动角色感知电路发现方法,能在单次优化中同时学习 token 角色和角色专属掩码,用学习的路由器分配潜在角色,无需角色标注或预定义模式。在两个语言模型和三个任务上,ARACD 的 token 加权剪枝率平均较标准剪枝提升节点 9.6 个百分点、边 2.8 个百分点,12 个设置中 10 个的 KL 散度更低。在间接宾语识别任务上,其剪枝率接近人工定义角色水平。

正文 · 原文

View PDF HTML (experimental)

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.
Subjects: Artificial Intelligence (cs.AI)
Cite as: arXiv:2612.03340 [cs.AI]
  (or arXiv:2612.03340v1 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2612.03340

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Yousaf Raza Mr [view email]
[v1] Wed, 2 Dec 2026 07:47:48 UTC (199 KB)

来源:arXiv cs.AI · arxiv.org