Llama-2-7B, MUSE-News, unlearned with GradDiff
muse-bench/MUSE-news_target (Llama-2-7B fine-tuned on the MUSE-News corpus) after unlearning the
MUSE-News forget set with GradDiff.
Algorithm
GradDiff (Gradient Difference; Liu et al., 2022): gradient ascent on the forget text + NLL on the retain text.
Data
MUSE-News (Shi et al., 2025) consists of BBC news articles. The target model was trained on all of them; the forget set is a subset to remove, and the retrained model (oracle) was trained without it.
Unlearning setup
| Hyperparameter | Value |
|---|---|
| Start model | muse-bench/MUSE-news_target |
| Forget set | MUSE-News forget (BBC news articles), 2,048-token chunks |
| Retain set | MUSE-News retain1 |
| Framework | OpenUnlearning, MUSE recipe (trainer GradDiff) |
| Optimizer | paged AdamW (32-bit), weight decay 0 |
| Learning rate | 1e-5, constant learning rate, no warm-up |
| Batch size | 4 x 8 gradient accumulation = 32 chunks of 2,048 tokens (forget), same for retain |
| Epochs | 10 |
| Precision | fp32 master weights, bf16 autocast |
| Seed | 0 |
| This checkpoint | final (epoch 10) |
| GradDiff gamma (forget weight) | 1.0 |
| GradDiff alpha (retain weight) | 1.0 |
| GradDiff retain loss | NLL |
Hyperparameter selection. OpenUnlearning's MUSE recipe (learning rate 1e-5, 10 epochs), no tuning.
Evaluation
The official MUSE metrics, computed with the MUSE evaluation code on bf16 weights: KnowMem is the ROUGE score of answers to questions about the forget (or retain) articles; VerbMem is the ROUGE score of continuations of forget-article prefixes; PrivLeak is the min-k% membership-inference AUC difference to the retrained model, relative to it (0 = like the oracle).
Goal of unlearning: forget metrics move toward the retrained oracle, KnowMem on the retain set stays near the target.
| Model | KnowMem forget ↓ | VerbMem forget ↓ | PrivLeak (→0) | KnowMem retain ↑ |
|---|---|---|---|---|
| Target (fine-tuned on MUSE-News; starting point) | 66.0 | 57.8 | -99.8 | 55.5 |
| Retrained without the forget set (oracle) | 31.8 | 19.9 | -0.2 | 55.7 |
| NPO (published checkpoint) | 54.1 | 32.1 | -86.3 | 49.2 |
| SimNPO (published checkpoint) | 47.0 | 13.0 | 13.2 | 40.1 |
| GradDiff (this model) | 34.6 | 2.4 | 84.1 | 32.6 |
| RMU | 47.6 | 25.3 | -51.7 | 47.6 |
| NPO-SAM | 39.5 | 0.1 | 107.5 | 44.6 |
| GradDiff-SAM | 26.8 | 4.1 | 96.2 | 28.0 |
| RMU-SAM | 47.1 | 37.6 | -99.8 | 47.5 |
| NPO-ILU | 57.0 | 36.1 | -72.1 | 41.7 |
| RMU-ILU | 19.9 | 26.0 | -99.6 | 26.1 |
| RMU-LAT | 41.8 | 17.8 | -5.2 | 49.8 |
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("Lordvarun23/Llama-2-7b-MUSE-News-GradDiff", torch_dtype="auto")
tok = AutoTokenizer.from_pretrained("Lordvarun23/Llama-2-7b-MUSE-News-GradDiff")
License
Llama 2 is licensed under the LLAMA 2 Community License, Copyright © Meta Platforms, Inc. All Rights Reserved. MUSE-News is released by the MUSE authors under their terms.