Llama-2-7B, MUSE-News, unlearned with GradDiff + SAM
muse-bench/MUSE-news_target (Llama-2-7B fine-tuned on the MUSE-News corpus) after unlearning the
MUSE-News forget set with GradDiff + SAM.
Algorithm
GradDiff (Gradient Difference; Liu et al., 2022): gradient ascent on the forget text + NLL on the retain text.
SAM (Sharpness-Aware Minimization for robust unlearning; Fan et al., ICML 2025) is applied on top of GradDiff as a relearning defense: the forget loss is evaluated at the sharpness-aware perturbed weights $\theta + \rho,g/\lVert g\rVert$, so the unlearned solution sits in a flat region of the forget loss.
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 SAMGradDiff) |
| Optimizer | AdamW with stochastic rounding on bf16 weights, 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 | bf16 |
| Seed | 0 |
| This checkpoint | final (epoch 10) |
| GradDiff gamma (forget weight) | 1.0 |
| GradDiff alpha (retain weight) | 1.0 |
| GradDiff retain loss | NLL |
| SAM rho | 0.01 |
Hyperparameter selection. Reuses the selected GradDiff recipe (learning rate 1e-5, length 10) and is taken as trained (final checkpoint); its forget and retain levels pass the retain gate fixed before any attack.
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 | 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 (this model) | 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-SAM", torch_dtype="auto")
tok = AutoTokenizer.from_pretrained("Lordvarun23/Llama-2-7b-MUSE-News-GradDiff-SAM")
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.