Unified Prompt Attack Against Text-to-Image Generation Models

Duo Peng, Qiuhong Ke, Mark He Huang, Ping Hu, Jun Liu · 2025

Read Unified Prompt Attack Against Text-to-Image Generation Models by Duo Peng, Qiuhong Ke, Mark He Huang, Ping Hu, Jun Liu (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2502-16423.txt.

Description

Duo Peng and four co-authors build, in 2025 work, a frame for testing how well text-to-image models resist trick prompts. Such models can be pushed to make harmful images, and their guards sit on both the words fed in and the image that comes out. Past attacks hit one guard or the other, and leaned on slow trial and error.

Their frame joins both attacks and tunes prompts by slope-based steps, which is faster. A probe method keeps tuning alive even when the model blocks all output, so no image comes back to learn from. Two more parts keep the trick prompt close to the aim and hard for a human eye to spot. A transfer part also cuts the number of tries, which are easy to flag. Wide tests back the frame.

Catalog record

CREATORDuo Peng, Qiuhong Ke, Mark He Huang, Ping Hu, Jun Liu
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE87 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2502-16423

Browse the full library · About the Tower of Babel