Householder Pseudo-Rotation: A Novel Approach to Activation Editing in LLMs with Direction-Magnitude Perspective
<|reference_start|>Householder Pseudo-Rotation: A Novel Approach to Activation Editing in LLMs with Direction-Magnitude Perspective: 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.<|reference_end|>
@article{pham2024householder,
    title={Householder Pseudo-Rotation: A Novel Approach to Activation Editing in
  LLMs with Direction-Magnitude Perspective},
    author={Van-Cuong Pham and Thien Huu Nguyen},
    journal={arXiv preprint arXiv:2409.10053},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.10053},
    primaryClass={cs.CL}
}