TIDE: Trajectory-Aware Watermark Propagation for Text-to-Image Diffusion Models

Yihan Meng, Suping Xu, Yanfeng Wu, Chongjun Wang, Lin ShangNeurIPS 2026

TL;DR

Embedding invisible watermarks into AI-generated images usually forces an annoying compromise: inject the watermark too aggressively and the image looks visibly different from what the prompt asked for; inject it too gently and simple image edits wipe it out. TIDE solves this by treating diffusion watermarking like air traffic control—actively steering the watermark into the mathematical "blind spots" of the text prompt during generation. The result is an imperceptible watermark that survives brutal image attacks while leaving the intended picture virtually untouched.

What Problem Does This Paper Address?

As text-to-image diffusion models generate photorealistic media at scale, proving an image's origin is critical. Post-processing watermarks (stamped onto finished images) are fragile—cropping, blurring, or JPEG compression easily destroys them.

In-processing methods improve resilience by baking the watermark directly into the diffusion denoising loop—the step-by-step process that turns random noise into a coherent image. However, existing methods either plant a key in the initial noise (like Tree-Ring), which can cause the final image layout to drift dramatically from an unwatermarked version, or inject it midway using a rigid rule (like ROBIN). Because they treat watermark survival as a passive or fixed process after injection, the watermark guidance and the text prompt end up fighting over the same pixels, degrading either visual fidelity or watermark detectability.

Methods

Instead of a "fire-and-forget" injection, TIDE treats watermarking as a continuous trajectory-control problem across four phases:

Overview of the TIDE pipeline
  1. Intermediate Fourier Injection & Joint Training: Standard text-guided denoising runs until an intermediate step $\tau$ (after coarse shapes have formed). Here, TIDE overwrites selected Fourier frequency coefficients of the latent image with a learnable watermark $W$. Alongside $W$, TIDE trains an auxiliary "watermark condition" embedding ($c_{\text{wm}}$—essentially a helper prompt) using losses that enforce detectability while penalizing both immediate local distortion and final image drift.
  2. Subspace Decomposition (The Novel Twist): For the remaining denoising steps, the U-Net predicts noise residuals for both the text prompt and the watermark condition. TIDE tracks recent text-guidance directions to build a local "semantic subspace." It then projects the watermark residual onto the null space of those text directions—discarding the conflicting part and keeping only the component orthogonal to what the text prompt is currently sculpting.
Subspace decomposition of the watermark residual
  1. Adaptive Budget Allocation: Rather than using fixed guidance weights, TIDE dynamically divides the guidance budget at every step based on three live trajectory stats: semantic conflict, how sharply the text trajectory is curving, and relative residual strength.
  2. Standard Verification: To check a suspect image, TIDE uses standard null-prompt DDIM partial inversion (running the diffusion math backward to step $\tau$ without needing the original text prompt) and checks if the masked Fourier frequencies match $W$.

Datasets

No new benchmarks were introduced. Using Stable Diffusion v2.1, the authors used:

  • Gustavosta (stable-diffusion-prompts): Used to train/optimize the watermark and auxiliary condition, as well as for in-distribution evaluation.
  • MS-COCO 2017: Used for zero-shot evaluation (including 5,000 training-split images for FID calculations) to verify that a watermark learned on one prompt style transfers cleanly to general image descriptions.

Key Insights and Ideas

  • Blind-spot steering beats brute force: In ablation tests, applying a fixed watermark guidance budget after injection sometimes performed worse than using no post-injection guidance at all, proving that uncoordinated guidance actively sabotages itself. Projecting the watermark away from recent text directions resolves this tug-of-war.
  • Zero-shot temporal transfer: A watermark and condition trained strictly at denoising step 35 out of 50 can be injected at steps 5, 15, or 25 without retraining and still maintain high detection rates.
  • The "Goldilocks" injection window: Injecting very late (e.g., step 45) yields near-perfect image fidelity, but leaves too few denoising steps for the watermark to weave into the image structure, causing detection to plummet under blur and rotation attacks.

Key Results

Evaluated across 5,000 watermarked and 5,000 clean images, TIDE pushes both robustness and visual preservation forward:

  • Attack Robustness: Without attacks, TIDE hits the ceiling at 1.000 AUC and 1.000 TPR@1%FPR (True Positive Rate at a 1% False Positive Rate). Under a suite of attacks (cropping, rotation, blur, noise, JPEG, and VAE reconstruction), TIDE achieves a mean 0.999 AUC and 0.986 TPR@1%FPR—a massive leap over its closest competitor, ROBIN (0.981 AUC / 0.825 TPR@1%FPR), and Tree-Ring (0.975 / 0.694).
  • Visual & Semantic Fidelity: Compared to unwatermarked reference images generated from the exact same seed, TIDE achieves 24.53 dB PSNR and 0.797 SSIM (beating ROBIN's 23.61 PSNR / 0.757 SSIM and Tree-Ring's 15.11 PSNR / 0.546 SSIM). It also shows zero degradation in prompt alignment (0.403 CLIP Score, identical to clean images) and minimal distributional shift (25.80 FID vs. 25.63 clean).

Limitations and Future Work

  • Model-Owner Verification Only: Because verification relies on inverting the image through the diffusion model's weights, third parties cannot verify watermarks locally without an API or public verifier service.
  • Payload Capacity: TIDE tests zero-bit detection (is the watermark present or not?). Extending trajectory-aware guidance to multi-bit payloads (encoding specific user IDs or metadata) could cause watermark components to interfere with one another.
  • Adaptive Inversion Attacks: Deterministic DDIM inversion could be vulnerable to clever adversarial perturbations specifically crafted to throw off the inversion trajectory, motivating randomized or more robust inversion schemes in future work.

Summary updated

Abstract

Watermarking text-to-image diffusion models provides a practical mechanism for provenance tracking and responsible deployment. Post-processing methods are easy to deploy but vulnerable to image-space transformations. In-processing methods improve robustness by embedding the watermark within the denoising trajectory. Yet most existing methods inject the signal into the initial noise or a fixed intermediate latent, without controlling how it evolves during the remaining denoising steps. This can entangle watermark preservation with text-guided generation, risking weaker verification or degraded content fidelity. We propose TIDE, a trajectory-aware watermarking method for text-to-image diffusion models. TIDE injects a learnable watermark into an intermediate latent and jointly optimizes it with an auxiliary watermark condition, using preservation and detection objectives to limit deviation from the unwatermarked reference while maintaining separable watermark evidence. During sampling, TIDE estimates recent text-guidance directions and redirects watermark guidance toward the residual component less aligned with this local text subspace, reducing avoidable interference with semantic generation. Verification uses null-prompt partial inversion to recover the injection latent and match its masked coefficients to the target watermark. Experiments show that TIDE achieves reliable verification on unattacked images, improves robustness under common attacks, and better preserves semantic and visual fidelity.
BibTeX
@inproceedings{meng2026tide,
  author = {Yihan Meng and Suping Xu and Yanfeng Wu and Chongjun Wang and Lin Shang},
  title = {{TIDE: Trajectory-Aware Watermark Propagation for Text-to-Image Diffusion Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=1tohGAfGuc},
}
Figure