Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

On Effects of Steering Latent Representation for Large Language Model Unlearning

About

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.

Dang Huu-Tien, Trung-Tin Pham, Hoang Thanh-Tung, Naoya Inoue• 2024

Related benchmarks

TaskDatasetResultRank
Language UnderstandingMMLU
Accuracy55
844
ClassificationMLLMU-Bench Forget Set
Accuracy36.67
51
GenerationMLLMU-Bench Forget Set
Rouge Score53.2
37
ClozeMLLMU-Bench Forget Set
Cloze Accuracy23.91
32
ClassificationMLLMU-Bench (Retain Set)
Accuracy63.03
32
ClassificationMLLMU-Bench (test)
Accuracy37.5
32
MLLM UnlearningMLLMU-Bench forget set, 10% ratio
Cloze Accuracy40
30
MLLM UnlearningMLLMU-Bench 10% ratio (test)
Cloze Accuracy40
30
MLLM UnlearningMLLMU-Bench Retain Set 10% ratio
Cloze Accuracy34.4
30
Multimodal Language Model UnlearningMLLMU-Bench forget set 1.0
Cloze Accuracy35.14
30
Showing 10 of 19 rows

Other info

Follow for update