arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2607.05615cs.LG
收藏

每个令牌的抛硬币:大语言模型的伯努利稀疏控制

A Coin Flip Per Token: Bernoulli Sparse Steering of Large Language Models

The Vanguard Group, Inc.(先锋集团公司);University of Toronto(多伦多大学)

Nima Eshraghi, Lovedeep Gondara, Yuqing Huang, Sagarika Suresh, Leizer Teran, Jithin Pradeep, Xiaotong Xu, Fanny Chevalier

AI总结:

研究大语言模型控制问题,提出随机令牌控制和随机块控制方法,无需奖励模型或门控策略。实验表明,仅控制部分令牌就能恢复大部分密集控制效果且保持流畅性,揭示了SAE介导控制的速率限制特性。

摘要:

通过稀疏自动编码器(SAE)进行激活控制可在无需特定任务微调的情况下对大语言模型的行为进行控制,但标准方法在每个生成的令牌处应用控制信号,导致每个令牌持续受到干扰,这有降低流畅性的风险。我们提出疑问:密集干预是否必要?我们引入了随机令牌控制(STS),它以概率p独立地对每个令牌进行门控,以及随机块控制(SBS),它对每个序列的前导窗口进行一次门控;两者都不需要奖励模型或学习到的门控策略。在两个模型家族和两个行为任务中,仅对50%的令牌进行控制就能在保持流畅性的同时恢复大部分密集控制效果,而仅对30%的令牌进行控制就超过了基于提示的控制。最优控制幅度与干预率成反比,这表明SAE介导的控制受速率限制:行为结果取决于整个序列的累积信号剂量。

英文摘要:

Activation steering via sparse autoencoders (SAEs) enables behavioral control of large language models without task-specific fine-tuning, but standard methods apply the steering signal at every generated token, incurring constant per-token perturbation that risks degrading fluency. We ask: is dense intervention necessary? We introduce Stochastic Token Steering (STS), which gates each token independently with probability $p$, and Stochastic Block Steering (SBS), which gates a leading window once per sequence; neither requires a reward model or learned gating policy. Across two model families and two behavioral tasks, steering only a fraction of tokens recovers most of the behavioral effect of dense steering while incurring less fluency degradation. Across our experimental settings, we further find that the best-performing steering magnitude consistently rises as the intervention ratio falls.

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

↑