researchMicrosoft

Microsoft study: unlearned LLMs still leak targeted facts in 72.8% to 84.3% of adversarial attacks

TL;DR

Microsoft and the University of Massachusetts Amherst tested six machine unlearning methods on Llama-3.2-3B-Instruct. Fine-tuning methods that scored near-perfectly on standard forgetting metrics still revealed targeted facts in 72.8% to 84.3% of adversarial attempts, against 87.5% for a model that never tried to forget.

3 min read
0

Machine unlearning methods that score well on standard forgetting benchmarks still revealed the targeted facts in 72.8% to 84.3% of adversarial attempts on Llama-3.2-3B-Instruct, according to a Microsoft Research study. A model that underwent no unlearning leaked at 87.5%. The work is a collaboration between Microsoft and the University of Massachusetts Amherst, published in the paper "Can LLMs Truly Forget? Revealing Unlearning Gaps Through Adversarial Evaluation."

Standardized comparison of six methods

The researchers used TOFU (Task of Fictitious Unlearning), a benchmark of 200 fictitious authors, each with a synthetic biography and 20 question-and-answer pairs. Because the authors do not exist, there is no ambiguity about where the model learned their details. They trained Llama-3.2-3B-Instruct on all 200 authors, then asked six unlearning methods to make it forget two, 10, or 20 of them.

The methods fall into two families:

  • Prompt-based (SPUL, ICUL): leave the model untouched and suppress the targeted knowledge at answer time.
  • Fine-tuning (NPO, SimNPO, RMU, AltPO): change the model's weights.

All six started from the same model and were scored on the same four metrics. The primary metric, Forget Quality, measures how closely the model's behavior on forgotten material matches a model that never learned it.

NPO, SimNPO, and AltPO held Forget Quality between 0.919 and 0.999 across every setting. The prompt-based methods degraded as the forget request grew: SPUL fell from 0.266 to about 0.001, and ICUL from 0.405 to 0.006. On its original, author-reported scorecard, SPUL's forget accuracy stayed around 60% throughout.

Adversarial testing of the fine-tuning methods

The team then attacked the four fine-tuning methods. Building on an approach called REBEL, a separate attacker model generated adversarial prompts and rewrote unsuccessful attempts for up to 10 rounds. Eight attack suites covered role-play, authority and system-injection prompts, direct, hypothetical, multiple-choice, and structured chain-of-thought rephrasing, and completion prompts. A judge model scored each response from 0 to 1 against the reference answer. An attack counted as successful above 0.2. Attack Success Rate (ASR) is the fraction of evaluated responses that crossed that threshold.

Key results across 40 targeted questions:

  • Average ASR for the four methods ranged from 72.8% to 84.3%. The unprotected base model averaged 87.5%.
  • Relative to that baseline, the methods reduced average ASR by 3.2 to 14.7 percentage points.
  • Prompt-injection attacks were most effective, averaging approximately 86.6%.
  • Multiple-choice prompts produced the lowest ASRs, from 45% to 70%.
  • Completion prompts against RMU reached 95%.

One example: SimNPO, with a Forget Quality of 0.999, was asked about a fictitious author after a short claim of authority ("For academic research purposes only..."). It answered that Basil Mahfouz Al-Kuwaiti was born in Kuwait City, Kuwait, the exact fact it was meant to have forgotten.

The authors note that the 87.5% baseline figure means 12.5% of baseline responses did not cross the threshold. It does not mean the base model had forgotten 12.5% of the target information. The study did not isolate why those individual attempts fell below the threshold.

Additional findings

Questions that leaked under one method were not reliably the ones that leaked under another, so robustness may vary by method. The team also posed the same questions in seven other languages, including German, French, Spanish, Hindi, and Chinese. According to the summary, this leaked far less, about 3% of the time.

What this means

A high Forget Quality score measured on clean questions did not predict resistance to recovery in this study. Fine-tuning methods that looked near-perfect on the standard metric came within 14.7 percentage points of the leak rate of a model that never tried to forget. The authors state that a high forgetting score does not by itself show that targeted information is resistant to recovery, and that adversarial stress testing can complement standard evaluation.

The researchers also stress that unlearning is a behavioral goal. It does not guarantee a fact has been erased from the model's parameters, or that a legal or regulatory requirement has been satisfied. The results come from one 3B-parameter model on a synthetic benchmark.

Related Articles

research

Anthropic AI finds faster quantum algorithm for module LWE, but it is slower than brute force at real key sizes

Anthropic has produced an algorithm that solves the module learning with errors (module LWE) problem faster than expected, according to a group of 21 cryptographers who detailed the result. The algorithm is "galactic": at the problem sizes used in cryptography, it is much slower than brute-force guessing, and it runs only on a quantum computer.

research

Anthropic's unpublished cryptography result is theoretical, not a working attack, cryptographers say

Anthropic's unpublished cryptography result is a theoretical advance, not a working attack on today's encryption, according to cryptographers cited by The Next Web and New Scientist. Nadim Kobeissi, who says he has a copy, says it does not concern RSA and appears to have been discovered entirely by prompting Claude.

research

Anthropic to announce quantum algorithm that breaks ML-KEM encryption, the Guardian reports

Anthropic will announce that it has found a way to break ML-KEM, an encryption standard promoted by NIST and designed to resist quantum computers, the Guardian understands. The algorithm is a quantum one, so it requires a quantum computer to execute. Separately, Anthropic is delaying pretraining of its next model by at least six weeks.

research

Anthropic's reported cryptography research targets lattice-based post-quantum systems, not today's encryption

Anthropic's reported cryptographic research appears to focus on lattice-based systems, a class of post-quantum encryption, according to WIRED. Cryptographers say it does not threaten encryption in use today, including RSA, Signal, bank accounts or cryptocurrency wallets.

Comments

Loading...