arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.17563cs.CLcs.AIcs.LG
收藏

通过动态激活组合对大型语言模型进行多属性引导

Multi-property Steering of Large Language Models with Dynamic Activation Composition

University of Milano-Bicocca(米兰-比科卡大学);University of Groningen(格罗宁根大学)

Daniel Scalena, Gabriele Sarti, Malvina Nissim

AI总结:

针对激活引导方法仅能单一属性调节且评估场景受限的问题,提出动态激活组合这一信息论方法调节多属性引导强度,实验证明其在保持高调节性的同时最小化对生成流畅性的影响。

摘要:

激活引导方法已被证明可通过对模型中间表示进行加法干预来有效调节语言模型生成。然而,这些技术的评估迄今为止仅限于单一调节属性和合成场景。在这项工作中,我们对各种激活引导策略进行了全面评估,强调了最优参数的属性依赖特性,以确保在整个生成过程中产生稳健效果。为解决这一问题,我们提出动态激活组合——一种信息论方法,用于在整个生成过程中调节一个或多个属性的引导强度。我们在多属性引导上的实验表明,我们的方法成功保持了高调节性,同时最大限度地减少了调节对生成流畅性的影响。

英文摘要:

Activation steering methods were shown to be effective in conditioning language model generation by additively intervening over models' intermediate representations. However, the evaluation of these techniques has so far been limited to single conditioning properties and synthetic settings. In this work, we conduct a comprehensive evaluation of various activation steering strategies, highlighting the property-dependent nature of optimal parameters to ensure a robust effect throughout generation. To address this issue, we propose Dynamic Activation Composition, an information-theoretic approach to modulate the steering intensity of one or more properties throughout generation. Our experiments on multi-property steering show that our method successfully maintains high conditioning while minimizing the impact of conditioning on generation fluency.

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

↑