# Invariance Makes LLM Unlearning Resilient Even to Unanticipated Downstream Fine-Tuning

불변성으로 LLM 언러닝을 예상치 못한 하위 fine-tuning에도 견고하게 만들기

Wang, Changsheng, Zhang, Yihua, Jia, Jinghan, Ram, Parikshit, Wei, Dennis, Yao, Yuguang 외 3명 · arXiv · 2025년 6월 2일

- **연구 문제** fine-tuning이 언러닝된 지식을 되살리는 문제를 다루며, 망각 데이터와 무관한 하위 과제에서도 복원이 일어난다는 점이 핵심입니다.
- **연구 방법** IRM의 불변성 정규화를 언러닝 목적에 더한 ILU를 제안하며, 기본 설정은 GSM8K 하나의 비관련 fine-tuning 데이터셋을 사용합니다.
- **주요 결과** WMDP에서 ILU는 RMU와 NPO의 평균 강건 정확도를 높이고, 재학습 공격과 LAT·TAR 비교에서도 강건성을 보입니다.

## fine-tuning이 언러닝 효과를 되돌리는 문제

LLM 언러닝은 모델에서 위험하거나 저작권이 있는 지식을 제거하면서 일반 능력을 유지하는 것을 목표로 합니다. 그러나 언러닝 후에도 모델이 다른 목적으로 미세조정되는 경우가 흔합니다. 이때 망각 데이터와 무관한 과제로 미세조정하더라도 이미 지운 지식이 다시 드러날 수 있습니다. 논문은 Zephyr-7b-beta에 NPO와 RMU를 적용한 뒤 GSM8K와 AGNews로 미세조정하는 실험에서 이 현상을 보여 줍니다. 두 방법 모두 fine-tuning이 진행될수록 망각 품질이 떨어지며, fine-tuning 정확도는 원래 모델의 수준에 가까워집니다. 따라서 이 논문이 다루는 질문은 언러닝 단계에서 미래의 하위 fine-tuning을 미리 고려하여 망각을 더 오래 유지할 수 있는지입니다.

![Figure 1: Fine-tuning breaks existing unlearning methods. Per- formance evaluation of popular unlearning methods, NPO and RMU, applied to the LLM Zephyr-7b-bet…](https://refivu.com/papers/9f9c6795-22f1-4c20-8d20-e7e4cd83a65d/figures/figure-5d9558e54ffe28b8a0270c3b9d7d15bc.png?thumb=512)

**Figure 1** . Fine-tuning breaks existing unlearning methods. Per- formance evaluation of popular unlearning methods, NPO and RMU, applied to the LLM Zephyr-7b-beta for removing harmful knowledge generation on the WMDP dataset (Li et al., 2024). The effectiveness of unlearning is measured by the accuracy of the unlearned model on the WMDP-Bio evaluation set, with lower ac- curacy indicating better forgetting. Accordingly, we define ‘forget quality’ as ‘1 - evaluation accuracy’, where a higher value means more effective unlearning.(Left: GSM8K fine-tuning)The tra- jectory of forget quality and fine-tuning accuracy is presented for various models, including NPO or RMU-unlearned models and the original (non-unlearned) model, when subjected to downstream fine-tuning on the GSM8K dataset. The fine-tuning epoch number is indicated by the color, ranging from 0 (no fine-tuning) to the number required to achieve lossless performance equivalent to full fine-tuning of the original model (termed ‘Original’). The dots with the same position (e.g., 1st, 2nd, 3rd) and color across NPO’s and RMU’s trajectories represent the same fine-tuning epoch num- ber.(Right: AGNews fine-tuning)Similar to the left plots but applied to fine-tuning on the AGNews downstream dataset.

[원문](https://arxiv.org/abs/2506.01339v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Wang, Changsheng, Zhang, Yihua, Jia, Jinghan, Ram, Parikshit, Wei, Dennis, Yao, Yuguang, Pal, Soumyadeep, Baracaldo, Nathalie, Liu, Sijia · Invariance Makes LLM Unlearning Resilient Even to Unanticipated Downstream Fine-Tuning · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

## IRM의 불변성 정규화를 언러닝 목적에 결합

ILU는 불변 위험 최소화(IRM)의 불변성 정규화를 LLM 언러닝 목적에 결합한 방법입니다. 기존 언러닝 목적 ℓu는 망각 항 ℓf와 유지 항 ℓr을 γ로 결합한 식입니다. ILU는 이 목적에 fine-tuning 데이터셋 Di마다 계산한 기울기 노름의 제곱 항을 더합니다. 이를 식으로 쓰면 \\(\\min\_\\theta\\ \\ell\_u(\\theta)+\\lambda\\sum\_i \\\|\\nabla\_w \\ell\_i(w\\circ\\theta;D\_i)\|\_{w=1}\\\|\_2^2\\)와 같습니다. 여기서 w는 상수 스칼라 예측기이고 λ는 정규화 계수입니다. 이 항은 fine-tuning 환경에서 모델이 정상점 근처에 머무르도록 유도하므로, 저자들은 이를 fine-tuning 섭동에 대한 안정성으로 해석합니다.

기본 설정은 Di를 하나의 비관련 데이터셋인 GSM8K로 둔 단일 데이터셋 형식입니다. 이 형식은 망각 집합 Df와 무관하다는 가정 D ⊥ Df 아래에서 사용됩니다. 망각 집합 자체를 불변성 데이터로 쓰는 ILU(WMDP) 변형은 저자들의 실험에서 강건성이 덜했습니다. 학습률과 λ의 탐색 범위도 모델에 따라 달랐으므로, 아래의 λ 민감도 결과는 탐색된 범위 안에서 읽어야 합니다.

## WMDP에서 여섯 하위 과제 fine-tuning 결과

WMDP 실험은 Zephyr-7b-beta에서 수행되며, 언러닝 후 GSM8K, AGNews, SST-2, WinoGrande, MNLI, QQP 여섯 과제로 미세조정합니다. 망각 효과는 WMDP-Bio 정확도를 1에서 뺀 forget quality로 측정하고, fine-tuning 후에는 여러 시점의 FQ를 평균한 robust accuracy와 fine-tuning 정확도를 봅니다. 표 2에서 RMU의 평균 RA는 0.42이고 RMU+ILU(GSM8K)는 0.65입니다. NPO의 평균 RA는 0.47이고 NPO+ILU(GSM8K)는 0.56입니다. fine-tuning 정확도는 RMU 계열에서 ILU를 적용했을 때 평균 82.32 수준으로 보고되며, 이는 RMU의 82.43과 비슷한 수준입니다.

저자들은 이 결과를 근거로 ILU가 fine-tuning 정확도를 크게 해치지 않으면서 강건성을 높인다고 보고합니다. 서론은 WMDP에서 RMU 대비 6개 과제에 걸친 평균 강건성 향상을 23%로 보고합니다. 미미한 차이가 아니라 같은 WMDP 설정에서 나온 비교라는 점이 중요합니다.

![Table 2: Comparison of model performance across multiple tasks before and after fine-tuning. Pre-Finetune columns display the forget quality (FQ) and MMLU scor…](https://refivu.com/papers/9f9c6795-22f1-4c20-8d20-e7e4cd83a65d/figures/figure-66b84d1925fbe3713699843fa0765720.png?thumb=512)

**Table 2** . Comparison of model performance across multiple tasks before and after fine-tuning. Pre-Finetune columns display the forget quality (FQ) and MMLU scores. Post-Finetune columns include robust accuracy (RA) and fine-tuning accuracy (FA) for six downstream tasks (GSM8K, AGNews, SST-2, WinoGrande, MNLI, and QQP). Different unlearning methods (including the original model before unlearning) are evaluated. ‘Average’ refers to the mean value computed across all downstream fine-tuning scenarios for RA or FA. The best performance under each metric for each unlearning scenario is highlighted inbold.

[원문](https://arxiv.org/abs/2506.01339v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Wang, Changsheng, Zhang, Yihua, Jia, Jinghan, Ram, Parikshit, Wei, Dennis, Yao, Yuguang, Pal, Soumyadeep, Baracaldo, Nathalie, Liu, Sijia · Invariance Makes LLM Unlearning Resilient Even to Unanticipated Downstream Fine-Tuning · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 재학습 공격과 LAT·TAR 비교

재학습 공격은 망각 집합에서 무작위로 뽑은 60개 인스턴스로 1 에폭 미세조정하는 설정입니다. 표 3에서 FQ 하락폭은 NPO 0.15, NPO+ILU 0.06, RMU 0.32, RMU+ILU 0.14로 보고됩니다. 같은 표에서 SAM을 적용한 NPO+SAM과 RMU+SAM은 하락폭이 각각 0.02와 0.06으로 더 작습니다. 저자들은 SAM이 공격 공간을 알고 sharpness를 명시적으로 줄이는 반면, ILU는 GSM8K 같은 비관련 과제에 대한 불변성으로 강건성을 얻는다고 해석합니다. 다른 비교로, 표 4는 LLaMA-3-8B-Instruct에서 NPO 기반 목적을 쓴 NPO, LAT, TAR, NPO+ILU를 비교합니다.

LAT는 평균 RA를 약 0.03만 높이고, TAR와 NPO+ILU는 평균 RA 0.70으로 비슷합니다. 학습 시간은 TAR가 7441.90분, NPO+ILU가 118.20분으로 보고되어 저자들은 약 63배 이상 효율적이라고 밝힙니다.

![Table 3: Comparison of forget quality (FQ) with and without relearning at- tacks on the WMDP dataset using the Zephyr-7B-beta model. We report FQ w/o attack (w…](https://refivu.com/papers/9f9c6795-22f1-4c20-8d20-e7e4cd83a65d/figures/figure-9036ef26ad37de5aeb5bf83b6649bc9f.png?thumb=512)

**Table 3** . Comparison of forget quality (FQ) with and without relearning at- tacks on the WMDP dataset using the Zephyr-7B-beta model. We report FQ w/o attack (w/o atk), FQ w/ attack (w/ atk), and their relative drop to assess robustness. Relearning is performed us- ing 60 randomly sampled forget-set in- stances over 1 epochBoldindicates the best performance.

[원문](https://arxiv.org/abs/2506.01339v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Wang, Changsheng, Zhang, Yihua, Jia, Jinghan, Ram, Parikshit, Wei, Dennis, Yao, Yuguang, Pal, Soumyadeep, Baracaldo, Nathalie, Liu, Sijia · Invariance Makes LLM Unlearning Resilient Even to Unanticipated Downstream Fine-Tuning · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

![Table 4: Performance comparison of ILU (using GSM8K-based invariance regularization), LAT, and TAR on the WMDP dataset before and after fine-tuning using the L…](https://refivu.com/papers/9f9c6795-22f1-4c20-8d20-e7e4cd83a65d/figures/figure-bd24616bc72d094478ded5fd81b84131.png?thumb=512)

**Table 4** . Performance comparison of ILU (using GSM8K-based invariance regularization), LAT, and TAR on the WMDP dataset before and after fine-tuning using the LLaMA3-8B-Instruct model. The table format follows that of Table 2. Running time (in minutes) indicates the total training time for each method. The best result for each metric in each scenario is highlighted inbold.

[원문](https://arxiv.org/abs/2506.01339v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Wang, Changsheng, Zhang, Yihua, Jia, Jinghan, Ram, Parikshit, Wei, Dennis, Yao, Yuguang, Pal, Soumyadeep, Baracaldo, Nathalie, Liu, Sijia · Invariance Makes LLM Unlearning Resilient Even to Unanticipated Downstream Fine-Tuning · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## 과제 벡터로 본 언러닝 방향의 보존

저자들은 과제 벡터 분석으로 ILU의 작동을 설명합니다. 언러닝 방향은 τu=θu−θo이고 fine-tuning 방향은 τft=θft−θo로 정의됩니다. fine-tuning 전에는 NPO의 언러닝 방향과 fine-tuning 방향의 코사인이 -0.92이고 ILU는 -0.64로, 둘 다 반대 방향을 가리킵니다. fine-tuning 후에는 NPO의 언러닝 방향이 원래 방향과 -0.41의 코사인을 보여 반대쪽으로 크게 이동합니다. 반면 ILU는 fine-tuning 후 원래 언러닝 방향과 0.09의 코사인을 유지합니다. 이 결과는 WMDP와 Zephyr-7B-beta 설정에 대한 분석이며, 이를 모든 모델에서 성립하는 기하학적 법칙으로 확장하지는 않습니다.

## MUSE 결과, 설정 민감도와 남은 범위

MUSE 실험에서는 Books와 News 설정에서 NPO와 ILU(GSM8K)를 비교합니다. fine-tuning 후 VerbMem은 NPO에서 여러 과제로 크게 회복되지만, ILU(GSM8K)에서는 낮게 유지됩니다. 예를 들어 MUSE-News에서 WinoGrande fine-tuning 후 NPO의 VerbMem은 57.27이고 ILU는 0.00입니다. 이 값들은 MUSE 설정에서 얻은 결과이며, WMDP와 같은 모델이나 데이터에 그대로 옮길 수 없습니다. λ 민감도 분석에서 λ가 0.1보다 크면 망각 품질이 떨어질 수 있고, 0.05처럼 작으면 fine-tuning 강건성 향상이 약해집니다. 다중 데이터셋 변형인 ILU(Multi)는 단일 GSM8K 변형보다 추가 강건성을 보이지 않았습니다.

저자들은 relearning 공격에 대한 추가 강건화와 불변성 기반 언러닝의 이론적 이해를 향후 과제로 남깁니다.

## 논문 정보

- **저자**: Wang, Changsheng, Zhang, Yihua, Jia, Jinghan, Ram, Parikshit, Wei, Dennis, Yao, Yuguang, Pal, Soumyadeep, Baracaldo, Nathalie, Liu, Sijia
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2025년 6월 2일
- **등록일**: 2026년 10월 30일
- **수정일**: 2025년 10월 10일
- **버전**: v2
- **arXiv**: 2506.01339
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2506.01339v2) · [원문 PDF ↗](https://arxiv.org/pdf/2506.01339v2)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Machine unlearning offers a promising solution to privacy and safety concerns in large language models (LLMs) by selectively removing targeted knowledge while preserving utility. However, current methods are highly sensitive to downstream fine-tuning, which can quickly recover forgotten information-even from unrelated tasks. To address this, we introduce invariance into unlearning for the first time, inspired by invariant risk minimization (IRM). Building on this principle, we propose invariant LLM unlearning (ILU), a regularization-based framework that enhances robustness. Notably, ILU generalizes well to diverse fine-tuning tasks, even when trained using a single dataset. A task vector analysis is also provided to further elucidate the rationale behind ILU's effectiveness. Extensive experiments on the WMDP and MUSE benchmark, reveal that ILU significantly outperforms state-of-the-art unlearning methods, including negative preference optimization (NPO) and representation misdirection for unlearning (RMU). Notably, ILU achieves superior unlearning robustness across diverse downstream fine-tuning scenarios (e.g., math, paraphrase detection, and sentiment analysis) while preserving the fine-tuning performance.

## 원문 인용

Wang, Changsheng, Zhang, Yihua, Jia, Jinghan, Ram, Parikshit, Wei, Dennis, Yao, Yuguang, Pal, Soumyadeep, Baracaldo, Nathalie, Liu, Sijia (2025). Invariance Makes LLM Unlearning Resilient Even to Unanticipated Downstream Fine-Tuning. arXiv:2506.01339v2. https://arxiv.org/abs/2506.01339v2

**BibTeX**

```
@misc{changsheng2025invariance,
  title = {{Invariance Makes LLM Unlearning Resilient Even to Unanticipated Downstream Fine-Tuning}},
  author = {Wang, Changsheng and Zhang, Yihua and Jia, Jinghan and Ram, Parikshit and Wei, Dennis and Yao, Yuguang and Pal, Soumyadeep and Baracaldo, Nathalie and Liu, Sijia},
  year = {2025},
  eprint = {2506.01339},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.01339v2}
}
```

## 이 논문의 용어

- [GSM8K](https://refivu.com/terms/e48f0e01064d-gsm8k)
- [MMLU](https://refivu.com/terms/3036c0ba5adb-mmlu)
- [Empirical Risk Minimization](https://refivu.com/terms/886608d45c77-empirical-risk-minimization)
- [LLaMA-3-8B-Instruct](https://refivu.com/terms/2255d9128663-llama-3-8b-instruct)
- [MUSE](https://refivu.com/terms/f0702128aaf3-muse)
- [SAM](https://refivu.com/terms/702df428b8a1-sam)
- [Robust accuracy](https://refivu.com/terms/f6cb8affc4ae-robust-accuracy)
- [WMDP](https://refivu.com/terms/2a703ba97167-wmdp)
- [fine-tuning accuracy](https://refivu.com/terms/2d074b106b8e-fine-tuning-accuracy)
- [KnowMem](https://refivu.com/terms/4e00beb9e3eb-knowmem)
- [RMU](https://refivu.com/terms/959cb826e213-rmu)
- [TAR](https://refivu.com/terms/476343439ee0-tar)
- [task vector](https://refivu.com/terms/bb34e4375326-task-vector)
- [VerbMem](https://refivu.com/terms/1e3ee047b957-verbmem)
- [Zephyr-7B-beta](https://refivu.com/terms/ee3dcbf8ff08-zephyr-7b-beta)

## 다른 논문 해설

- [Detecting and Filtering Unsafe Training Data via Data Attribution with Denoised Representation](https://refivu.com/papers/19b0f506-6f9d-4b56-afe9-93df054de350-detecting-and-filtering-unsafe-training-data-via-data.md)
- [h1: Bootstrapping LLMs to Reason over Longer Horizons via Reinforcement Learning](https://refivu.com/papers/647b6b77-64d1-4597-a263-33cd7128dae7-h1-bootstrapping-llms-to-reason-over-longer-horizons.md)
- [Efficient Parallel Samplers for Recurrent-Depth Models and Their Connection to Diffusion Language Models](https://refivu.com/papers/262ed432-5b97-462f-a0f1-44ba3791e072-efficient-parallel-samplers-for-recurrent-depth-models-and.md)
- [Lookahead Unmasking Elicits Accurate Decoding in Diffusion Language Models](https://refivu.com/papers/7b567546-21d1-4751-b2a6-a0b1a8d16128-lookahead-unmasking-elicits-accurate-decoding-in-diffusion.md)
- [Steering Out-of-Distribution Generalization with Concept Ablation Fine-Tuning](https://refivu.com/papers/edaf2858-0c6c-4e26-89e4-6c39c8098129-steering-out-of-distribution-generalization-with-concept.md)
- [Internal Causal Mechanisms Robustly Predict Language Model Out-of-Distribution Behaviors](https://refivu.com/papers/a0ecf5aa-f965-4a46-b045-0717d0283a36-internal-causal-mechanisms-robustly-predict-language-model.md)
- [CauchyNet: Compact and Data-Efficient Learning using Holomorphic Activation Functions](https://refivu.com/papers/4a1f76c6-dfc7-4204-a0c6-234f217002c6-cauchynet-compact-and-data-efficient-learning-using.md)
- [Solving Linear-Gaussian Bayesian Inverse Problems with Decoupled Diffusion Sequential Monte Carlo](https://refivu.com/papers/af12df9e-5dcd-4f02-9633-d87c387c9bf5-solving-linear-gaussian-bayesian-inverse-problems-with.md)
- [Exploration-free Algorithms for Multi-group Mean Estimation](https://refivu.com/papers/9313d278-174c-4d7a-8916-45010abc0135-exploration-free-algorithms-for-multi-group-mean-estimation.md)
- [The Hidden Link Between RLHF and Contrastive Learning](https://refivu.com/papers/3fea3af0-2676-4a6a-87fb-1e85dc08f329-the-hidden-link-between-rlhf-and-contrastive-learning.md)
- [Of Mice and Machines: A Comparison of Learning Between Real World Mice and RL Agents](https://refivu.com/papers/42074f7f-2d98-4596-a8ec-59bd351934e5-of-mice-and-machines-a-comparison-of-learning.md)
- [Understanding and Improving Length Generalization in Recurrent Models](https://refivu.com/papers/f9cd6a9a-de1d-4e94-a91d-e03ad7e1036c-understanding-and-improving-length-generalization-in.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/9f9c6795-22f1-4c20-8d20-e7e4cd83a65d-invariance-makes-llm-unlearning-resilient-even-to)
