atlas

Research map / Image generation / Text-to-image diffusion

AdvI2I: Adversarial Image Attack on Image-to-Image Diffusion Models

ICML 2025 · Image generation › Text-to-image diffusion · approach: Concept erasure in diffusion models · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes AdvI2I, an adversarial image generator that perturbs input images to make image-to-image diffusion models produce NSFW content, bypassing text filters and defenses like SLD, negative prompts, and safety checkers.

Problem

Safety of image-to-image diffusion models: existing NSFW attacks use adversarial text prompts that text filters can detect, leaving the image-condition pathway of I2I models underexplored.

Approach

Train a VAE-based adversarial image generator so that the denoised latent under a benign prompt matches the latent produced by an NSFW-shifted text embedding (derived from contrastive prompt pairs), so the perturbed image alone induces NSFW output; an adaptive variant adds a safety-checker loss and Gaussian noise during training.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use AdvI2I instead of MMAInstructPix2Pix · Nudity, w/o DefenseASR: 68.5% -> 81.5%Helped
Use AdvI2I-Adaptive instead of AdvI2IInstructPix2Pix · Nudity, SCASR: 18.0% -> 70.5%Helped
Use AdvI2I-Adaptive instead of AdvI2IInstructPix2Pix · Violence, SCASR: 32.5% -> 70.5%Helped
Use AdvI2I instead of MMASDv1.5-Inpainting · Nudity, w/o DefenseASR: 42.0% -> 82.5%Helped
Use AdvI2I-Adaptive instead of AdvI2ISDv1.5-Inpainting · Nudity, SCASR: 10.5% -> 72.0%Helped
Use AdvI2I-Adaptive instead of AdvI2ISDv1.5-Inpainting · Violence, SCASR: 31.5% -> 71.5%Helped
Add an adversarial image generator rather than directly optimizing perturbations (ablation)AdvI2I · InstructPix2Pix and SDv1.5-Inpainting, nudity and violence, w/o DefenseASR: 18.5% -> 81.5%; 18.0% -> 80.0%; 55.0% -> 82.5%; 52.5% -> 81.0%Helped
Increase noise bound ε from 32/255 to 128/255 (ablation)AdvI2I on InstructPix2Pix · Nudity, w/o DefenseASR: 76.5% -> 84.5%Helped
Increase concept strength α from 2.2 to 2.8 (ablation)AdvI2I on InstructPix2Pix · Nudity, w/o DefenseASR: 80.5% -> 82.5%Helped

Surprising findings

Limitations

Experimental setup

Datasets: NSFW Data Scraper 'sexy' category images ChatGPT-4o generated image-editing prompts

Benchmarks: NudeNet nudity detection on generated images Q16 classifier for violence

Metrics: attack success rate (ASR) LPIPS SSIM PSNR FSIM VIF TOPIQ NIQE PIQE FID

Baselines: Attack VAE MMA-Diffusion W/o Generator

Builds on: MMA-Diffusion Ring-A-Bell SneakyPrompt Glaze Safe Latent Diffusion

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy