Lune

ACM MM2024Top-tier venue

Safe-SD: Safe and Traceable Stable Diffusion with Text Prompt Trigger for Invisible Generative Watermarking

Zhiyuan Ma, Guoli Jia, Biqing Qi, Bowen Zhou

Abstract

Recently, stable diffusion (SD) models have typically flourished in the field of image synthesis and personalized editing, with a range of photorealistic and unprecedented images being successfully generated. As a result, widespread interest has been ignited to develop and use various SD-based tools for visual content creation. However, the exposure of AI-created content on public platforms could raise both legal and ethical risks. In this regard, the traditional methods of adding watermarks to the already generated images (i.e. post-processing) may face a dilemma (e.g., being erased or modified) in terms of copyright protection and content monitoring, since the powerful image inversion and text-to-image editing techniques have been widely explored in SD-based methods. In this work, we propose a Safe and high-traceable Stable Diffusion framework (namely Safe-SD) to adaptively implant the graphical watermarks (e.g., QR code) into the imperceptible structure-related pixels during the generative diffusion process for supporting text-driven invisible watermarking and detection. Different from the previous high-cost injection-then-detection training framework, we design a simple and unified architecture, which makes it possible to simultaneously train watermark injection and detection in a single network, greatly improving the efficiency and convenience of use. Moreover, to further support text-driven generative watermarking and deeply explore its robustness and high-traceability, we elaborately design a λ-sampling and λ-encryption algorithm to fine-tune a latent diffuser wrapped by a VAE for balancing high-fidelity image synthesis and high-traceable watermark detection. We present our quantitative and qualitative results on two representative datasets LSUN, COCO and FFHQ, demonstrating state-of-the-art performance of Safe-SD and showing it significantly outperforms the previous approaches.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • High-Resolution Image Synthesis with Latent Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
  • The Future Unmarked: Watermark Removal in AI-Generated Images via Next-Frame Prediction cites High-Resolution Image Synthesis with Latent Diffusion Models
  • The Future Unmarked: Watermark Removal in AI-Generated Images via Next-Frame Prediction cites Learning Transferable Visual Models From Natural Language Supervision
  • Diffusion Models Beat GANs on Image Synthesis cites Learning Transferable Visual Models From Natural Language Supervision
  • Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
  • DreamAlign: Dynamic Text-to-3D Optimization with Human Preference Alignment cites High-Resolution Image Synthesis with Latent Diffusion Models
  • DreamAlign: Dynamic Text-to-3D Optimization with Human Preference Alignment cites Neural Residual Diffusion Models for Deep Scalable Vision Generation
  • Directly Denoising Diffusion Models cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Directly Denoising Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
  • Directly Denoising Diffusion Models cites Denoising Diffusion Probabilistic Models
  • Safe-Sora: Safe Text-to-Video Generation via Graphical Watermarking cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Safe-Sora: Safe Text-to-Video Generation via Graphical Watermarking cites Diffusion Models Beat GANs on Image Synthesis
  • Safe-Sora: Safe Text-to-Video Generation via Graphical Watermarking cites Denoising Diffusion Probabilistic Models
  • Neural Residual Diffusion Models for Deep Scalable Vision Generation cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Neural Residual Diffusion Models for Deep Scalable Vision Generation cites Diffusion Models Beat GANs on Image Synthesis
  • Neural Residual Diffusion Models for Deep Scalable Vision Generation cites Denoising Diffusion Probabilistic Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Neural Residual Diffusion Models for Deep Scalable Vision GenerationZhiyuan Ma, Liangliang Zhao, Biqing Qi, Bowen ZhouNeurIPS 2024 · 15 citations
  2. Safe-Sora: Safe Text-to-Video Generation via Graphical WatermarkingZihan Su, Xuerui Qiu, Hongbin Xu, Tangyu Jiang et al.NeurIPS 2025 · 11 citations
  3. The Future Unmarked: Watermark Removal in AI-Generated Images via Next-Frame PredictionHuming Qiu, Zhaoxiang Wang, Mi Zhang, Xiaohan Zhang et al.NeurIPS 2025 · 5 citations
  4. PromptCOS: Towards Content-Only System Prompt Copyright Auditing for LLMsYuchen Yang, Yiming Li, Hongwei Yao, Enhao Huang et al.S&P 2026 · 5 citations
  5. DreamAlign: Dynamic Text-to-3D Optimization with Human Preference AlignmentGaofeng Liu, Zhiyuan Ma, Tao FangAAAI 2025 · 4 citations

Builds on37

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  3. Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
  4. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  5. Directly Denoising Diffusion ModelsDan Zhang, Jingjing Wang, Feng LuoICML 2024 · 11,724 citations

Related papers

  1. RAW: A Robust and Agile Plug-and-Play Watermark Framework for AI-Generated Images with Provable GuaranteesXun Xian, Ganghua Wang, Xuan Bi, Jayanth Srinivasa et al.NeurIPS 2024 · 17 citations
  2. How to Trace Latent Generative Model Generated Images without Artificial Watermark?Zhenting Wang, Vikash Sehwag, Chen Chen, Lingjuan Lyu et al.ICML 2024 · 24 citations
  3. Shallow Diffuse: Robust and Invisible Watermarking through Low-Dim Subspaces in Diffusion ModelsWenda Li, Huijie Zhang, Qing QuNeurIPS 2025 · 8 citations
  4. StableGuard: Towards Unified Copyright Protection and Tamper Localization in Latent Diffusion ModelsHaoxin Yang, Bangzhen Liu, Xuemiao Xu, Cheng Xu et al.NeurIPS 2025 · 5 citations
  5. Attack-Resilient Image Watermarking Using Stable DiffusionLijun Zhang, Xiao Liu, Antoni Viros Martin, Cindy Xiong Bearfield et al.NeurIPS 2024 · 62 citations
Dusk over the sea between two cliffs drawn in fine vertical lines