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

Haonan An, Guang Hua, Zhiping Lin, Yuguang Fang

TL;DR

This paper reveals a critical vulnerability in "box-free" deep learning watermarking, demonstrating that these protections can be bypassed by sophisticated "black-box" removal attacks. The authors introduce novel attack methods that can effectively remove or even overwrite watermarks from image processing models without needing access to their internal workings, highlighting the need for more robust watermarking solutions.

What Problem Does This Paper Address?

Deep learning models, especially those for complex tasks like image processing, represent significant investments. Protecting the intellectual property (IP) of these models is crucial, and watermarking is a promising technique. "Box-free" watermarking aims to embed watermarks into the output of generative models (like image denoisers) without requiring access to the model's internal architecture or parameters for extraction. This makes them attractive for protecting generative models where traditional white-box or black-box methods (often used for classification) fall short. However, the effectiveness of these box-free methods against determined attackers, particularly those operating under a "black-box" threat model (where only the model's input-output interface is accessible), has not been thoroughly investigated. This paper addresses this gap by demonstrating that existing box-free watermarking techniques are surprisingly vulnerable to removal attacks, even when the attacker has limited knowledge of the protected system.

Methods

The authors propose three main attack strategies, categorized by the level of access the attacker has to the watermark extraction network (ENet):

  • Extractor-Gradient-Guided (EGG) Remover (Scenarios 1 & 2): This method leverages adversarial attack principles to estimate the gradients of the watermark extraction network (ENet).
  • Scenario 1 (ReLU Activation): For ENet using only ReLU activation, the gradients can be analytically derived and used to train a "remover" network (RNet).
  • Scenario 2 (Unknown Activation): When ENet's activation is unknown, gradients are estimated through querying the ENet API, a common technique in black-box adversarial attacks. The trained RNet then aims to remove the watermark by minimizing a loss function that balances image quality preservation and watermark removal.
  • Transferable Remover (Scenario 3): In the most challenging scenario where ENet is completely inaccessible, the attacker trains a set of private "proxy" models (IPNet', HNet', ENet') that mimic the functionality of the victim's watermarking system. A remover network (RNet') is then trained on these proxy models. The key insight here is the "transferability" of the attack: the remover trained on the proxy models can effectively attack the actual victim model, even with different architectures.

A notable capability of the EGG remover is its ability to overwrite watermarks, not just remove them, which can be used to mislead ownership verification.

Datasets

The experiments were conducted using the PASCAL VOC dataset, specifically for the image deraining task. The dataset was split into training and testing sets, with images downscaled to 256x256 grayscale for computational efficiency.

Key Insights and Ideas

  • Box-free watermarks are not inherently robust to black-box removal: This is the central finding. Despite the "box-free" nature, which implies less reliance on internal model details, these watermarks can still be effectively removed by attackers who only interact with the model's API.
  • Gradient estimation is key for black-box attacks: The EGG remover demonstrates that even without direct access, estimating gradients of the extraction network is a powerful tool for crafting effective removal attacks.
  • Transferability bridges the knowledge gap: The transferable remover shows that attacks can be generalized across different model architectures, allowing attackers to train on private proxy models and successfully attack unknown victim models.
  • Watermark overwriting as a sophisticated attack: The EGG remover's ability to replace watermarks with new ones adds another layer of complexity, potentially allowing attackers to claim ownership or disrupt verification.
  • Generative models are more vulnerable: The paper suggests that the high-entropy nature of outputs from generative models makes them more susceptible to these types of attacks compared to classification models.

Key Results

  • High removal success rates: The proposed EGG and transferable removers achieved high success rates (SRR) in removing watermarks across various scenarios and victim models, often reaching 1.00.
  • Preservation of image quality: The attacks successfully removed watermarks while maintaining high image quality, as measured by PSNR and MS-SSIM, making the compromise visually undetectable.
  • Effectiveness against state-of-the-art: The attacks were demonstrated against leading box-free watermarking methods ([9], [10]), showing their broad applicability.
  • Watermark overwriting success: The EGG remover successfully overwrote watermarks with high correlation coefficients (e.g., 0.961 and 0.984).
  • Vulnerability of V2 [10]: Victim model V2 [10] was found to be more susceptible to attacks than V1 [9], particularly in terms of watermark removal success.
  • Generalizability: The transferable attack showed effectiveness even when the proxy model architecture mismatched the victim's, demonstrating robustness.

Limitations and Future Work

  • Computational Efficiency: The authors acknowledge that estimating gradients for the EGG remover can require numerous queries, and optimizing transferable removers involves extensive comparisons. This suggests that improving the computational efficiency of these attacks is an area for future research.
  • Scope of Application: The current work focuses on image processing tasks. Future research could explore the applicability of these attacks to other domains of deep learning.
  • Need for Robust Watermarking: The paper strongly calls for the development of more resilient box-free watermarking methods that can withstand these sophisticated black-box removal and overwriting 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