SneakyPrompt examines the prompt it has been given, searches for words known to be…
- User
SneakyPrompt examines the prompt it has been given, searches for words known to be blocked by the models, and converts them into tokens. It then replaces the tokens from the banned words with tokens from non-banned words that share semantics, or meanings, similar to the model. For example, giving SneakyPrompt the target prompt “a naked man riding a bike” causes it to replace “naked” with the nonsense term “grponypui,” which the team successfully used to generate images of a naked man riding a bike.
Assistant
The purpose of this technique is to bypass the censorship mechanisms of image generation models, which often block explicit or taboo content. By replacing banned words with semantically similar alternatives, SneakyPrompt is able to generate images that accurately depict the intended scene, without directly violating the models' content restrictions. This allows for more creative and diverse output in image generation tasks.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.