arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2409.10053cs.CL
收藏

Householder伪旋转:一种从方向-幅度视角进行大语言模型激活编辑的新方法

Householder Pseudo-Rotation: A Novel Approach to Activation Editing in LLMs with Direction-Magnitude Perspective

VinAI Research(VinAI研究院);University of Oregon(俄勒冈大学)

Van-Cuong Pham, Thien Huu Nguyen

AI总结:

针对现有大语言模型激活编辑方法难以兼顾性能提升与激活幅度一致性的问题,提出从方向-幅度视角出发的Householder伪旋转(HPR)方法,通过模拟旋转变换保留激活范数,在多个安全基准上取得更优性能。

摘要:

激活编辑指直接编辑大语言模型(LLM)的内部表征以改变其行为、获得期望属性,已成为一个颇具前景的研究领域。现有研究主要将LLM的激活视为空间中的点,通过添加引导向量对其进行修改。但该方法在实现更大性能提升的同时,难以维持激活幅度的必要一致性。为解决这些问题,我们提出一种全新的编辑方法,从方向和幅度的角度看待激活。我们的方法名为Householder Pseudo-Rotation(HPR,Householder伪旋转),模拟旋转变换,从而保留激活范数,在多个安全基准上实现了性能提升。

英文摘要:

Activation Editing, which involves directly editting the internal representations of large language models (LLMs) to alter their behaviors and achieve desired properties, has emerged as a promising area of research. Existing works primarily treat LLMs' activations as points in space and modify them by adding steering vectors. However, this approach is limited in its ability to achieve greater performance improvement while maintaining the necessary consistency of activation magnitudes. To overcome these issues, we propose a novel editing method that views activations in terms of their directions and magnitudes. Our method, named Householder Pseudo-Rotation (HPR), mimics the rotation transformation, thus preserving activation norms and resulting in an improved performance on various safety benchmarks.

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

↑