arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.18474cs.CLcs.AI
收藏

WASD:定位关键神经元作为解释和控制大语言模型行为的充分条件

WASD: Locating Critical Neurons as Sufficient Conditions for Explaining and Controlling LLM Behavior

Key Lab of High Confidence Software Technologies (Peking University), Ministry of Education(高可信软件技术教育部重点实验室(北京大学));School of Computer Science, Peking University(北京大学计算机学院)

Haonan Yu, Junhao Liu, Zhenyu Yan, Haoran Lin, Xin Zhang

AI总结:

WASD通过识别生成token的神经条件,提供更稳定准确的解释,并通过案例验证了控制模型行为的有效性。

摘要:

精确控制大语言模型(LLMs)行为对于复杂应用至关重要。然而,现有方法往往训练成本高、缺乏自然语言可控性或牺牲语义连贯性。为弥合这一差距,我们提出了WASD(unWeaving Actionable Sufficient Directives),一种新的框架,通过识别生成token的充分神经条件来解释模型行为。我们的方法将候选条件表示为神经元激活谓词,并迭代搜索保证当前输出的最小集合,在输入扰动下。在SST-2和CounterFact上使用Gemma-2-2B模型的实验表明,我们的方法产生的解释比传统归因图更稳定、准确且简洁。此外,通过控制跨语言输出生成的案例研究,我们验证了WASD在控制模型行为方面的实际有效性。

英文摘要:

Precise behavioral control of large language models (LLMs) is critical for complex applications. However, existing methods often incur high training costs, lack natural language controllability, or compromise semantic coherence. To bridge this gap, we propose WASD (unWeaving Actionable Sufficient Directives), a novel framework that explains model behavior by identifying sufficient neural conditions for token generation. Our method represents candidate conditions as neuron-activation predicates and iteratively searches for a minimal set that guarantees the current output under input perturbations. Experiments on SST-2 and CounterFact with the Gemma-2-2B model demonstrate that our approach produces explanations that are more stable, accurate, and concise than conventional attribution graphs. Moreover, through a case study on controlling cross-lingual output generation, we validated the practical effectiveness of WASD in controlling model behavior.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑