On the Robustness of the Backdoor-based Watermarking in Deep Neural Networks

Masoumeh Shafieinejad, Jiaqi Wang, Nils Lukas, Florian Kerschbaum · OpenReview

TL;DR

This paper challenges the security of backdoor-based watermarking in deep neural networks (DNNs), demonstrating that these watermarks can be effectively removed with surprisingly little effort. The authors introduce novel black-box and white-box attacks that can strip watermarks while preserving model functionality, and a property inference attack to detect watermarked models.

What Problem Does This Paper Address?

Deep neural networks (DNNs) are computationally expensive to train, requiring significant data preparation and processing power. To protect the intellectual property of models and prevent unauthorized redistribution, watermarking techniques have been developed. Backdoor-based watermarking is a popular approach where a specific "trigger" is embedded into the model, causing it to behave in a particular way (e.g., misclassify specific inputs) when the trigger is present. This allows owners to verify their ownership by checking if the model exhibits this backdoor behavior. However, the robustness and security of these watermarking schemes against motivated attackers have remained an open question. This paper investigates whether these watermarks are truly secure and difficult to remove, especially when the attacker has limited knowledge of the original model or training data.

Methods

The paper proposes three main contributions:

  • Black-box Watermark Removal Attack: This attack aims to remove the watermark without access to the model's parameters, training data, or the trigger set itself. It leverages publicly available information and queries the watermarked model with data similar to its training distribution. The attacker then trains a new model on these queries and their labels, effectively learning the model's "clean" functionality without the backdoor.
  • White-box Watermark Removal Attack: This attack assumes the attacker has access to the watermarked model's parameters. It builds upon the black-box approach but uses regularization and fine-tuning techniques to more efficiently remove the watermark. This method is significantly faster than the black-box attack.
  • Property Inference Attack: This attack is designed to detect whether a DNN has been watermarked. It works by extracting features from both a suspected watermarked model and a known clean model, then training a binary classifier to distinguish between them. This detection capability can be used to identify watermarked models before attempting removal.

Datasets

The authors evaluated their attacks on three standard DNN datasets:

  • MNIST: A dataset of handwritten digits.
  • CIFAR-10: A dataset of 10 classes of small images.
  • CIFAR-100: A dataset of 100 classes of small images.

For experiments, they used common DNN architectures like LeNet, VGG-16, and ResNet-32.

Key Insights and Ideas

  • Backdoor watermarks are surprisingly fragile: The core insight is that existing backdoor-based watermarking schemes are not as robust as claimed. Attackers with limited resources and knowledge can effectively remove them.
  • Functionality preservation is key: The attacks focus on removing the watermark without degrading the model's original performance on legitimate tasks. This is crucial for making the stolen model useful.
  • Black-box attacks are powerful: The black-box attack demonstrates that even without model parameters, an attacker can steal a model's functionality and remove its watermark, highlighting a significant security vulnerability.
  • Detection is a necessary first step: The property inference attack shows that identifying a watermarked model is feasible, enabling targeted removal strategies.

Key Results

  • Successful Watermark Removal: Both the black-box and white-box attacks successfully removed watermarks across different types (Embedded Content, Pre-specified Noise, Abstract Images) and datasets (MNIST, CIFAR-10, CIFAR-100).
  • Minimal Accuracy Drop: The attacks achieved watermark removal with negligible drops in classification accuracy, often performing comparably to the original watermarked model.
  • Efficiency Gains: The white-box attack was significantly faster than the black-box attack, achieving up to seventeen times the efficiency.
  • Property Inference Accuracy: The property inference attack achieved an average success rate of 74% in detecting watermarked models.

Limitations and Future Work

  • Model Overfitting: The paper notes that if a model is perfectly trained and exhibits no overfitting, watermark retention might be higher. However, they argue that significant inaccuracies are needed for this to occur.
  • Dataset Overlap: In some experiments, to achieve higher accuracy, the authors allowed overlap in training data between the owner and attacker, which might not always be feasible in real-world scenarios.
  • Critical Backdoor Retention: The authors caution that even a minuscule retention of the backdoor could be critical, suggesting that current defenses might not be sufficient against determined adversaries.
  • Future Work: The paper implicitly suggests that new, more robust watermarking techniques are needed to counter these attacks. The property inference attack also opens avenues for developing better detection mechanisms.

Summary updated

BibTeX
@misc{shafieinejad2019robustness,
  author = {Masoumeh Shafieinejad and Jiaqi Wang and Nils Lukas and Florian Kerschbaum},
  title = {{On the Robustness of the Backdoor-based Watermarking in Deep Neural Networks}},
  year = {2019},
  eprint = {1906.07745},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.07745},
}
Figure