Abstract
CLUE-MARK is a novel watermarking scheme for diffusion models that leverages a cryptographically hard lattice problem—Continuous Learning With Errors (CLWE)—to embed hidden messages within an image's latent noise. It is the first method to provide provable undetectability, ensuring watermarked images are statistically indistinguishable from originals while maintaining high image quality and robustness against common transformations.
Introduction
The proliferation of synthetic media, often termed "AI Slop," has created an urgent need for reliable methods to distinguish between authentic and AI-generated content. Watermarking is a primary candidate for this task, yet existing techniques often suffer from a "quality vs. security" trade-off. Heuristic methods frequently degrade image quality or are vulnerable to statistical detection (steganalysis) and removal.
CLUE-MARK addresses these challenges by creating a watermark that is mathematically guaranteed to be undetectable to anyone without the secret key. Crucially, it achieves this without requiring modifications to the underlying diffusion model, operating instead as a pre-processing step on the latent noise.
Methodology
CLUE-MARK functions by modifying the latent noise vector ($z$) that initializes the diffusion process. The core innovation lies in the use of the homogenous Continuous Learning With Errors (hCLWE) distribution.
The hCLWE Distribution
Instead of sampling noise from a standard Gaussian distribution, CLUE-MARK utilizes hCLWE. To an observer lacking the secret key, this distribution is statistically identical to a standard Gaussian. However, when projected along a specific "secret direction" (the key), the distribution reveals a periodic structure—appearing as discrete "slices" or "pancakes" in high-dimensional space.
Implementation Pipeline
The watermarking process involves several key steps:
- Blocking & Frequency Domain: The latent vector is partitioned into non-overlapping blocks. To enhance robustness, the watermark is applied in the frequency domain using an Inverse Discrete Wavelet Transform (IDWT).
- Efficient Sampling: A novel algorithm converts standard Gaussian samples into hCLWE samples more efficiently than traditional rejection-sampling methods.
- Signal Recovery: To verify a watermark, the system inverts the diffusion process to estimate the original latent noise. This noise is projected onto the secret direction, and a Rayleigh test (a statistical test for circular uniformity) is applied to detect the periodic signal.
Experimental Results
The researchers evaluated CLUE-MARK using Stable Diffusion v2.1 on the Stable Diffusion Prompts (SDP) and COCO datasets, comparing it against Tree Ring and Gaussian Shading baselines.
Image Quality and Detection
CLUE-MARK demonstrated superior image quality, achieving significantly lower FID scores (~40) compared to Tree Ring (~144) and Gaussian Shading (~180). This indicates that watermarked images are nearly indistinguishable from unwatermarked originals in terms of visual fidelity. In terms of detection, the system achieved an AUC of >0.99 for unperturbed images.
Robustness and Security
The watermark proved resilient to common social media transformations, maintaining high detectability after JPEG compression (AUC 0.96-0.97) and brightness adjustments (AUC 0.70-0.75). Furthermore, CLUE-MARK successfully thwarted steganalysis attacks; unlike baseline methods that reveal visible patterns when multiple images are averaged, CLUE-MARK's average remains featureless.
Discussion and Future Work
While CLUE-MARK provides provable undetectability and high quality, it faces limitations regarding geometric robustness. The current implementation is vulnerable to aggressive cropping or rotation. Future research may explore embedding signals in transformation-invariant features. Additionally, the computational cost of model inversion during recovery remains a bottleneck. Expanding the system to support multi-bit messages (e.g., unique user IDs) is another promising direction for future development.
Summary updated