TL;DR
ConceptAgent is a training-free, black-box framework that "awakens" erased concepts in diffusion models without needing access to their internal weights or gradients. By injecting surrogate-guided noise into the middle of the denoising process, it demonstrates that current safety erasure methods merely suppress text-to-image mappings rather than truly removing the underlying knowledge from the model.
What Problem Does This Paper Address?
As text-to-image diffusion models (DMs) become ubiquitous, so do concerns about their ability to generate harmful, copyrighted, or sensitive content. To mitigate this, researchers developed "concept erasure" methods designed to surgically remove specific concepts (like "pistol" or "nudity") from pretrained models.
However, the authors of this paper argue that these defenses are brittle. Most erasure techniques focus on breaking the link between a specific text prompt and the resulting image. This paper tackles the challenge of black-box concept awakening: can an attacker still force the model to generate an erased concept without knowing the model's parameters or internal representations? The authors show that because erasure primarily disrupts the early stages of image generation, the model's internal "semantic memory" remains vulnerable to clever interventions in the noise.
Methods
The core of the paper is a shift in perspective: viewing image generation not as a single step, but as a denoising trajectory.
The authors observe that the denoising process is driven by two components: a text-conditioned estimate (what the prompt says) and a semantic-noise estimate (the structure already forming in the noise). Early in the process, the text dominates. Later, the model relies more on the evolving noisy state to refine details. Concept erasure usually only breaks the early, text-dominant stage.
To exploit this, they propose ConceptAgent, a multi-agent framework using Multimodal Large Language Models (MLLMs):
- Strategist Agent: Decomposes the erased concept (e.g., "golf ball") into "surrogate concepts" that share its geometry (e.g., "moon," "white plate") and visual attributes.
- Guesser Agent: Generates an image of a surrogate, extracts its silhouette, applies the target's color priors, and adds noise to reach a specific intermediate timestep ($t_f$). It then restarts the denoising process from this "surrogate-guided" state using descriptive adjectives. This effectively bypasses the erased early-stage text mapping.
- Director Agent: Takes the "awakened" object and realistically composes it into a background, ensuring lighting, shadows, and spatial consistency are physically plausible.
- Referee Agent: Acts as a final quality check, evaluating the candidates for semantic fidelity and realism.
Datasets
The authors evaluated their method on Stable Diffusion (v1.4 and v2.1) erased using three state-of-the-art methods: UCE, SPEED, and RECE.
- Target Concepts: They used three benign objects from ImageNette (golf ball, tench, garbage truck) and one harmful concept (pistol).
- Generalization: They also tested safety-critical concepts like "nudity" and "blood" to prove the attack's real-world implications.
- Evaluation Metrics: Performance was measured using Classification Accuracy (ACC) (via a ResNet-50) and CLIP Similarity to gauge how well the awakened image matched the original concept.
Key Insights and Ideas
- Erasure is not Deletion: The most striking finding is that erased concepts aren't "forgotten"; they are just "hidden" behind a broken door. If you enter the denoising trajectory through a "side window" (the surrogate noise), the model's internal dynamics naturally gravitate back to the erased concept.
- The Trajectory Matters: Figure 2 shows that if you start with a clean model and switch to an erased one halfway through, the concept still appears. Conversely, if you start with an erased model, the concept is suppressed even if you switch to a clean model later. This proves the "early-stage" vulnerability.
- Black-Box Power: Unlike previous "white-box" attacks that require calculating gradients, ConceptAgent works entirely through the standard API/inference interface of the model, making it a much more practical threat model.
Key Results
ConceptAgent significantly outperformed existing black-box awakening methods. For a model where the "golf ball" concept was erased using UCE (reducing accuracy to near 0%), ConceptAgent restored generation accuracy to 79.5% using GPT-5 as the agent backbone.
Qualitatively, the framework produced high-fidelity images that were often indistinguishable from those of the original, unerased model, successfully reintroducing complex textures and shapes that were supposed to be gone.
Limitations and Future Work
- Agent Dependency: The system relies heavily on the reasoning capabilities of the underlying MLLM (like GPT-5 or Gemini). If the MLLM cannot find a suitable surrogate, the awakening might fail.
- Computational Cost: Running multiple agents and a segmentation model for every generation is significantly slower and more expensive than a simple prompt.
- Future Defenses: The authors suggest that future erasure research must move beyond simple text-mapping disruption and find ways to neutralize the semantic information stored within the model's noise-driven dynamics.
Summary updated