Box-Free Model Watermarks Are Prone to Black-Box Removal Attacks

Haonan An, Guang Hua, Zhiping Lin, Yuguang Fang

TL;DR

Box-free watermarking, an emerging technique for protecting generative AI models, is significantly more vulnerable than previously thought. This paper demonstrates that even without access to a model's internal parameters, attackers can use gradient estimation or "proxy" models to effectively strip or even overwrite watermarks while maintaining high image quality.

What Problem Does This Paper Address?

As deep learning models become valuable intellectual property, researchers have developed "watermarking" techniques to prove ownership and track unauthorized use. For generative models (like those used for image denoising or enhancement), a popular approach is box-free watermarking. Unlike traditional methods that hide marks in model parameters or rely on specific "trigger" inputs, box-free methods embed an invisible watermark directly into the model's output images. An "extraction network" (ENet) can then be used to pull this mark from any image generated by the model.

Fig. 1. Flowchart of box-free watermarking for image-to-image models, where image denoising is used as an example.

The core problem is that while these methods are flexible, their security hasn't been rigorously tested against sophisticated black-box attacks. The authors of this paper set out to prove that these "invisible" protections can be systematically bypassed.

Methods

The authors propose a new framework for Watermark Removal Attacks using a "Removal Network" (RNet). They explore three increasingly difficult threat scenarios:

  1. Scenario 1 (White-Box Extractor): The attacker has black-box access to the image generator but can see the internal structure of the extraction network (ENet). They use an Extractor-Gradient-Guided (EGG) approach to train the RNet.
  2. Scenario 2 (Black-Box Extractor): The ENet is also a black box (e.g., a cloud API). The authors use adversarial attack techniques to estimate the gradients of the ENet, allowing the EGG remover to still function.
  3. Scenario 3 (Inaccessible Extractor): The most realistic and challenging case where the ENet is completely hidden. Here, the authors use transferability: they train their own "proxy" hiding and extraction networks on private data, develop a remover for those proxies, and show it successfully attacks the original victim model.
Fig. 2. Flowchart of the victim model and the proposed attack, where ONet and ENet are secured in black-box, with only their API available to attacker. Images processed by RNet will be watermark-free, corresponding to all-white outputs from ENet.

The training process for these removers (shown below) balances two goals: keeping the image quality high (Quality Loss) and ensuring the extractor sees nothing but a blank image (Removal Loss).

Fig. 3. Flowchart of the training process for the proposed (a) EGG RNet and (b) Transferable RNet. Note that the proxy models are private and are frozen during the training of the Transferable RNet.

Datasets

The researchers evaluated their attacks using the PASCAL VOC dataset, focusing on an image deraining task. They used 12,000 images, split into two disjoint sets of 6,000: one for training the "victim" models and another for training the "attacker" removers. This ensures the attack's success isn't just due to seeing the same data.

Key Insights and Ideas

  • Gradient Feedback is the Key: Even if you can't see inside the "black box" extractor, you can "poke" it with slightly different images and observe the output to estimate which way to change the image to hide the watermark.
  • Watermarking is a Coupling/Decoupling Process: The authors hypothesize that because different watermarking models perform similar mathematical "coupling" (hiding) and "decoupling" (extracting) tasks, a remover trained on one set of models will likely work on others—a property known as transferability.
  • Beyond Removal: Overwriting: The EGG attack is so precise it doesn't just erase watermarks; it can be modified to "overwrite" them with a new, fake watermark, potentially allowing an attacker to claim ownership of the model themselves.
  • Fragility of "Invisible" Marks: The study reveals that current box-free methods are often more fragile than simple image processing (like JPEG compression), which they were designed to withstand.

Key Results

The results are striking across the board:

  • 100% Success Rate: In many tests, the EGG and Transferable removers achieved a 1.00 success rate (SRR) in making the extraction network output a "blank" image.
  • High Fidelity: The "cleaned" images maintained high quality, with PSNR values often exceeding 30dB and MS-SSIM scores near 0.99, meaning the removal is virtually undetectable to the human eye.
  • Superiority over Baselines: The proposed attacks far outperformed traditional methods like lattice attacks (which leave visible artifacts) or standard noise addition.
  • Successful Overwriting: The EGG remover successfully replaced original watermarks with new ones (e.g., replacing an "IEEE" mark with a "PAMI" mark) with high correlation coefficients (up to 0.984).

Limitations and Future Work

While highly effective, the authors note a few hurdles:

  • Computational Cost: Estimating gradients in a black-box setting (Scenario 2) requires hundreds of queries per training step, which is time-consuming.
  • Narrow Scope: The current work focuses on low-level image processing. Future research is needed to see if these vulnerabilities extend to other generative tasks like text generation (NLP) or more complex image synthesis (e.g., Stable Diffusion).
  • The Arms Race: This paper serves as a "call for further research" into developing more robust, removal-proof watermarking schemes that can survive these types of gradient-based and transfer-based attacks.

Summary updated

BibTeX
@article{an2026box,
  author = {Haonan An and Guang Hua and Zhiping Lin and Yuguang Fang},
  title = {{Box-Free Model Watermarks Are Prone to Black-Box Removal Attacks}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2026},
  doi = {10.1109/tpami.2026.3688047},
}
Figure