Mapping Where Diffusion Watermarks Break Under Geometric Warps

Invisible watermarks for AI-generated images usually survive noise, blur and JPEG compression. They often fail when the image is simply rotated, cropped, or warped, because the detector loses track of where the hidden signal sits even though the signal is still in the pixels. Today this weakness is measured by trying a handful of fixed edits, such as "rotate 15°" or "crop to 50%", and reporting one number for each. This proposal replaces that spot check with a map. We use MAP-Elites, a search method that keeps the best solution found for each cell of a grid of user-chosen properties, to build a robustness envelope for a given watermark. For every combination of "how much of the image survives" and "how non-rigid the warp is", the envelope records the gentlest warp that makes the detector miss the mark. Filling that map requires many detector calls, and some detectors must run the diffusion model backwards for every call. We therefore add a statistical early-stopping rule that drops a candidate warp once its miss rate provably cannot beat the current best in its cell. This rule plays the same role as the bounding functions that prune combinatorial search.

In two sentences: we search the space of image warps, including non-affine warps that local grid points bend, for the mildest distortions that defeat a watermark, and we organize the results by how destructive and how non-rigid each warp is. A sequential test cuts most of the expensive detector evaluations. The resulting archive serves two purposes: it diagnoses where the watermark breaks, and it supplies hard training examples to patch the detector.

Core Claim

The warp space where watermarks break is high-dimensional. A thin-plate-spline warp with a 4×4 control grid already has 32 displacement parameters, before crop, rotation and aspect change are added. In a space that size, failures that stay perceptually mild occupy a small volume that uniform sampling rarely hits. We claim three things. First, at an equal budget of detector calls, a MAP-Elites archive whose axes are measured properties of the warp finds detector failures at lower perceptual cost, and in more cells, than random or Latin-hypercube sampling. Second, a bound-based early-stopping rule cuts the number of full-image detector evaluations by a large factor while leaving the archive's elites essentially unchanged. Third, fine-tuning a latent detector on archive elites improves robustness to held-out non-affine warps more than fine-tuning on an equal number of randomly drawn warps.

Why This Gap Is Real

The motivating evidence is consistent. StegaStamp trains an encoder–decoder watermark through a differentiable perturbation pipeline and found spatial perturbations much harder to train against than pixelwise noise. Watermarking One for All shows that small translations hurt decoders more than losing most of the image to occlusion. The diffusion-era schemes show the same weakness. Tree-Rings embeds a key in the Fourier spectrum of the initial noise and gains rotation invariance through radially symmetric keys, but detecting it requires DDIM inversion, which runs the sampler backwards to recover the noise. T2SMark balances robustness against image diversity, yet it struggles with heavy rotation. SERUM replaces inversion with a 2.5M-parameter latent detector trained with prioritized replay of hard edits, and still degrades when less than 25% of the image area remains or under strong rotation.

Every one of these papers reports robustness at a few hand-picked settings. None says where in the space of combined warps the failure boundary lies.

The closest connecting work does something different. Rethinking Forgery Attacks on Semantic Watermarks shows that forgeries leave structured latent deformations, namely angular drift and SPD-matrix deformation, and uses those to detect forgeries. It does not search for removal warps. We borrow its two metrics only as secondary diagnostics. Invisible Image Watermarks Are Provably Removable removes pixel-level marks with a single regeneration pipeline. That same paper reports that Tree-Ring largely survives regeneration, so semantic watermarks remain open targets for cheaper geometric attacks.

On the search side, GAME coevolves adversarial populations in games, and Compositional Evolutionary Probing uses MAP-Elites as a diagnostic probe of an LLM's safety behavior. Neither has been applied to image provenance. The second paper supplies our framing: archives are more informative as maps of graded degradation than as binary exploits.

Research Program

A candidate solution is a composite warp $g$. It consists of an off-center crop box, a rotation, an anisotropic rescale, and a thin-plate-spline displacement field on a coarse control grid, all followed by resampling back to the detector's input size. Mutation perturbs these parameters with Gaussian noise.

We evaluate each warp on a fixed batch of $B$ watermarked images generated from prompts in the Stable Diffusion Prompts set. The detector threshold is calibrated to 1% false-positive rate on unwatermarked COCO and LAION images. Fitness is

$$F(g) = \hat{m}(g) - \lambda\, \mathrm{LPIPS}(g),$$

where $\hat{m}(g)$ is the fraction of the batch the detector misses after warp $g$, $\mathrm{LPIPS}(g)$ is the mean perceptual distance between warped and original images over their overlapping region, and $\lambda$ trades attack strength against visible damage.

The archive has two axes, and both are computed from the warp, not taken from its parameters. The first is the fraction of original content still visible. The second is non-rigidity, defined as the mean pixel residual left after fitting the best affine map to the warp. The second axis is what separates this study from existing rotation and crop sweeps: it measures how far a failure lies outside the transformations that analytic invariances such as Tree-Ring's rings are designed for. We keep the grid two-dimensional on purpose, which avoids the exponential blow-up of multi-axis grids. We log Lee et al.'s latent drift and SPD deformation for each elite so we can ask whether latent geometry predicts the failures.

The efficiency ingredient targets the dominant cost, which is detector calls. The worst case is inversion-based detectors, where SERUM reports that RingID needs over 140 minutes for 5,000 images. A candidate only matters if it beats the incumbent elite of its cell. We therefore evaluate images in stages of 8, 16, 32 and so on. After each stage we compute a Hoeffding upper confidence bound on $\hat{m}(g)$ and discard the candidate once that bound, minus its LPIPS penalty, falls below the incumbent's fitness. This mirrors the bound-and-prune logic of RRSplit. The difference is that our bounds are probabilistic rather than exact, so we report how often a discarded candidate would in fact have become an elite.