[Paper Review] Removing Backdoor-Based Watermarks in Neural Networks with Limited Data
This paper proposes WILD, a novel framework to remove backdoor-based watermarks from deep neural networks using only a small fraction of the original training data. By combining a novel data augmentation technique to simulate watermark triggers and minimizing distribution gaps in feature space, WILD effectively removes watermarks—reducing retention from ~100% to below 20%—while preserving model accuracy with only 0.3% and 1.7% average accuracy drops on MNIST and CIFAR-10, respectively.
Deep neural networks have been widely applied and achieved great success in various fields. As training deep models usually consumes massive data and computational resources, trading the trained deep models is highly demanded and lucrative nowadays. Unfortunately, the naive trading schemes typically involves potential risks related to copyright and trustworthiness issues, e.g., a sold model can be illegally resold to others without further authorization to reap huge profits. To tackle this problem, various watermarking techniques are proposed to protect the model intellectual property, amongst which the backdoor-based watermarking is the most commonly-used one. However, the robustness of these watermarking approaches is not well evaluated under realistic settings, such as limited in-distribution data availability and agnostic of watermarking patterns. In this paper, we benchmark the robustness of watermarking, and propose a novel backdoor-based watermark removal framework using limited data, dubbed WILD. The proposed WILD removes the watermarks of deep models with only a small portion of training data, and the output model can perform the same as models trained from scratch without watermarks injected. In particular, a novel data augmentation method is utilized to mimic the behavior of watermark triggers. Combining with the distribution alignment between the normal and perturbed (e.g., occluded) data in the feature space, our approach generalizes well on all typical types of trigger contents. The experimental results demonstrate that our approach can effectively remove the watermarks without compromising the deep model performance for the original task with the limited access to training data.
Motivation & Objective
- To address the vulnerability of backdoor-based watermarking schemes in real-world settings where adversaries have limited access to training data.
- To develop a watermark removal method that does not require the full training set, additional unlabeled data, or complex hyperparameter tuning.
- To maintain high model performance on original tasks while effectively invalidating watermarks.
- To generalize across diverse watermark types, including content-based, noise-based, and unrelated watermarks.
Proposed method
- Proposes a novel data augmentation strategy that mimics watermark triggers by applying occlusion-like perturbations to normal inputs, simulating watermark injection effects.
- Uses feature-space distribution alignment between normal and perturbed (e.g., occluded) inputs to improve robustness against watermark patterns.
- Optimizes the model using a retraining procedure that minimizes the distribution gap in high-level features, enhancing generalization to unseen watermark patterns.
- Employs cross-entropy (CE), label smoothing (JS), and distillation (DN) as optimization objectives to balance watermark removal and accuracy preservation.
- Avoids reliance on external unlabeled data or carefully tuned learning rate schedules, making it practical for limited-data scenarios.
- Applies the framework under weakly supervised conditions, where only a small subset of in-distribution data is available.
Experimental results
Research questions
- RQ1Can watermark removal be effectively achieved with only a small subset of the original training data, rather than the full dataset?
- RQ2How does the proposed method perform across different watermark types, including content-based, noise-based, and unrelated watermarks?
- RQ3To what extent does the method preserve model accuracy on the original task after watermark removal?
- RQ4How does the performance of WILD compare to state-of-the-art methods like REFIT, especially in terms of accuracy degradation and watermark retention?
Key findings
- On MNIST, WILD reduces watermark retention from nearly 100% to below 20% with only a 0.3% average drop in test accuracy when using 20% of the training data.
- On CIFAR-10, watermark retention drops below 20% with a 1.7% average accuracy drop under the same data constraint, demonstrating strong generalization.
- Unrelated watermarks are the most difficult to remove, with retention rates around 20% on MNIST and 16% on CIFAR-10, due to their out-of-distribution nature.
- The method achieves better performance than REFIT, which requires careful learning rate tuning and still suffers from high watermark retention or accuracy loss.
- Using 40% of the training data, WILD causes negligible accuracy degradation—only 0.5% drop on CIFAR-10 for content-based watermarks—while fully removing watermarks.
- Among the optimization strategies, label smoothing (JS) and cross-entropy (CE) cause less performance degradation than knowledge distillation (DN), especially on unrelated watermarks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.