Evaluation of Security of ML-based Watermarking: Copy and Removal Attacks

Vitaliy Kinakh, Brian Pulfer, Yury Belousov, Pierre Fernandez, Teddy Furon, Slava Voloshynovskiy · DOI

Abstract

As AI-generated content proliferates, digital watermarking has transitioned from traditional mathematical methods to sophisticated machine learning (ML) schemes that embed information within the latent spaces of Vision Foundation Models (VFMs). While these methods demonstrate high robustness against accidental distortions, their security against adversarial attacks remains under-explored. This paper evaluates the security of latent-space watermarking, specifically focusing on DINOv1-based architectures. We demonstrate that an adversary can exploit the public nature of these foundation models to perform successful "Copy" and "Removal" attacks. Our results show a 100% success rate for zero-bit copy attacks and near-total removal of watermarks while maintaining high visual fidelity (PSNR > 40dB), highlighting a critical vulnerability in relying on open-source models for secure provenance.

1. Introduction

Digital watermarking is a cornerstone of content authentication and copyright protection. Modern approaches have moved beyond simple pixel-level modifications to "latent space" watermarking. These systems leverage the abstract representations of powerful Vision Foundation Models (VFMs) to hide data in a way that is highly robust to common image transformations like cropping or resizing.

However, a fundamental distinction exists between robustness—the ability to survive unintentional signal processing—and security—the ability to resist deliberate, malicious manipulation. This study investigates whether the transparency of the underlying foundation models (e.g., DINOv1) constitutes a security flaw that allows attackers to bypass protections without possessing the secret key.

2. Attack Methodologies

The researchers categorize adversarial threats into two primary types: Copy Attacks and Removal Attacks. Both assume a "white-box" knowledge of the foundation model but a "black-box" status regarding the specific watermark key or message.

2.1 Watermark Copy Attack

In a copy attack, the adversary aims to extract a watermark from a protected image and embed it into an unauthorized target image. By utilizing gradient descent, the attacker optimizes the target image's pixels so that its latent representation matches that of the watermarked image. The goal is to achieve this latent alignment while ensuring the visual change to the target image remains imperceptible.

2.2 Watermark Removal Attack

Removal attacks seek to render the watermark unreadable by the detector. The study explores two strategies:

  • Untargeted Removal: The attacker pushes the image's latent representation away from its current state in an arbitrary direction until the watermark detector fails.
  • Targeted Removal: The attacker forces the latent representation to align with a specific "clean" target, such as a denoised version of the image or a different, non-watermarked image. This "steering" approach often results in better visual quality than untargeted scrambling.

3. Experimental Evaluation

The attacks were tested using the DIV2K dataset, comprising 800 high-resolution images. The evaluation covered both zero-bit watermarking (presence detection) and multi-bit watermarking (message extraction).

3.1 Key Findings

  • Universal Vulnerability in Zero-Bit Schemes: For zero-bit watermarking, the copy attack achieved a 100% success rate. Attackers could effectively "forge" a watermark on any image with negligible distortion.
  • High-Fidelity Removal: Removal attacks were highly effective. The authors reported a probability of miss ($P_m$) near 1.0 for images maintaining a Peak Signal-to-Noise Ratio (PSNR) of 40dB. This indicates the watermark was successfully stripped while the image remained visually pristine.
  • Multi-Bit Resilience vs. Vulnerability: While multi-bit payloads (e.g., 100 bits) are more complex, they remain vulnerable. Copy attacks maintained a Bit Error Rate (BER) of less than 1% at a high PSNR of 45dB, suggesting that complexity does not inherently provide security if the underlying model is public.

4. Discussion and Conclusion

The core insight of this research is that the foundation model acts as a "public lock." Because models like DINOv1 are open-source and frozen, an attacker can calculate the exact gradients needed to navigate the latent space.

The study concludes that using off-the-shelf, public VFMs for secure watermarking is inherently risky. For applications requiring high security—such as legal evidence or the detection of "deepfakes"—the community must move toward models with private latent space mappings or architectures specifically hardened against adversarial gradient-based attacks. Future research should extend these evaluations to newer architectures like DINOv2 and CLIP to determine if increased model scale offers any inherent security benefits.

Summary updated

BibTeX
@inproceedings{kinakh2024evaluation,
  author = {Vitaliy Kinakh and Brian Pulfer and Yury Belousov and Pierre Fernandez and Teddy Furon and Slava Voloshynovskiy},
  title = {{Evaluation of Security of ML-based Watermarking: Copy and Removal Attacks}},
  booktitle = {WIFS},
  year = {2024},
  url = {https://openreview.net/forum?id=LLpofYYiKa},
}
Figure