ColJailBreak: Collaborative Generation and Editing for Jailbreaking Text-to-Image Deep Generation

Yizhuo Ma, Shanmin Pang, Qing Guo, Tianyu Wei, Qing Guo
2/3/2026

No confident code implementation found for this paper.

Abstract

The commercial text-to-image deep generation models ( e.g . DALL · E) can produce high-quality images based on input language descriptions. These models incorporate a black-box safety filter to prevent the generation of unsafe or unethical content, such as violent, criminal, or hateful imagery. Recent jailbreaking methods generate adversarial prompts capable of bypassing safety filters and producing unsafe content, exposing vulnerabilities in influential commercial models. However, once these adversarial prompts are identified, the safety filter can be updated to prevent the generation of unsafe images. In this work, we propose an effective, simple, and difficult-to-detect jailbreaking solution: generating safe content initially with normal text prompts and then editing the generations to embed unsafe content. The intuition behind this idea is that the deep generation model cannot reject safe generation with normal text prompts, while the editing models focus on modifying the local regions of images and do not involve a safety strategy. However, implementing such a solution is non-trivial, and we need to overcome several challenges: how to automatically confirm the normal prompt to replace the unsafe prompts, and how to effectively perform editable replacement and naturally generate unsafe content. In this work, we propose the collaborative generation and editing for jailbreaking text-to-image deep generation (ColJailBreak), which comprises three key components: adaptive normal safe substitution, inpainting-driven injection of unsafe content, and contrastive language-image-guided collaborative optimization. We validate our method on three datasets and compare it to two baseline methods. Our method

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{ma2026coljailbreak,
  title  = {ColJailBreak: Collaborative Generation and Editing for Jailbreaking Text-to-Image Deep Generation},
  author = {Yizhuo Ma and Shanmin Pang and Qing Guo and Tianyu Wei and Qing Guo},
  year   = {2026},
  doi    = {10.52202/079017-1929},
  url    = {https://doi.org/10.52202/079017-1929},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/5ecb70c0f56185bad2bff9111026febd0be9f960.svg)](https://codeofpaper.com/paper/5ecb70c0f56185bad2bff9111026febd0be9f960)

Discussion