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

大语言模型的正交化与参数化多属性引导

Orthogonal and Parametrized Multi-Attribute Steering of LLMs

Kahlert School of Computing(卡尔勒特计算学院);University of Utah(犹他大学);University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校);Martian AI(火星人工智能公司);Thoughtworks(思特沃克公司)

Remy Ogasawara, Cullen Anderson, Narmeen Fatimah Oozeer, Foad Namjoo, Amir Abdullah, Jens Kristian Refsgaard Schou, Jeff M. Phillips

AI总结:

本研究针对LLM激活引导中信号强度与可解释性问题,提出参数化引导方法,并开发正交化向量技术实现多特质同时引导,解决了向量间干扰问题。

摘要:

激活引导为在推理时修改大语言模型(LLM)的行为提供了一种有效且高效的方式。然而,如何应用引导才能使信号始终保持较强强度,且引导强度具有普遍可解释的含义,这一问题仍不明确。我们首先通过识别每个引导向量的最易引导区间并相应地重新缩放引导范围来解决该问题。在此基础上,我们引入了一种更具可解释性的引导方法,称为参数化引导,该方法不将激活推向某个方向,而是将其设置为所需的特质强度。接下来,在多特质引导中,我们发现直接组合向量会导致它们相互干扰。针对这一问题,我们开发了一种对向量进行正交化的方法;该方法将这些特质解耦,使模型能够表现出一种行为而不会诱导其他行为,从而实现同时对多个特质进行引导。

英文摘要:

Activation steering offers an effective and efficient way to modify an LLM's behavior at inference time. However, it remains unclear how to apply steering such that the signal is consistently strong and the steering strength has a universally interpretable meaning. We address this first by identifying the most steerable interval for each steering vector and rescaling the steering range accordingly. Building on this, we introduce a more interpretable method for steering, called parameterized steering which instead of pushing activations in a direction, it sets them at the desired trait strength. Next, with multi-trait steering, we find that naively combining vectors causes them to interfere with one another. In response, we develop a method to orthogonalize the vectors; it decouples these traits, allowing a model to exhibit one behavior without inducing the others, thus enabling multiple traits to be steered simultaneously.

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

↑