T2SMark: Balancing Robustness and Diversity in Noise-as-Watermark for Diffusion Models

Jindong Yang, Han Fang, Weiming Zhang, Nenghai Yu, Kejiang Chen
10/25/2025
cs.CVcs.AI

Official code: 0xD009/T2SMark (51 stars, Apache-2.0, last commit 2026-04-28).

Abstract

Diffusion models have advanced rapidly in recent years, producing high-fidelity images while raising concerns about intellectual property protection and the misuse of generative AI. Image watermarking for diffusion models, particularly Noise-as-Watermark (NaW) methods, encode watermark as specific standard Gaussian noise vector for image generation, embedding the infomation seamlessly while maintaining image quality. For detection, the generation process is inverted to recover the initial noise vector containing the watermark before extraction. However, existing NaW methods struggle to balance watermark robustness with generation diversity. Some methods achieve strong robustness by heavily constraining initial noise sampling, which degrades user experience, while others preserve diversity but prove too fragile for real-world deployment. To address this issue, we propose T2SMark, a two-stage watermarking scheme based on Tail-Truncated Sampling (TTS). Unlike prior methods that simply map bits to positive or negative values, TTS enhances robustness by embedding bits exclusively in the reliable tail regions while randomly sampling the central zone to preserve the latent distribution. Our two-stage framework then ensures sampling diversity by integrating a randomly generated session key into both encryption pipelines. We evaluate T2SMark on diffusion models with both U-Net and DiT backbones. Extensive experiments show that it achieves an optimal balance between robustness and diversity. Our code is available at \href{https://github.com/0xD009/T2SMark}{https://github.com/0xD009/T2SMark}.

View on arXivView PDF

Code Implementations(1)

0xD009/T2SMarkOfficial100%
Apache-2.0

[NeurIPS 2025] The official implementation of "T2SMark: Balancing Robustness and Diversity in Noise-as-Watermark for Diffusion Models"

511PythonOct 25, 20255 months agoApache-2.0

Similar Papers

Cite this paper

@article{yang2025tsmark,
  title  = {T2SMark: Balancing Robustness and Diversity in Noise-as-Watermark for Diffusion Models},
  author = {Jindong Yang and Han Fang and Weiming Zhang and Nenghai Yu and Kejiang Chen},
  year   = {2025},
  eprint = {2510.22366},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.22366v1}
}

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/2510.22366.svg)](https://codeofpaper.com/paper/2510.22366)

Discussion