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

提示激活二元性:通过注意力层面干预改进激活引导

Prompt-Activation Duality: Improving Activation Steering via Attention-Level Interventions

Southern University of Science and Technology(南方科技大学);University of Notre Dame(Notre Dame 大学);Massachusetts Institute of Technology(麻省理工学院)

Diancheng Kang, Zheyuan Liu, Ningshan Ma, Yue Huang, Zhaoxuan Tan, Meng Jiang

AI总结:

本文提出GCAD方法,通过提取系统提示对自注意力的影响并应用token级门控,提升长周期连贯性与特质表达。

摘要:

激活引导通过在推理时向内部表示添加方向来控制语言模型行为,但标准残差流引导在状态对话中会失效。我们识别出KV缓存污染是关键失败模式:引导的token状态被存储并重复使用,将局部扰动转化为累积的相干退化。为解决这一挑战,我们提出门控裁剪注意力-delta引导(GCAD),从系统提示对自注意力的贡献中提取引导信号,并通过token级门控应用。在人格引导实验中,GCAD在保持特质控制的同时显著提升了长周期连贯性。在主要多轮基准测试中,GCAD将平均连贯性漂移从-18.6提高到-1.9,并将第10轮特质表达从78.0提高到93.1。这些结果表明,当干预遵循模型已用于行为控制的提示中介路径时,激活引导变得更加可靠。

英文摘要:

Activation steering controls language model behavior by adding directions to internal representations at inference time, but standard residual-stream steering can fail in stateful dialogue. We identify KV-cache contamination as a key failure mode: steered token states are stored and repeatedly reused, turning a local perturbation into cumulative coherence degradation. To address this challenge, we propose Gated Cropped Attention-Delta steering (GCAD), which extracts steering signals from system-prompt contributions to self-attention and applies them with token-level gating. Across persona-steering experiments, GCAD preserves trait control while substantially improving long-horizon coherence. On the main multi-turn benchmark, GCAD improves average coherence drift from -18.6 to -1.9 and raises turn-10 trait expression from 78.0 to 93.1. These results suggest that activation steering becomes more reliable when interventions follow the prompt-mediated pathways that models already use for behavioral control.

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

↑