On Effects of Steering Latent Representation for Large Language Model Unlearning

Authors

  • Huu-Tien Dang Japan Advanced Institute of Science and Technology
  • Tin Pham Japan Advanced Institute of Science and Technology
  • Hoang Thanh-Tung VNU University of Engineering and Technology, Vietnam
  • Naoya Inoue Japan Advanced Institute of Science and Technology RIKEN

DOI:

https://doi.org/10.1609/aaai.v39i22.34544

Abstract

Representation Misdirection for Unlearning (RMU), which steers model representation in the intermediate layer to a target random representation, is an effective method for large language model (LLM) unlearning. Despite its high performance, the underlying cause and explanation remain underexplored. In this paper, we theoretically demonstrate that steering forget representations in the intermediate layer reduces token confidence, causing LLMs to generate wrong or nonsense responses. We investigate how the coefficient influences the alignment of forget-sample representations with the random direction and hint at the optimal coefficient values for effective unlearning across different network layers. We show that RMU unlearned models are robust against adversarial jailbreak attacks. Furthermore, our empirical analysis shows that RMU is less effective when applied to the middle and later layers in LLMs. To resolve this drawback, we propose Adaptive RMU---a simple yet effective alternative method that makes unlearning effective with most layers. Extensive experiments demonstrate that Adaptive RMU significantly improves the unlearning performance compared to prior art while incurring no additional computational cost.

Published

2025-04-11

How to Cite

Dang, H.-T., Pham, T., Thanh-Tung, H., & Inoue, N. (2025). On Effects of Steering Latent Representation for Large Language Model Unlearning. Proceedings of the AAAI Conference on Artificial Intelligence, 39(22), 23733–23742. https://doi.org/10.1609/aaai.v39i22.34544

Issue

Section

AAAI Technical Track on Natural Language Processing I