mlsanityData to 7 Oct 2026

Detect and remove watermark in deep neural networks via generative adversarial networks

arXiv 2106.08104 ↗First posted 15 Jun 2021cs.MM cs.LG eess.IVcited by 5

On the map: LLM safety and security → Watermarking generated content and models

Abstract (arXiv)

Deep neural networks (DNN) have achieved remarkable performance in various fields. However, training a DNN model from scratch requires a lot of computing resources and training data. It is difficult for most individual users to obtain such computing resources and training data. Model copyright infringement is an emerging problem in recent years. For instance, pre-trained models may be stolen or abuse by illegal users without the authorization of the model owner. Recently, many works on protecting the intellectual property of DNN models have been proposed. In these works, embedding watermarks into DNN based on backdoor is one of the widely used methods. However, when the DNN model is stolen, the backdoor-based watermark may face the risk of being detected and removed by an adversary. In this paper, we propose a scheme to detect and remove watermark in deep neural networks via generative adversarial networks (GAN). We demonstrate that the backdoor-based DNN watermarks are vulnerable to the proposed GAN-based watermark removal attack. The proposed attack method includes two phases. In the first phase, we use the GAN and few clean images to detect and reverse the watermark in the DNN model. In the second phase, we fine-tune the watermarked DNN based on the reversed backdoor images. Experimental evaluations on the MNIST and CIFAR10 datasets demonstrate that, the proposed method can effectively remove about 98% of the watermark in DNN models, as the watermark retention rate reduces from 100% to less than 2% after applying the proposed attack. In the meantime, the proposed attack hardly affects the model's performance. The test accuracy of the watermarked DNN on the MNIST and the CIFAR10 datasets drops by less than 1% and 3%, respectively.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in Watermarking generated content and models, one of 12 directions in LLM safety and security. Builds on 10 of its 31 references that are in the map. First posted on arXiv 15 Jun 2021.

Builds on

10 of 31 references.

References · 10

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2016Stealing Machine Learning Models via Prediction APIscited by 602
  3. 2018Turning Your Weakness Into a Strength: Watermarking Deep Neural Networks by Backdooringcited by 334
  4. 2018Generating Adversarial Examples with Adversarial Networkscited by 256
  5. 2017Embedding Watermarks into Deep Neural Networkscited by 227
  6. 2017Adversarial Frontier Stitching for Remote Neural Network Watermarkingcited by 110
  7. 2019REFIT: A Unified Watermark Removal Framework For Deep Learning Systems With Limited Datacited by 40
  8. 2020Neural Network Laundering: Removing Black-Box Backdoor Watermarks from Deep Neural Networkscited by 24
  9. 2020Removing Backdoor-Based Watermarks in Neural Networks with Limited Datacited by 23
  10. 2019Effectiveness of Distillation Attack and Countermeasure on Neural Network Watermarkingcited by 11

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 1; 2022: 1; 2023: 2; 2024: 0; 2025: 0; 2026: 1.

5 papers.