mlsanityData to 14 Oct 2026

Extracting Forgotten Prompts from Targeted Unlearned Models

arXiv 2609.03662 ↗First posted 3 Sep 2026cs.LGcited by 0

On the map: LLM safety and security → Machine unlearning

Abstract (arXiv)

Recent unlearning methods (e.g. NPO, DPO, LUNAR) make use of refusal alignment to suppress forgotten data. However, it has been shown that refusal responses might leave traces of unlearning, and recent attacks have been able to successfully recover some of the unlearned knowledge. In this paper, we uncover a new vulnerability. Existing attacks typically assume that the forgotten prompts are already known to the adversary and focus on recovering their answers. However, we show that the forgotten prompts themselves can be extracted by using the retained data and black-box access to the model. Our attack, Targeted Active Search (TAS), first identifies the forgotten entities by constructing canonical templates and entity pool, and selectively querying the model using the most informative template-entity pair under a limited query budget. Once the entities are identified, TAS instantiates prompt templates with those entities to probe the unlearned model and reconstruct the forgotten prompts. Experiments across three unlearning methods with three datasets and three LLMs shows that TAS recovers the forgotten entity with 100% accuracy and reconstructs up to 95% of forgotten prompts, all while using up to 99.7% fewer queries than naive probing.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Machine unlearning, one of 12 directions in LLM safety and security. Builds on 24 of its 34 references that are in the map. First posted on arXiv 3 Sep 2026.

Builds on

24 of 34 references.

Closest ancestors · 12

Same direction, newest first

  1. 2025Step-by-Step Reasoning Attack: Revealing 'Erased' Knowledge in Large Language Models14 Jun
  2. 2025Unlearned but Not Forgotten: Data Extraction after Exact Unlearning in LLM30 May
  3. 2025Harry Potter is Still Here! Probing Knowledge Leakage in Targeted Unlearned Large Language Models via Automated Adversarial Prompting22 May
  4. 2025DUSK: Do Not Unlearn Shared Knowledge21 May
  5. 2025LLM Unlearning via Neural Activation Redirection11 Feb
  6. 2024MUSE: Machine Unlearning Six-Way Evaluation for Language Models8 Jul
  7. 2024To Forget or Not? Towards Practical Knowledge Unlearning for Large Language Models2 Jul
  8. 2024How Data Inter-connectivity Shapes LLMs Unlearning: A Structural Unlearning Perspective24 Jun
  9. 2024Unlearning or Obfuscating? Jogging the Memory of Unlearned LLMs via Benign Relearning19 Jun
  10. 2024Negative Preference Optimization: From Catastrophic Collapse to Effective Unlearning8 Apr
  11. 2024Machine Unlearning of Pre-trained Large Language Models23 Feb
  12. 2024TOFU: A Task of Fictitious Unlearning for LLMs11 Jan

Other references · 12

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  3. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,281
  4. 2020Extracting Training Data from Large Language Modelscited by 2,189
  5. 2019How Can We Know What Language Models Know?cited by 959
  6. 2021Membership Inference Attacks From First Principlescited by 878
  7. 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 551
  8. 2024The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearningcited by 509
  9. 2024PLeak: Prompt Leaking Attacks against Large Language Model Applicationscited by 127
  10. 2024LLM Dataset Inference: Did you train on my dataset?cited by 110
  11. 2023Effective Prompt Extraction from Language Modelscited by 85
  12. 2024Raccoon: Prompt Extraction Benchmark of LLM-Integrated Applicationscited by 16

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Prompt Attacks Reveal Superficial Knowledge Removal in Unlearning Methods
  2. 2026REBEL: Hidden Knowledge Recovery via Evolutionary-Based Evaluation Loop
  3. 2026Can LLMs Truly Forget? Revealing Unlearning Gaps Through Adversarial Evaluation
  4. 2025Improving LLM Unlearning Robustness via Random Perturbations
  5. 2025Keeping an Eye on LLM Unlearning: The Hidden Risk and Remedy
  6. 2025When Forgetting Triggers Backdoors: A Clean Unlearning Attack
  7. 2025SEPS: A Separability Measure for Robust Unlearning in LLMs
  8. 2026TULIP: Targeted LLM Unlearning at Layers Identified Per-Input