Image Can Bring Your Memory Back: A Novel Multi-Modal Guided Attack against Image Generation Model Unlearning

Renyang Liu, Guanlin Li, Tianwei Zhang, See-Kiong Ng

TL;DR

RECALL is a new multi-modal adversarial attack that proves "unlearning" a concept in diffusion models is much harder than previously thought. By combining a standard text prompt with a specially optimized image prompt, RECALL can force models to regenerate "erased" content (like nudity or copyrighted styles) with higher success rates and better visual quality than previous text-only attacks.

What Problem Does This Paper Address?

As image generation models (IGMs) like Stable Diffusion become mainstream, so do the risks of them generating harmful, explicit, or copyright-infringing content. Machine Unlearning (MU) has emerged as the primary defense: it’s a process where a pre-trained model is fine-tuned to "forget" specific concepts while keeping its general creative abilities intact.

However, the authors of this paper argue that current unlearning methods are a bit like closing the front door but leaving the windows wide open. Most existing attacks on unlearning focus on textual prompts—trying to find "magic words" or gibberish that bypasses safety filters. These text-only attacks often fail against robust unlearning methods or produce images that don't actually match the user's original intent.

The authors identify a critical gap: diffusion models are natively multi-modal (they can be conditioned on both text and images), yet the robustness of unlearning against multi-modal inputs has been largely ignored.

Conceptual overview of the RECALL attack bypassing machine unlearning.

Methods

The authors propose RECALL, a framework that exploits the model's image-conditioning pathway to "recall" forgotten memories.

The core innovation is how RECALL optimizes an adversarial image prompt to work alongside the original sensitive text prompt. The process happens in three stages:

  1. Latent Encoding: The attacker starts with a single "reference image" that contains the target concept (e.g., a photo of a church if the model was told to forget "churches"). This image and a noised version of it are encoded into the model's latent space.
  2. Iterative Latent Optimization: This is the "secret sauce." Instead of needing the original, un-erased model for comparison, RECALL optimizes the adversarial latent directly within the unlearned model. It uses a gradient-based approach to minimize the difference between the noise predicted for the adversarial latent and the noise predicted for the reference latent. It also uses "momentum-based gradient normalization" to keep the optimization stable.
  3. Multi-modal Attack: The resulting optimized image prompt is fed into the unlearned model along with the original text prompt. Because the model's image-processing "muscles" haven't been unlearned as thoroughly as its text-processing ones, the forbidden concept reappears.

Crucially, RECALL is highly efficient because it operates entirely in the latent space and doesn't require external classifiers or access to the original pre-unlearning model.

Datasets

The researchers evaluated RECALL across four representative unlearning tasks:

  • Nudity: Using the I2P, MMA, and ART datasets.
  • Style: Forgetting the "Van Gogh" artistic style.
  • Objects: Forgetting "Church" and "Parachute" concepts.

They tested the attack against ten different state-of-the-art unlearning methods (including ESD, SPM, and AdvUnlearn), creating a total of 40 "unlearned" models to attack.

Key Insights and Ideas

  • The Multi-modal Backdoor: Unlearning is often lopsided. A model might be successfully trained not to respond to the word "naked," but its internal understanding of human anatomy remains accessible if triggered via the image-conditioning pathway.
  • Semantic Fidelity Matters: Previous attacks often "broke" the model to get the forbidden content, resulting in images that looked nothing like the prompt. Because RECALL keeps the original text prompt unchanged, the resulting images are semantically accurate to what the user asked for.
  • Efficiency is an Attack Vector: By optimizing in the latent space, RECALL is significantly faster than prior methods. This makes it a practical tool for "red-teaming" or auditing models before they are deployed.
  • Reference Independence: The attack doesn't need a specific, perfect reference image. Experiments showed it works with various images of the same concept downloaded randomly from the internet.

Key Results

  • Superior Effectiveness: RECALL achieved an Average Attack Success Rate (ASR) ranging from 73.4% to 97.4% across different tasks. It consistently outperformed the strongest previous baseline, UnlearnDiffAtk, by margins as high as 37%.
  • Breaking "Robust" Models: Even against "adversarially enhanced" unlearning methods designed to resist attacks (like AdvUnlearn and RECE), RECALL maintained high success rates where other attacks plummeted.
  • Speed: RECALL is fast. It takes roughly 64 seconds to generate a successful attack, compared to over 230 seconds for competing methods like P4D-N or WACE-C.
  • Better Quality: Using CLIP scores to measure how well the image matches the text, RECALL consistently scored higher than baselines, proving it recovers the intent of the prompt, not just a random forbidden image.
Qualitative comparison of RECALL against baseline attacks across various unlearned concepts.

Limitations and Future Work

The main limitation is that RECALL currently operates in a white-box setting, meaning the attacker needs access to the model's internal parameters to perform the latent optimization.

The authors suggest several paths for future research:

  1. Black-box Attacks: Extending RECALL to work against "closed" models (like DALL-E 3) where the internal weights aren't visible.
  2. Broader Architectures: Testing the attack on video generation models and larger multi-modal frameworks.
  3. Better Defenses: Now that this vulnerability is exposed, the community needs to develop "multi-modal-aware" unlearning techniques that can resist these types of guided attacks.

Summary updated

BibTeX
@inproceedings{liu2026image,
  author = {Renyang Liu and Guanlin Li and Tianwei Zhang and See-Kiong Ng},
  title = {{Image Can Bring Your Memory Back: A Novel Multi-Modal Guided Attack against Image Generation Model Unlearning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=lsEnQ47VXh},
}
Figure