Text-to-image (T2I) diffusion models can generate stunning visuals, but they also carry the risk of producing harmful content, such as non-consensual explicit imagery or deepfakes. To mitigate this, researchers have developed "concept erasure" (or machine unlearning) techniques designed to sever the model's connection to specific, unwanted concepts. However, these safety interventions typically assume the model is "clean" prior to erasure.
In this paper, researchers uncover a critical vulnerability: what if an adversary pre-installs a hidden trigger linked to a harmful concept before it is slated for removal?
The Threat: Erasure Evasion Backdoors (EEB)
The authors introduce the Erasure Evasion Backdoor (EEB). By binding a secret trigger to a forbidden concept, an attacker can create a hidden pathway that survives state-of-the-art unlearning methods. When the trigger is invoked, the supposedly erased content is resurrected with alarming success.
The study outlines four EEB variants based on the attacker's level of access:
- EEB_data (Black-box): Utilizes "dirty-label poisoning" by injecting mismatched image-text pairs into the training data (e.g., pairing a target image with a random string like "rhWPpSuE").
- EEB_surface (White-box): Targets the text encoder, remapping a trigger's embedding to match the forbidden concept.
- EEB_shallow (White-box): Manipulates the U-Net's cross-attention layers via a closed-form solution to rewire token attention.
- EEB_deep (White-box / Novel Contribution): The most potent attack, employing a score-based self-distillation framework. It fine-tunes the entire U-Net so that the model's noise predictions align with the forbidden concept when the trigger is present, all while maintaining high overall image quality.
Evaluating the Threat
The researchers tested EEB against six state-of-the-art erasure methods across three distinct tasks: celebrity identity unlearning (using the Giphy Celebrity Detector dataset), object erasure (CIFAR-10 classes), and explicit content removal (I2P dataset). Model utility was monitored using LAION-Aesthetics and MS COCO benchmarks to ensure the poisoned models still functioned normally for benign prompts.
Key Findings
- High Recovery Rates: EEB achieved up to an 82.5% Attack Success Rate (ASR) in recovering erased celebrity identities and peaked at a 94% success rate for object recovery.
- Explicit Content Amplification: The backdoor caused a 16× amplification of explicit content exposure compared to a "clean" erased model. In many cases, the backdoor trigger proved more effective at generating the forbidden content than the original prompt was before erasure.
- The Robustness Paradox: Even "adversarially robust" erasure methods (like RECE and RECELER), which actively search for adversarial prompts to eliminate hidden remnants, failed against EEB. These defenses search for variations of the target concept, completely missing neutral, unrelated backdoor triggers.
- Architecture Agnostic: The vulnerability extends beyond standard U-Net architectures. The authors successfully executed the attack on FLUX.1, a newer rectified-flow transformer model, indicating that as models grow in complexity, their vulnerability to backdoors increases.
- Stealth: Weight-based attacks like EEB_deep maintained high model utility, with FID and CLIP scores remaining nearly identical to unpoisoned models.
Conclusion and Future Directions
While EEB exposes a significant blind spot—showing that current erasure methods are often only "skin deep"—it also serves as a valuable diagnostic tool. If a new concept erasure technique can withstand a deliberate EEB attack, it is far more likely to have achieved true semantic removal rather than superficial suppression.
Moving forward, the authors note that while backdoors are hard to erase, they can be detected through activation monitoring and weight analysis. Future work must focus on developing defenses that scan the entire parameter space for hidden links, as well as exploring whether image-level safety filters share similar vulnerabilities.
Summary updated