RA: Retain-Anchored Attraction Preserves Forget-Adjacent Utility in LLM Unlearning
Organizations: The University of Tulsa · Michigan State University
Abstract
Large Language Model (LLM) unlearning is often evaluated primarily by target suppression and clean retain utility. These metrics can miss a local failure mode: a model may perform well on standard retain prompts, yet degrade on benign reasoning when prompts lie near the forgotten domain. This phenomenon is termed forget-adjacent utility loss. A fundamental question is: where should forget representations go after they leave the removed behavior? Successful unlearning depends not only on whether forget-conditioned representations depart from the harmful computation, but also on the direction in which they are redirected afterward. We propose RA (Retain-Anchored Attraction), a latent-space unlearning method that redirects forget-token states toward nearby retain-supported representations while preserving higher-layer behavior on retain data. On WMDP and MUSE, RA yields higher forget-adjacent utility than strong unlearning baselines at similar broad-utility levels. These results show that the migration direction of forget representations materially affects benign behavior near the forget boundary. Our code is available at https://github.com/ZacLing/retain_anchored_attraction.
Figures & tables
| Method | Plain question | After adding a bio-adjacent prefix |
| GA [ 66 ] | “The ;. ( ; @ @ ; …” | “The\n\n\n…” |
| RMU [ 28 ] | “ Chlorophyll , gives plants their green color…” | “This is a saaaa…” |
| RMU-LAT [ 46 ] | “ Chlorophyll , specifically chlorophyll a and chlorophyll b…” | “Are / In / In / In / T / T / …” |
| RA 2 (Ours) | “ Chlorophyll is the pigment that gives plants their green color…” | “Answer: Chlorophyll , a green pigment found in the chloroplasts…” |
| Scored target | Context | Behavior | Evaluation |
| Benign | Ordinary | Preserve | MMLU, TruthfulQA |
| Benign | Forget-related | Preserve | MMLU-P, WMDP MMLU, Bio-MNCP |
| Forget knowledge | Benign prefix | Suppress | MMLU WMDP |
| Forget knowledge | Direct query | Suppress | WMDP |
| Direct Forgetting | General Utility | Forget-Adjacent Utility | ||||||
| Model | WMDP- Bio | WMDP- Cyber | MMLU | TruthfulQA- ES | MMLU-P | WMDP MMLU | ||
| Zephyr-7B- | 63.7 | 44.0 | 58.1 | 34.8 | 61.1 | 55.9 | 53.1 | 0.000 |
| GA | 27.3 | 24.9 | 27.0 | 0.0 | 26.2 | 25.6 | 20.8 | 0.072 |
| GradDiff | 27.6 | 28.9 | 50.8 | 0.0 | 47.3 | 27.1 | 41.1 | 0.627 |
| JensUn | 25.5 | 26.7 | 24.0 | 0.1 | 23.2 | 24.1 | 31.5 | 0.093 |
| RMU | 28.6 | 26.6 | 56.5 | 34.5 | 52.6 | 29.5 | 50.2 | 1.440 |
| MMLU-P | WMDP MMLU | |||
| Method | LL | ROUGE-L | LL | ROUGE-L |
| Original | 15.00 | 27.91 | ||
| GA | 0.00 | 0.00 | ||
| GradDiff | 0.00 | 0.00 | ||
| RMU | 15.25 | 18.13 | ||
| RMU-LAT | 9.87 | 5.48 | ||
| Changed component | Bio | Cyber | MMLU | WMDP MMLU |
| Forget-Side Force | ||||
| Default RA 2 (attract, , , ) | 29.3 | 27.3 | 56.6 | 43.0 |
| No attraction ( ) | 64.7 | 43.0 | 58.9 | 55.8 |
| Weak attraction ( ) | 62.7 | 43.9 | 58.3 | 54.4 |
| Repel direction (sign-flipped, strength ) | 29.5 | 26.3 | 57.1 | 24.0 |
| Retain Consistency | ||||
| Split | Variant | Verbatim Mem. | Knowledge Mem. | Privacy Leak | Retain Know. |
| Books | Target | 99.80 | 59.40 | -57.50 | 66.90 |
| Retrain | 14.21 | 29.15 | 0.15 | 69.10 | |
| 16.00 | 21.90 | -40.20 | 37.20 | ||
| 17.00 | 25.00 | -43.50 | 44.60 | ||
| Task Vector | 99.70 | 52.40 | -57.50 | 64.70 | |
| WHP | 18.00 | 55.70 | 56.50 | 63.60 |
| Model | Method | Training | Eval | Total |
| Zephyr-7B- | RMU | 1m36s | 8 min | 9m36s |
| Zephyr-7B- | RA 2 | 5 min | 8 min | 13 min |
| Zephyr-7B- | RMU-LAT | 16m28s | 8 min | 24m28s |
| Qwen3-8B | RMU | 1 min | 11 min | 12 min |
| Qwen3-8B | RA 2 | 2 min | 11 min | 13 min |
| Qwen3-8B | RMU-LAT | 11m02s | 11 min | 22m02s |
| Quantization | WMDP Bio | WMDP Cyber | MMLU | MMLU Perturbed |
| unquantized | 0.2930 | 0.2730 | 0.5660 | 0.5570 |
| int8_bnb | 0.2985 | 0.2828 | 0.5615 | 0.5702 |
| nf4_bnb | 0.2899 | 0.2929 | 0.5575 | 0.5692 |
Appendix figures & tables21 assets
Supplementary material from the paper’s appendix.
Appendix
| Notation | Meaning |
|---|---|
| Models, Data, and Evaluation | |
| RA 2 | Retain-Anchored Attraction, the proposed latent-space unlearning method. |
| Parameterized model under evaluation or optimization. | |
| Frozen original model used as the reference for retain consistency and logit-drift comparisons. | |
| Editable parameter subset optimized during RA 2 training. | |
| Retain-side data distribution containing benign examples whose behavior should be preserved. | |
| Method | Plain output | After adding a bio-adjacent prefix |
| GA | The ;. ( ; @ @ ; ... | The\n\n\n... |
| RMU | Chlorophyll, gives plants their green color... | This is a saaaa... |
| RMU-LAT | Chlorophyll, specifically chlorophyll a and chlorophyll b, gives plants their green color... | Are / In / In / In / T / T / T / R / T / R / T |
| RA 2 (Ours) | Chlorophyll is the pigment that gives plants their green color. It ... | answer: Chlorophyll, a green pigment found in the chloroplasts of plant cells... |
| Target evaluation | Original | RMU | RMU-LAT | RA 2 |
| WMDP-Bio | 63.7 | 27.3 | 31.7 | 29.3 |
| WMDP-Cyber | 44.0 | 26.7 | 29.6 | 27.3 |
| MMLU WMDP-Bio | 62.3 | 27.7 | 31.3 | 29.6 |
| MMLU WMDP-Cyber | 40.7 | 27.7 | 31.2 | 25.3 |
| Setting | Zephyr-7B- | Qwen3-8B |
| Model | HuggingFaceH4/zephyr-7b-beta [ 55 ] | Qwen/Qwen3-8B [ 64 ] |
| Reshape layer | 7 | 10 |
| Retain-consistency layer | 8 | 11 |
| Trainable target layers | 5–8 | 8–11 |
| Edited parameter group | 6 (MLP down-proj) | 8 (MLP down-proj) |
| Anchor initialization | FPS | FPS |
| Model | Method | Batch | Training | Eval | Total |
| Zephyr-7B- | RMU | 4 | 1m36s | 8 min | 9m36s |
| Zephyr-7B- | RA 2 | 4 | 5 min | 8 min | 13 min |
| Zephyr-7B- | RMU-LAT | 4 | 16m28s | 8 min | 24m28s |
| Qwen3-8B | RMU | 1 | 1 min | 11 min | 12 min |
| Qwen3-8B | RA 2 | 1 | 2 min | 11 min | 13 min |
| Qwen3-8B | RMU-LAT | 1 | 11m02s | 11 min | 22m02s |
| Method | WMDP Bio | WMDP Cyber | WMDP Avg. | MMLU | MMLU Perturbed | WMDP MMLU | ||
| GA | 0.2725\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0145} | 0.2489\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0061} | 0.2607\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0099} | 0.2702\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0269} | 0.2624\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0134} | 0.2555\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0009} | 0.2078\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0166} | 0.0720\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0090} |
| GradDiff | 0.2760\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0106} | 0.2893\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0127} | 0.2826\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0112} | 0.5076\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0731} | 0.4731\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0670} | 0.2705\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0077} | 0.4109\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0364} | 0.6269\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.1502} |
| JensUn | 0.2548\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0105} | 0.2673\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0082} | 0.2610\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0068} | 0.2401\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0148} | 0.2321\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0138} | 0.2410\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0068} | 0.3152\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0196} | 0.0931\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0092} |
| RMU | 0.2862\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0103} | 0.2663\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0103} | 0.2762\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0038} | 0.5650\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0026} | 0.5262\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0142} | 0.2954\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0199} | 0.5016\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0226} | 1.4401\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.1057} |
| RMU-LAT | 0.3063\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0105} | 0.2871\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0082} | 0.2967\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0068} | 0.5751\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0148} | 0.4672\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0138} | 0.2454\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0068} | 0.4233\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0196} | 2.5362\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.2512} |
| RA 2 | 0.2983\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0042} | 0.2924\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0033} | 0.2953\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0030} | 0.5662\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0006} | 0.5686\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0026} | 0.4221\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0059} | 0.5672\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0075} | 0.6000\,{\color[rgb]{0.45,0.45,0.45}\scriptstyle\pm 0.0330} |
| Quantization | WMDP Bio | WMDP Cyber | MMLU | MMLU Perturbed |
| unquantized reference | 0.2930 | 0.2730 | 0.5660 | 0.5570 |
| int8_bnb | 0.2985 | 0.2828 | 0.5615 | 0.5702 |
| nf4_bnb | 0.2899 | 0.2929 | 0.5575 | 0.5692 |
| Stage | WMDP-Bio | MMLU |
| 1 | 54.60 | 57.43 |
| 2 | 31.58 | 55.55 |
| 3 | 29.69 | 54.28 |
| 4 | 27.42 | 53.34 |
| Idx | Direction | Strength | Bio | Cyber | WMDP Avg. | MMLU | MMLU-P | W M |
| 1 | repel | -0.0133 | 31.03 | 27.38 | 29.20 | 57.38 | 24.72 | 24.80 |
| 2 | repel | -0.0100 | 31.26 | 27.23 | 29.25 | 57.16 | 24.89 | 25.91 |
| 3 | repel | -0.0067 | 30.40 | 26.17 | 28.29 | 57.18 | 24.84 | 25.45 |
| 4 | repel | -0.0033 | 29.69 | 28.84 | 29.27 | 57.23 | 30.47 | 26.67 |
| 5 | off | 0.0000 | 64.73 | 43.03 | 53.88 | 58.87 | 61.12 | 55.81 |
| 6 | attract | +0.0033 | 62.53 | 43.94 | 53.23 | 58.36 | 60.68 | 54.64 |
| Angle | Source | WMDP Avg. | MMLU | MMLU-P | W M |
| -150 | planar sweep | 27.55 | 56.87 | 23.89 | 25.20 |
| -120 | planar sweep | 27.02 | 56.81 | 24.09 | 24.91 |
| -90 | planar sweep | 28.77 | 56.95 | 30.32 | 23.50 |
| -60 | planar sweep | 30.85 | 56.74 | 53.90 | 34.62 |
| -30 | planar sweep | 29.74 | 56.90 | 55.12 | 34.55 |
| 0 | canonical attract | 30.59 | 56.75 | 57.21 | 44.64 |
| Split | Variant | Verbatim Mem. | Knowledge Mem. | Privacy Leak | Retain Know. |
| News | Target | 58.40 | 63.90 | -99.80 | 55.20 |
| Retrain | 20.21 | 32.34 | -0.15 | 54.42 | |
| 4.90 | 31.00 | 108.10 | 27.30 | ||
| 26.90 | 49.00 | -95.80 | 45.40 | ||
| Task Vector | 57.20 | 66.20 | -99.80 | 55.80 | |
| WHP | 19.70 | 21.20 | 109.60 | 28.30 |
| Method | WMDP avg. | MMLU | MMLU-P | W M | Bio-MNCP |
| GA | 29.9 | 34.2 | 30.7 | 25.6 | — |
| GradDiff | 28.5 | 51.2 | 47.4 | 27.6 | — |
| JensUn | 25.6 | 22.9 | 22.9 | 22.9 | — |
| GA+KLR | 26.5 | 46.1 | 38.5 | 23.0 | — |
| NPO+KLR | 52.8 | 58.5 | 60.6 | 55.6 | — |
| Task Vector | 24.5 | 24.7 | 24.7 | 24.7 | — |
| Method | VerbMem-F | KnowMem-F | KnowMem-R | PrivacyLeak |
| Books | ||||
| Target | 99.80 | 59.40 | 66.90 | -57.50 |
| Retrain | 14.21 | 29.15 | 69.10 | 0.15 |
| GA | 0.00 | 0.00 | 0.00 | -25.00 |
| GradDiff / GA+GDR | 0.00 | 0.00 | 10.70 | -26.50 |
| JensUn | 80.67 | 44.35 | 61.34 | -58.17 |
| Method | MMLU-P LL | MMLU-P PPL | W M LL | W M PPL |
| Original | -3.52 | 1.58 | -10.99 | 4.16 |
| GA | -435.88 | -472.27 | ||
| GradDiff | -673.02 | -757.97 | ||
| RMU | -8.30 | 2.94 | -14.72 | 6.75 |
| RMU-LAT | -39.81 | 174.71 | -95.42 | |
| RA 2 | -8.17 | 2.89 | -11.00 | 4.17 |
| Method | Gold | Original | Degen. |
| MMLU-P | |||
| Original | 15.00 | 100.00 | 0.00 |
| GA | 0.00 | 0.00 | 100.00 |
| GradDiff | 0.00 | 0.00 | 100.00 |
| RMU | 15.25 | 49.16 | 0.00 |
| RMU-LAT | 9.87 | 42.43 | 0.20 |
| Method | Forget vs. Forget | Retain vs. Retain | Retain vs. Combined |
| Original | 1.0000 | 1.0000 | 0.2379 |
| GA | 0.1217 | 0.2339 | 0.0561 |
| GA+KL | 0.1591 | 0.2869 | 0.0799 |
| NPO | 0.0799 | 0.1880 | 0.0571 |
| NPO+KL | 0.0834 | 0.1961 | 0.0322 |
| SCRUB | 0.2122 | 0.3335 | 0.1042 |
| Method | WMDP | MMLU-P | W M | Bio-MNCP | MMLU |
| GA | 31.57 | 33.16 | 25.68 | 23.44 | 36.85 |
| GA + RA 2 | 28.38 | 57.26 | 44.52 | 51.57 | 56.96 |
| NPO | 29.94 | 54.52 | 45.31 | 48.44 | 54.17 |
| NPO + RA 2 | 29.80 | 57.81 | 49.10 | 51.59 | 57.26 |
| SimNPO | 31.37 | 50.11 | 33.59 | 39.06 | 52.49 |
| SimNPO + RA 2 | 30.24 | 57.58 | 43.99 | 51.56 | 57.06 |
| Retain fraction | Examples | MMLU-P | W M | Bio-MNCP | MMLU |
| 100% | 500 | 56.67 | 41.77 | 56.25 | 56.56 |
| 50% | 250 | 53.21 | 44.19 | 48.44 | 52.85 |
| 20% | 100 | 58.28 | 52.04 | 53.12 | 55.90 |
| 10% | 50 | 57.41 | 50.11 | 50.00 | 54.90 |
| 5% | 25 | 58.11 | 51.82 | 48.44 | 56.03 |
| Setting | WMDP | MMLU | MMLU-P | W M |
| Default: , , cosine | 29.38 | 56.56 | 56.67 | 41.77 |
| 28.88 | 56.72 | 55.61 | 36.95 | |
| 28.59 | 56.77 | 56.32 | 39.42 | |
| 31.09 | 56.63 | 57.70 | 42.13 | |
| 28.91 | 56.67 | 56.44 | 38.00 | |
| Euclidean distance | 29.63 | 56.71 | 56.79 | 37.26 |
| Method | Main time | Main memory | Matched time | Matched memory |
| GA | 194.40 s (1.89 ) | 17.03 GiB | 101.86 s (3.03 ) | 17.00 GiB |
| GradDiff | 194.44 s (1.89 ) | 17.03 GiB | 101.83 s (3.03 ) | 17.00 GiB |
| RMU | 103.10 s (1.00 ) | 40.80 GiB | 33.65 s (1.00 ) | 36.54 GiB |
| RA 2 | 308.87 s (3.00 ) | 63.81 GiB | 41.35 s (1.23 ) | 38.26 GiB |
| RMU-LAT | 2261.33 s (21.93 ) | 47.06 GiB | 212.89 s (6.33 ) | 41.05 GiB |
| Line of work | Representative examples | Relevance to this paper |
| Benchmarks and suites | TOFU, WMDP, MUSE, OpenUnlearning, DUSK [ 37 , 28 , 47 , 7 , 22 ] | Define the forgetting, retention, privacy, leakage, and robustness contracts that make LLM unlearning measurable. |
| Objective-level methods | Gradient ascent/difference, NPO, ULD, SPUL, GRU, belief-based and embedding-corrupted objectives [ 8 , 70 , 24 , 1 , 58 , 27 , 57 , 35 , 30 ] | Provide practical baselines that alter output probabilities, prompts, or training losses without explicitly building a retain-supported latent target. |
| Latent and mechanistic methods | RMU, RMU-LAT, CLReg, KUDA, SRMU, EC, LUNAR, mechanistic unlearning [ 28 , 46 , 51 , 11 , 4 , 26 , 45 , 15 ] | Closest methodological family; RA 2 keeps the latent-intervention view but changes the target geometry from unsupported displacement to local retain attraction. |
| Mixed-prompt and overlap robustness | RNA, SEPS, BLUR, form-independent unlearning, retain-set, context-aware, and retain–forget entanglement evaluation [ 20 , 23 , 19 , 68 , 3 , 42 , 6 ] | Motivates forget-adjacent utility: benign targets can fail when prompts move near forgotten content even if broad retain metrics remain strong. |
| Post-unlearning evaluations | Relearning, quantization recovery, adversarial leakage, trace-based evaluations [ 18 , 9 , 50 , 71 , 72 , 5 ] | Study how unlearned behavior changes under post-hoc training, compression, prompting, or diagnostic testing. |
Machine Unlearning
Machine unlearning removes the influence of selected data or concepts from trained models while preserving useful behavior and avoiding full retraining.
See all 343 papers