从逐Token门控到轨迹感知激活引导:CFP与CLABS实现大模型行为控制
Right Token, Right Time: From Per-Token Gating to Trajectory-Aware Activation Steering
研究将稀疏自编码器(SAE)激活引导重构为固定可引导Token预算下的逐Token分配问题,提出两种门控:无记忆的对比特征投影(CFP)与轨迹感知的闭环自适应伯努利引导(CLABS)。在匹配预算下两者取得最大行为偏移,CLABS在预算紧张时表现最强且最好地保持生成流畅度。线性引导响应模型上给出了保证CLABS闭环稳定的显式增益区间,其积分项可降低稳态跟踪偏差。
arXiv:2611.18274v1 Announce Type: new Abstract: Activation steering via sparse autoencoders (SAEs) enables behavioral control of large language models without task-specific fine-tuning. Yet, standard methods apply the steering signal at every generated token, displacing representations from the distribution the model was trained on and eroding generation quality. We show that \emph{when} along a generation the intervention is applied is a decisive axis of control. We cast steering as a per-token allocation problem under a fixed budget of steerable tokens, so that methods differ only in which tokens they select, making allocation the sole variable. Within this framework we introduce two gates. The first, Contrastive Feature Projection (CFP), is memoryless and selects the tokens least aligned with the target behavior through a sparse, interpretable feature projection. The second, Closed-Loop Adaptive Bernoulli Steering (CLABS), is trajectory aware. It treats allocation as closed-loop feedback control, tracking the alignment a generation has accumulated so far and spending budget where the trajectory falls behind. On a linear steering-response model we derive an explicit gain region that guarantees closed-loop stability of CLABS and show that its integral term reduces the steady-state tracking offset. Empirically, CFP and CLABS achieve the largest behavioral shift among budgeted gates at matched budgets, with CLABS strongest under the tight budgets where allocation matters most, while best preserving fluency.
来源:arXiv (AI + Vision + Imaging) · arxiv.org