Metraipolis › archive › dc_aad17a479b72
GuardPaint:SpeculativeSafetyDecodingforText-to-ImageGeneration — arXiv:2608.21869
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.21869
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-18T07:42:29.414Z
- SHA-256 of the archived text
2ec6e97f5c42a110b4dbba7dce417fb5c23b91169ec0ce6c9e60b6631ca58118- Stable URL of this page
https://metraipolis.com/documento/dc_aad17a479b72
How to cite
GuardPaint:SpeculativeSafetyDecodingforText-to-ImageGeneration — arXiv:2608.21869 — arXiv (en), https://arxiv.org/abs/2608.21869 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_aad17a479b72 (Metraipolis archive dc_aad17a479b72, sha256 2ec6e97f5c42a110b4dbba7dce417fb5c23b91169ec0ce6c9e60b6631ca58118)
BibTeX
@misc{dcaad17a479b72,
title = {GuardPaint:SpeculativeSafetyDecodingforText-to-ImageGeneration — arXiv:2608.21869},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.21869},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_aad17a479b72; sha256 2ec6e97f5c42a110b4dbba7dce417fb5c23b91169ec0ce6c9e60b6631ca58118},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.21869. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Text-to-image (T2I) diffusion models offer powerful visual generation, but their controllability creates a critical safety challenge: adversarial prompts can steer the denoising trajectory toward policy-violating content such as explicit nudity or graphic violence. Existing safeguards mostly act before generation through prompt filtering or after generation through image classification, leaving the diffusion process itself unguarded and often yielding only refusal rather than safe visual repair. We introduce GuardPaint, a speculative decoding framework for safe T2I generation that intervenes inside the diffusion trajectory without modifying the base model. A lightweight auditor monitors intermediate images, localizes unsafe regions, and triggers surgical inpainting repair only where needed. Candidate repairs are generated by a policy-aligned inpainter and selected through a guarded tournament that accepts edits only when they improve policy compliance while preserving prompt fidelity and perceptual quality. Across five jailbreak families SneakPrompt, MMA, PGJ, DACA, and RABell and UNet/flow-matching models including SD~1.5, SDXL, SD~3.5, and FLUX.1-dev. GuardPaint reduces attack success and harmful generations with minimal degradation to image quality, prompt fidelity, and benign behavior. Content warning: This paper contains examples involving nudity and violence that some readers may find disturbing, distressing, or offensive. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-25 in cs.AI). Categorie arXiv: Computer Vision and Pattern Recognition (cs.CV) ; Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2608.21869 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-18T07:37:52.839Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-08-25?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).