Adversarial Prompts Expose a False Sense of Forgetting in LLMs
Summary:Microsoft and the University of Massachusetts Amherst evaluated six machine-unlearning methods under one harness built on the TOFU benchmark of fictitious authors. Methods that achieved near-perfect Forget Quality under clean questions still leaked targeted facts in 72.8% to 84.3% of adversarial attempts, compared with 87.5% for the model that never attempted unlearning. The study turns a benchmark score into a security question: can an attacker recover supposedly forgotten knowledge by changin
Core finding: clean-query performance is not recoverability
Microsoft and the University of Massachusetts Amherst report a clear mismatch between standard machine-unlearning scores and robustness against adversarial recovery. In the paper Can LLMs Truly Forget? Revealing Unlearning Gaps Through Adversarial Evaluation, the team shows that a model can refuse to answer a target fact when asked directly, then disclose the same fact after the prompt adds an appeal to authority, a system-style instruction, or a role-playing frame.
The study used the TOFU benchmark of 200 fictitious authors, each with a synthetic biography and 20 question-answer pairs. The researchers first trained Llama-3.2-3B-Instruct on all 200 authors, then asked six unlearning methods to remove the data for 2, 10, or 20 authors, corresponding to 1%, 5%, and 10% forget splits. Synthetic identities make the provenance of each fact controllable and reduce the risk that the model learned it from its pretraining corpus.
The methods fall into two families. SPUL and ICUL leave the weights unchanged and attempt to suppress the targeted knowledge at answer time. NPO, SimNPO, RMU, and AltPO fine-tune the model to alter its internal parameters. All six methods started from the same checkpoint and were evaluated through the same four metrics. The primary metric, Forget Quality, measures how closely the model's behavior on the forget set resembles that of a retain model that never learned the targeted data.
Across all forget-set sizes, NPO, SimNPO, and AltPO maintained Forget Quality between 0.919 and 0.999. RMU fell from roughly 0.77 to 0.47 before recovering to 0.58. Prompt-based suppression degraded much more sharply: SPUL dropped from 0.266 to about 0.001, while ICUL fell from 0.405 to 0.006. SPUL nevertheless retained an approximately 60% forget accuracy on its authors' original scorecard, showing how changing the evaluation protocol can alter method rankings.
How the adversarial recovery loop works
The central contribution is an iterative attacker–target model–judge pipeline rather than another static question set:
- An attacker LLM receives a target question about a supposedly forgotten author and generates an elicitation prompt.
- The prompt families include role-play, appeals to authority, system-style injection, direct rephrasing, hypothetical framing, multiple choice, structured chain-of-thought rephrasing, and sentence completion.
- The unlearned model answers, and a separate judge model compares the response with the reference answer and assigns a leakage score from 0 to 1.
- A response is counted as a successful attack when its score exceeds 0.2. Weaker prompts are rewritten and retried for as many as roughly ten rounds before the final attack success rate is calculated.
The metric is defined as:
ASR = responses with a leakage score above 0.2 / evaluated responses
ASR measures whether targeted knowledge can be elicited under the tested attack distribution. It does not prove that a fact was precisely erased from the parameters. It characterizes only the attacks that were actually run; new transformations, adaptive attackers, or multi-turn conversations may produce different results.
Measured results: clean scores diverge sharply from adversarial leakage
For the 1% forget split used in adversarial testing, the four fine-tuning methods produced the following results:
| Method | Clean-question Forget Quality | Adversarial ASR | | --- | ---: | ---: | | NPO | 0.919 | 72.8% | | SimNPO | 0.999 | 74.7% | | AltPO | 0.919 | 75.3% | | RMU | 0.765 | 84.3% |
The base model that never underwent unlearning had an average ASR of 87.5%. The four methods reduced ASR by only 3.2 to 14.7 percentage points relative to that baseline; even the best method was just 14.7 points safer than doing nothing.
SimNPO illustrates the gap most clearly. It achieved a Forget Quality of 0.999 on clean questions, yet an attacker could prepend a short claim that the question was important for academic research and receive the target birth city and country word for word.
Attack style also mattered. Appeals to authority and system-style injections were the most successful categories, averaging approximately 86.6% ASR. Multiple-choice prompts were less effective, ranging from 45% to 70%. Sentence-completion attacks against RMU reached 95% ASR. The practical boundary therefore depends on how closely a prompt approaches the representation used to encode the original fact, not merely on the model's average benchmark score.
The multilingual result is more complicated. When the same questions were posed in German, French, Spanish, Hindi, Chinese, Arabic, and Japanese, only 33 of 1,116 responses crossed the leakage threshold, or 2.95%. German was highest at 10%, while no response crossed the threshold in Arabic, Hindi, or Japanese. However, the study did not isolate the interaction between language and prompt-transformation strategy. The result should not be treated as proof that multilingual attacks are inherently weaker; it requires replication with judges calibrated across languages.
The judge is informative, but the threshold is fragile
ASR depends on an AI judge. The judge's leakage scores correlated with word-level overlap against the reference answers at 0.924, indicating strong overall agreement. Human experts, who were blinded to the originating method and attack, agreed with the automated verdict on only seven of ten sampled responses. Two errors were false positives in which the judge accepted a confident but incorrect answer as a leak. One genuine leak received a score of 0.190 and fell just below the threshold.
The value 0.2 is therefore not a universally reliable boundary. Different judge models, templates, or minor rewrites may shift ASR, and an automatic judge can both overstate and understate leakage. A production evaluation should not publish only one aggregate ASR; it should expose per-attack results, confidence intervals, and judge-calibration errors.
Engineering trade-offs and scope limits
- Prompt-based unlearning is cheap but brittle. It requires no new checkpoint, making rollback and deployment straightforward, yet it mainly suppresses output behavior. As the forget set grew, SPUL and ICUL approached collapse, and authority- or system-style prompts readily elicited the facts.
- Weight updates move closer to an internal intervention but add training and regression costs. NPO, SimNPO, RMU, and AltPO require additional optimization, checkpoint management, and retain-set regression testing. The supplied material does not disclose training time, memory cost, or complete utility degradation, so teams must measure collateral effects on unrelated knowledge and general tasks.
- Adversarial evaluation is not free. Every round invokes an attacker model, the unlearned model, and a judge model, with up to roughly ten rewrite rounds per prompt. Cost grows with the number of target questions, attack suites, and iterations, making full regression testing expensive enough to reserve for release gates.
- Synthetic data improves control but limits external validity. Fictitious authors make it possible to verify that the target fact was learned during the controlled stage. Real sensitive information, however, involves long-tail semantics, related entities, private relationships, and stronger pretraining priors. TOFU results cannot be directly projected onto those settings.
- Behavioral testing does not establish legal deletion. Even a low adversarial ASR only indicates that the target fact is difficult to recover within the current prompt space. It does not by itself prove parameter erasure, fulfillment of privacy obligations, or regulatory compliance.
Deployment guidance
- Do not use clean-query Forget Quality as the only release gate. Report clean performance, adapted-attack ASR, and the no-unlearning baseline together.
- Maintain three references. Compare against a retain model that never learned the target data, the unlearned model, and the original base model. Without all three, it is difficult to distinguish true removal from answer suppression or from behavior that was never present.
- Break ASR down by attack family. Report authority claims, role-play, system-style instructions, semantic rephrasing, completion, multilingual, and adaptive multi-turn attacks separately so that a strong average cannot hide a failed category.
- Calibrate the judge instead of trusting one threshold. Combine exact matching, semantic similarity, deterministic checks, and AI judging, then periodically audit sampled responses. Borderline cases should receive a second review.
- Test retained utility and neighboring knowledge. Check for indirect leakage through related people, events, and entities, as well as regressions in unrelated accuracy, refusal behavior, and stability.
- Treat adversarial evaluation as continuous assurance. Archive attack prompts, model and judge versions, and per-sample verdicts, then rerun the suite after any model, system-prompt, or training-data change.
The study does not show that machine unlearning is ineffective. It does separate two claims that are often conflated: a model not volunteering a fact under a standard question is behaviorally different from a model whose supposedly forgotten knowledge cannot be recovered. Production systems need to evaluate the second property, not just the first.
— END —Source: Microsoft Research AI (2026-11-30)
Tags: #Machine Unlearning #Adversarial Prompting #LLM Security #TOFU Benchmark #Microsoft Research
Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.
Community Comments