可解释性引导的子空间投影层选择:SAE作为听诊器而非手术刀用于原始任务向量模型编辑
Interpretability-Guided Layer Selection over Subspace Projection: SAEs as Stethoscopes, Not Scalpels, for Raw Task Vector Model Editing
AI总结:
本文发现将任务向量投影到稀疏自编码器(SAE)特征子空间会丢弃约97%的修改能量,导致无效编辑;提出将SAE用于层诊断而非干预过滤,通过SAE特异性分数选择层注入原始任务向量,在数学推理任务上显著提升性能。
摘要:
大型语言模型越来越需要精细的模型编辑来增强领域特定能力,而无需承担全微调带来的计算成本或灾难性遗忘。稀疏自编码器(SAE)在此背景下成为一种有前景的工具,原则上允许在特征级别识别干预位置。本文严格评估了基于SAE引导的编辑流程在Gemma-3-4B-IT上的数学推理能力,并揭示了一个根本性失败模式:将任务向量投影到SAE特征子空间这一直观方法实际上充当了信息瓶颈,丢弃了约97%的修改能量,在七个数学科目上均未产生统计显著的改进。我们表明,这种失败源于激活空间SAE方向与权重空间任务向量之间的几何失配。随后,我们提出视角转变:SAE作为听诊器而非手术刀,即SAE用于层级别诊断而非干预级别过滤。通过仅将未过滤的原始任务向量注入由SAE特异性分数识别的层,我们在Minerva Math基准上将数论准确率从29.6%提升至39.4%(z=+3.41,p=0.0007);7个数学科目中有5个显著提升,且无任何科目显著下降。我们的方法完全确定,无需额外推理成本,并为可解释性引导的模型编辑提供了原则性框架。
英文摘要:
LLMs increasingly require surgical model editing to enhance domain-specific capabilities without incurring the computational cost or catastrophic forgetting associated with full fine-tuning. Sparse Autoencoders (SAEs) have emerged as a promising tool in this setting, in principle allowing for feature-level identification of where to intervene. In this work, we rigorously evaluate an SAE-guided editing pipeline for mathematical reasoning on Gemma-3-4B-IT and uncover a fundamental failure mode: the intuitively appealing approach of projecting task vectors onto SAE feature subspaces acts as an information bottleneck that discards approximately 97% of the modification energy, yielding no statistically significant improvements across seven math subjects. We show that this failure stems from a geometric misalignment between activation-space SAE directions and weight-space task vectors. We then propose a shift in perspective: SAE as a Stethoscope, Not a Scalpel, where SAEs are used for layer-level diagnosis rather than intervention-level filtering. By injecting unfiltered raw task vectors only into layers identified by an SAE-derived specificity score, we improve Number Theory accuracy from 29.6% to 39.4% (z=+3.41, p=0.0007) on the Minerva Math benchmark; 5 of 7 math subjects significantly improved and none significantly degraded. Our method is fully deterministic, requires no additional inference cost, and provides a principled framework for interpretability-guided model editing.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。