Beyond Semantic Prompts: Unified Watermarking and Access Control for Text-to-Image Diffusion Models
Fangming Shi, Li Li, Guorui Feng, Xinpeng Zhang
Abstract
Text-to-image diffusion services require both traceability of generated content and differentiated access to generation capabilities. However, existing watermarking methods commonly expose watermark control through mechanisms beyond the text-prompt interface, while credential-based access control does not inherently enforce distinct output quality levels. We propose a unified framework that enables customizable multi-bit watermark embedding and tiered access control through a single text prompt. A unified prompt represents watermark messages using designated words and associates protocol structures with different access states. The framework adopts a two-stage training strategy. First, watermark payload partitioning represents messages as designated watermark words, while vocabulary extension assigns each protocol word a dedicated token with a learnable input embedding. Guided by a frozen reference model and a pretrained watermark codec, joint adaptation of the U-Net and protocol-token embeddings transfers message-dependent watermark patterns into the generation process. Second, a prompt-structure recognition network controls feature modulation within the variational autoencoder decoder, which is trained to produce clear watermarked images, blurred previews, or black outputs according to the access state. Experiments demonstrate reliable watermark recovery, robustness to common image-processing operations and evaluated model modifications, and consistent performance across diverse generation settings. The controlled decoder also achieves distinct output behaviors under restricted access while closely preserving reference decoding fidelity and watermark recoverability under full access. Our open-source code and model weights will be public after acceptance.
Create a lesson
Related papers
What Survives the Shift from Text to Pixels? Conditional Protection against Prompt Injection in Image-Rendered Documents
Shared title terminology · Haoyang Liu, Yinong Xu, Zhe Lang et al.
Suspected Until Inspected: Neuro-Symbolic Detection of Broken Access Control in Server-Side Web Applications
Shared title terminology · Chengyao Yang, Zifeng Kang, Dongqi Han et al.
Extracting Next Generation Access Control Policies from Natural Language Using LLMs: An Intermediate-Representation Approach with Back-Translation Verification
Shared title terminology · Ayesha Habib, Huixiang Zhang, Waiz Haider
Text-Aware, Vision-Blind: How Multimodal Image Editing Systems Handle Unsafe Inputs
Shared title terminology · Ziqing Yang, Yixin Wu, Michael Backes et al.
Passing NPCR Without Diffusion: Exact Signatures, a Detection Benchmark and an Audit of Published Image Ciphers
Shared title terminology · Mua'ad Alfarajat
Reject and Report: Forgery-Evident Undetectable Watermarks for Generative Image Models
Shared title terminology · Yihan Wang, Haochen Sun, Xi He et al.