Table of Contents
Fetching ...

SemBind: Binding Diffusion Watermarks to Semantics Against Black-Box Forgery Attacks

Xin Zhang, Zijin Yang, Kejiang Chen, Linfeng Ma, Weiming Zhang, Nenghai Yu

TL;DR

SemBind addresses the vulnerability of latent-based diffusion watermarks to black-box forgery by binding watermark signals to image semantics through a learned semantic masker. The framework consists of a two-stage semantic masker training pipeline and a mask-based semantic binding operation that multiplicatively modulates the initial latent of a watermark, preserving image quality while enabling a tunable anti-forgery strength via a mask ratio. Empirically, SemBind reduces false acceptance under imprinting and reprompting attacks across four latent-based schemes, while maintaining FID and CLIP metrics and preserving provable undetectability when the underlying watermark is undetectable. The approach generalizes across different diffusion backbones and datasets, offering a practical, controllable defense for provenance and copyright authentication in real-world deployment.

Abstract

Latent-based watermarks, integrated into the generation process of latent diffusion models (LDMs), simplify detection and attribution of generated images. However, recent black-box forgery attacks, where an attacker needs at least one watermarked image and black-box access to the provider's model, can embed the provider's watermark into images not produced by the provider, posing outsized risk to provenance and trust. We propose SemBind, the first defense framework for latent-based watermarks that resists black-box forgery by binding latent signals to image semantics via a learned semantic masker. Trained with contrastive learning, the masker yields near-invariant codes for the same prompt and near-orthogonal codes across prompts; these codes are reshaped and permuted to modulate the target latent before any standard latent-based watermark. SemBind is generally compatible with existing latent-based watermarking schemes and keeps image quality essentially unchanged, while a simple mask-ratio parameter offers a tunable trade-off between anti-forgery strength and robustness. Across four mainstream latent-based watermark methods, our SemBind-enabled anti-forgery variants markedly reduce false acceptance under black-box forgery while providing a controllable robustness-security balance.

SemBind: Binding Diffusion Watermarks to Semantics Against Black-Box Forgery Attacks

TL;DR

SemBind addresses the vulnerability of latent-based diffusion watermarks to black-box forgery by binding watermark signals to image semantics through a learned semantic masker. The framework consists of a two-stage semantic masker training pipeline and a mask-based semantic binding operation that multiplicatively modulates the initial latent of a watermark, preserving image quality while enabling a tunable anti-forgery strength via a mask ratio. Empirically, SemBind reduces false acceptance under imprinting and reprompting attacks across four latent-based schemes, while maintaining FID and CLIP metrics and preserving provable undetectability when the underlying watermark is undetectable. The approach generalizes across different diffusion backbones and datasets, offering a practical, controllable defense for provenance and copyright authentication in real-world deployment.

Abstract

Latent-based watermarks, integrated into the generation process of latent diffusion models (LDMs), simplify detection and attribution of generated images. However, recent black-box forgery attacks, where an attacker needs at least one watermarked image and black-box access to the provider's model, can embed the provider's watermark into images not produced by the provider, posing outsized risk to provenance and trust. We propose SemBind, the first defense framework for latent-based watermarks that resists black-box forgery by binding latent signals to image semantics via a learned semantic masker. Trained with contrastive learning, the masker yields near-invariant codes for the same prompt and near-orthogonal codes across prompts; these codes are reshaped and permuted to modulate the target latent before any standard latent-based watermark. SemBind is generally compatible with existing latent-based watermarking schemes and keeps image quality essentially unchanged, while a simple mask-ratio parameter offers a tunable trade-off between anti-forgery strength and robustness. Across four mainstream latent-based watermark methods, our SemBind-enabled anti-forgery variants markedly reduce false acceptance under black-box forgery while providing a controllable robustness-security balance.
Paper Structure (55 sections, 5 theorems, 16 equations, 8 figures, 19 tables)

This paper contains 55 sections, 5 theorems, 16 equations, 8 figures, 19 tables.

Key Result

Theorem 4.1

For latent-based watermarking scheme $\mathcal{W}$ that is provably undetectable in the single-sample (resp. multi-sample) setting, its SemBind variant $\mathcal{W}^{\mathrm{sem}}$ remains provably undetectable in the same setting.

Figures (8)

  • Figure 1: Black-box forgery attack and SemBind overview. Latent-based watermarking embeds a pattern in the initial latent noise, which a black-box attacker can transfer to forged images from at least one watermarked example. SemBind additionally binds the latent watermark to a semantic bitstring, causing verification to fail when the forged semantics deviate from the original.
  • Figure 2: Latent-based watermarking and black-box forgery attacks.
  • Figure 3: The framework of SemBind, including three components: semantic masker, embedding procedure, and extraction procedure.
  • Figure 4: Visual comparison of different latent-based watermarking methods and their SemBind-enhanced variants. (a) original unwatermarked image; (b) Tree-Ring; (c) Gaussian Shading; (d) PRC; (e) Gaussian Shading++; (f) Tree-Ring (SemBind); (g) Gaussian Shading (SemBind); (h) PRC (SemBind); (i) Gaussian Shading++ (SemBind). All images are generated from the prompt: "Post apocalyptic city overgrown abandoned city, highly detailed, art by Range Murata, highly detailed, 3d, octane render, bright colors, digital painting, trending on artstation, sharp focus."
  • Figure 5: Pixel-level spoofing by overlaying a benign source image (cat) onto a target image at scale ratio $r\in\{0.1,0.2,\ldots,0.9\}$ (with $r=0.0$ the original target and $r=1.0$ the full source image). Top: centered overlay. Bottom: bottom-right overlay. Labels report the Hamming distance $d$ to the reference semantic code of the source image.
  • ...and 3 more figures

Theorems & Definitions (11)

  • Theorem 4.1: Semantic masking preserves provable undetectability (informal)
  • Definition 6.1: Single-/multi-sample undetectability
  • Definition 6.2: SemBind post-processing on initial latents
  • Lemma 6.3: Gaussian invariance under independent sign flips and permutations
  • proof
  • Lemma 6.4: Closure under independent post-processing
  • proof
  • Theorem 6.5: Semantic masking preserves undetectability
  • proof
  • Corollary 6.6: Instantiations
  • ...and 1 more