BSPA: Exploring Black-box Covert Prompt Attacks against Image GeneratorsBSPA: Exploring Black-box Stealthy Prompt Attacks against Image Generators
AI summary
The researchers propose a black-box covert prompt attack method against image generators, BSPA, which can induce models to generate NSFW content. The method uses a retriever to simulate API user attacks, and adjusts the sensitive-word retrieval space with filter scores to construct covert prompts; it is model-agnostic and requires no access to model internal features. Experiments show the attack is effective on black-box models such as Stable Diffusion XL, Midjourney, and DALL-E 2/3. The authors also build an automated prompt attack tool and a dataset, NSFWeval, and develop a resilient text filter and provide defense recommendations.