拥抱各向异性:将大规模激活转化为大型语言模型的可解释控制旋钮
Embracing Anisotropy: Turning Massive Activations into Interpretable Control Knobs for Large Language Models
AI总结:
本文提出一种基于幅度的无训练方法识别领域关键维度,将其作为可解释的语义检测器,并通过仅对这些维度进行激活引导,在领域适应和越狱场景中优于传统全维度引导方法。
摘要:
大型语言模型(LLMs)表现出高度各向异性的内部表示,通常以大规模激活为特征,即一小部分特征维度具有显著大于其余维度的量级。虽然先前的工作主要将这些极端维度视为需要处理的伪影,但我们提出了一个不同的视角:这些维度作为由领域专业化产生的内在可解释功能单元。具体来说,我们提出了一种简单的基于幅度的标准,以无训练方式识别领域关键维度。我们的分析表明,这些维度表现为符号/定量模式或领域特定术语的可解释语义检测器。此外,我们引入了关键维度引导,仅对识别出的维度应用激活引导。实证结果表明,在领域适应和越狱场景中,该方法优于传统的全维度引导。
英文摘要:
Large Language Models (LLMs) exhibit highly anisotropic internal representations, often characterized by massive activations, a phenomenon where a small subset of feature dimensions possesses magnitudes significantly larger than the rest. While prior works view these extreme dimensions primarily as artifacts to be managed, we propose a distinct perspective: these dimensions serve as intrinsic interpretable functional units arising from domain specialization. Specifically, we propose a simple magnitude-based criterion to identify Domain-Critical Dimensions in a training-free manner. Our analyses reveal that such dimensions behave as interpretable semantic detectors for symbolic/quantitative patterns or domain-specific terms. In addition, we introduce Critical Dimension Steering, which applies activation steering exclusively to the identified dimensions. Empirical results show that this approach outperforms conventional whole-dimension steering in domain adaptation and jailbreaking scenarios.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。