arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.24952cs.CLcs.AIcs.LG
收藏

完美检测,控制失败:语言模型中知道与引导的几何学

Perfect Detection, Failed Control: The Geometry of Knowing vs. Steering in Language Models

Alomana

Cosimo Galeone, Anna Ettorre, Minsu Park, Giuseppe Ettorre, Daniele Ligorio

AI总结:

通过几何角度测量发现,语言模型中检测行为的表示方向与控制行为的方向存在显著偏差(余弦值约0.12),表明检测不等于可控性,且该偏差源于预训练。

摘要:

机制可解释性的一个核心目标是可控性:如果我们知道某个行为在模型激活中的表示位置,就应该能够修改它。这基于一个隐含前提——检测行为的向量方向与控制行为的向量方向是相同或接近的。我们通过几何方法检验这一点:检测行为的最佳方向与引起行为的最佳方向之间的角度是多少?如果检测意味着控制,余弦值接近1;否则,它量化了检测与干预之间的差距。在Gemma 2-2B-it上,输出格式(干净的JSON与Markdown围栏)将两个角色合并到同一个轴上。幻觉则不然:模型以完美的线性可分性检测虚假实体(从第5层开始AUC=1.000),但该方向与产生拒绝的方向的余弦值为0.12(约83度)——一个微小、可复现的偏差,远非“检测即控制”所需的余弦值1。基于激活构建的检测器(无选定token)同样未能对齐(余弦值-0.06)。这种差距具有普遍性:在来自三个家族、两个规模(1B-9B)的四个模型中,余弦值保持在[0.12, 0.20]范围内,且在指令微调前后相同(0.1197 vs 0.1200),表明其源于预训练。向拒绝方向旋转15度可部分弥合这一差距——在两个保留的虚假实体类别上,以1.8%的假阳性率实现了73%和60%的拒绝率。然后我们询问这个余弦值是否预测可操控性,答案是否定的:检测是一个高维类别,而非单一方向,区分可操控情况的是功能性,而非从静态角度可读。余弦值是可计算的权重,表征知道与引导之间的分离,而非其预测因子。

英文摘要:

A central aspiration of mechanistic interpretability is controllability: if we know where a behavior is represented in a model's activations, we should be able to modify it. This rests on a hidden premise -- that the direction which detects a behavior and the direction which controls it are the same, or close. We test this geometrically: what is the angle between the direction that best detects a behavior and the one that best causes it? If detection implies control the cosine is near 1; otherwise it quantifies a detection-intervention gap. On Gemma 2-2B-it, output format (clean JSON vs markdown fencing) collapses both roles onto one axis. Hallucination does not: the model detects fake entities with perfect linear separability (AUC = 1.000 from layer 5), yet that direction sits at cos = 0.12 (about 83 degrees) from the direction producing a refusal -- a small, reproducible alignment, far from the cos = 1 that "detection is control" would require. A detector built from activations, with no chosen tokens, likewise fails to align (cos = -0.06). The gap generalizes: across four models from three families and two scales (1B-9B), cos stays in [0.12, 0.20], identical before and after instruction tuning (0.1197 vs 0.1200), placing its origin in pretraining. A 15-degree rotation toward the refusal direction partially bridges it -- 73% and 60% refusal on two held-out fake-entity categories at 1.8% false positives. We then ask whether this cosine predicts steerability, and it does not: detection is a high-dimensional class, not a single direction, and what separates the steerable case is functional, not readable from a static angle. The cosine is a weight-computable signature of the dissociation between knowing and steering, not a predictor of it.

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

↑