Introduction
Training state-of-the-art deep learning models is a resource-intensive endeavor, requiring vast datasets and immense computational power. Consequently, these models represent significant intellectual property (IP). However, they are increasingly vulnerable to "model stealing" attacks, where an adversary attempts to replicate a model's functionality without access to its internal weights. This paper presents a novel watermarking framework designed specifically for image processing networks—such as those used for image deraining or medical image enhancement—to protect them from such unauthorized replication.
The Threat of Surrogate Model Attacks
In a typical black-box attack, an adversary uses the target model as an oracle. By feeding a set of images into the target model and collecting the corresponding outputs, the attacker can train a "surrogate model" to mimic the target's behavior. While watermarking techniques exist for classification tasks (e.g., using "trigger" images to induce specific misclassifications), applying them to image-to-image tasks is significantly more challenging. In these tasks, the output is a high-resolution image where any visible distortion can degrade the model's utility, making it difficult to embed a robust, invisible, and extractable watermark.
Methodology: A Task-Agnostic Barrier
The proposed framework introduces a "task-agnostic barrier" consisting of two primary components:
- Embedding Sub-network ($H$): This network integrates a unified watermark ($\delta$), such as a logo or bitstring, into the output of the target model ($M$). The goal is to produce watermarked images that are visually indistinguishable from the original clean outputs.
- Extractor Sub-network ($R$): This network is trained to identify and reconstruct the watermark from the processed images.
Adversarial Training Strategy
A key innovation of this work is the use of adversarial training to ensure the watermark's robustness. If the Extractor ($R$) is only trained on perfectly watermarked images, it may fail when faced with the slight distortions introduced by a surrogate model. To counter this, the authors employ a two-stage training process. In the second stage, they simulate an attack by training a surrogate model ($SM$) to imitate the watermarked target. The Extractor is then fine-tuned to successfully recover the watermark from the $SM$'s outputs, effectively "trapping" the surrogate model into learning the watermark as part of its intended task.
Experimental Evaluation
The framework was evaluated on two distinct image processing tasks: image deraining and chest X-ray image deboning. For the deboning task, the researchers used 6,100 images from the chestx-ray8 dataset, applying a rib-suppression algorithm to create ground-truth pairs.
Results and Discussion
The experimental results demonstrate the framework's effectiveness across several metrics:
- High Fidelity: The watermarked outputs maintained exceptional visual quality, achieving a Peak Signal-to-Noise Ratio (PSNR) of approximately 40dB for deraining and 48dB for deboning.
- Robustness: The system achieved a 100% Success Rate (SR) in watermark extraction from surrogate models, regardless of the surrogate's architecture (e.g., ResNet, UNet) or the loss functions used during its training ($L1$, $L2$, or Perceptual loss).
- Superiority over Traditional Methods: Traditional frequency-domain watermarking (e.g., DCT or DWT) failed to survive surrogate model imitation. In contrast, the proposed spatial-domain deep watermarking proved highly robust, capable of hiding complex high-resolution logos like the AAAI logo.
Conclusion
This work provides a robust defense mechanism for image processing networks. By forcing surrogate models to inadvertently learn an invisible watermark, the framework allows IP owners to prove ownership of stolen models with high confidence. Future research may explore extending this "pre-watermarking" concept to protect the underlying training datasets themselves.
Summary updated