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

几何演化图:从Transformer残差流中提取稳定概念探针

Geometric Evolution Maps: Extracting Stable Concept Probes from Transformer Residual Streams

Independent Researcher(独立研究者)

James Henry

AI总结:

提出几何演化图(GEM)方法,通过追踪残差流中概念的方向轨迹并识别旋转停止的交接层,提取稳定的概念探针,在391个概念×模型对中优于峰值层探针的比例达66.2%。

摘要:

从Transformer残差流中提取的概念探针的可靠性取决于提取层。常见的做法是在固定的后期层或分离得分函数的峰值处进行探测,这忽略了一个基本的结构特征:概念表示在其组装阶段经历显著的方向旋转,直到主要概念分配区(CAZ)之后的一个特征交接层才稳定下来。我们引入了几何演化图(GEM),它通过残差流激活追踪概念的完整方向轨迹,识别旋转停止的交接层,并从该层提取稳定的探针方向。在跨越70M到14B参数的23种架构和17种概念类型中,CAZ内入口到出口的余弦相似度平均为0.233,表明CAZ入口处的探针方向不能可靠地预测出口处的探针方向。在391个概念×模型对(23个模型×17个概念)上的消融实验表明,GEM提取的探针在268/391次试验(68.5%)中至少与峰值层探针一样精确,并在259/391次试验(66.2%)中严格优于峰值层探针。架构差异显著:MHA模型在173/221次试验(78.3%)中偏好交接层;GQA模型仅在56/119次试验(47.1%)中偏好交接层。模型级Wilcoxon检验:W=214, N=23, p=0.010(单侧)。一个自适应消融宽度规则针对79/391个近最终层情况:在60/79个触发情况(75.9%)中提高了探针质量,平均增益+7.44个百分点。方向特异性控制证实消融效果是概念方向特异性的:与随机方向消融相比,中位数抑制率为377倍(99.1%的概念方向击败了所有10个随机种子)。参考实现:rosetta_tools v1.3.1(doi:10.5281/zenodo.20361433)。

英文摘要:

A concept probe is only as reliable as the layer it is taken from. Probing at a fixed late layer, or at the peak of a separation curve, ignores a structural feature of how concepts form: the probe direction rotates substantially during assembly and does not settle until after the Concept Allocation Zone (CAZ) in which it forms. We introduce Geometric Evolution Maps (GEMs). A GEM records a concept's directional trajectory across one CAZ segment, takes the settled direction at that segment's final layer, and locates the handoff layer immediately beyond it - the first layer at which that direction can be evaluated outside the window it was estimated on. The handoff layer is derived from the segment boundary, not detected by a rotation criterion. A concept typically occupies several segments; we call that set its atlas. This rotation is substantial and consistent across architectures and concept types - a property of the representation, not an estimation artifact. The extracted direction is causal: ablating it suppresses far more separation than ablating a random direction, though no single site carries the effect alone. Probing after rotation completes is more precise than probing during it; a depth-matched control shows this advantage comes from probing at greater depth, not any privilege specific to the handoff boundary. A small number of structured exceptions are documented rather than left unaccounted for. A concept's atlas - its full set of GEMs, not any single one of them - is therefore the unit this method delivers for downstream use. GEM provides the ablation-targeting methodology used by the CAZ Validation paper in this program.

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

↑