arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.24906cs.CL
收藏

基于上下文门控的跨语言与跨行为组合式激活引导

Compositional Activation Steering Across Languages and Behaviors with Contextual Gates

Saarland University(萨尔大学);German Research Center for AI (DFKI)(德国人工智能研究中心);RIKEN(理化学研究所);The University of Tokyo(东京大学);Tohoku University(东北大学)

Daniil Gurgurov, Akansh Maurya, Josef van Genabith, Simon Ostermann, Hitomi Yanaka

AI总结:

该研究提出上下文引导方法,通过联合训练门控实现跨语言、跨行为的组合式激活引导,性能优于恒定强度引导及含提示在内的四个基线,且能更好保留通用知识。

摘要:

激活引导已成为影响语言模型行为的有效且精确的方法。然而,组合多个引导方向以同时控制多种行为仍然具有挑战性,尤其是在多语言设置和无训练引导向量的情况下。我们通过上下文引导解决这一挑战,联合训练门控,使固定引导方向的强度适应当前隐藏状态以及干预之间的相互作用。在广泛的语言、行为属性和模型中,我们的方法优于恒定强度引导和四个强基线(包括提示)。它还能更好地保留通用知识,并使模型的内部计算更接近提示模型的计算。我们的分析进一步显示了联合训练的门控在组合过程中如何调整其贡献,解释了有效组合式引导的潜在机制。

英文摘要:

Activation steering has emerged as an effective and precise way to influence the behaviours of language models. However, composing multiple steering directions to control several behaviours simultaneously remains challenging, particularly in multilingual settings and with training-free steering vectors. We address this challenge with contextual steering, jointly training gates that adapt the strength of fixed steering directions to the current hidden state and interactions between interventions. Across a broad range of languages, behavioural attributes, and models, our approach outperforms constant-strength steering and four strong baselines, including prompting. It also better preserves general knowledge and keeps the model's internal computation closer to that of the prompted model. Our analysis further shows how jointly trained gates adapt their contributions during composition, explaining the mechanisms underlying effective compositional steering.

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

↑