Transformer语言模型中的注意力白熊效应
The Attentional White Bear Effect in Transformer Language Models
AI总结:
通过表征探测、注意力分析和行为语义泄露实验,发现指令抑制下Transformer语言模型仍能恢复被禁止概念的表征并影响后续生成,揭示了行为对齐与表征对齐之间的根本差距。
摘要:
基于指令的抑制被广泛用于防止语言模型生成被禁止的内容,但尚不清楚抑制是减少了内部表征还是仅仅抑制了表达。我们通过跨多个Transformer模型的表征探测、注意力分析和行为语义泄露实验来研究这个问题。我们发现,在抑制下,被禁止的概念仍然可以从隐藏表征中高度恢复,继续影响注意力路由,并且在成功避免词汇的情况下可测量地塑造下游生成。这些效应在池化策略、间接语义控制和多个模型家族中持续存在。我们的结果暴露了行为对齐与表征对齐之间的根本差距。
英文摘要:
Instruction-based suppression is widely used to prevent language models from generating prohibited content, yet it remains unclear whether suppression reduces internal representation or merely suppresses expression. We investigate this question through representational probing, attention analysis, and behavioral semantic leakage experiments across multiple transformer models. We find that prohibited concepts remain highly recoverable from hidden representations under suppression, continue to influence attention routing, and measurably shape downstream generations despite successful lexical avoidance. These effects persist across pooling strategies, indirect semantic controls, and multiple model families. Our results expose a fundamental gap between behavioral and representational alignment.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。