Abstract
As deep learning models transition to "Edge AI" deployments on smartphones and IoT devices, protecting model intellectual property (IP) becomes critical. This paper introduces a scalable, black-box watermarking technique designed for large-scale deployment. By optimizing trigger inputs to reside on model decision boundaries, the authors can embed unique multi-bit identifiers into thousands of model instances in seconds. This approach allows for efficient tracing of leaked models back to specific users without requiring access to internal model weights or significantly compromising primary task accuracy.
Introduction
Training state-of-the-art deep neural networks (DNNs) is a resource-intensive process, making the resulting models valuable intellectual property. The shift toward edge computing increases the risk of model theft, as attackers can easily extract model files from local hardware. Existing watermarking solutions often struggle with scalability—requiring lengthy retraining for each unique mark—or verification complexity, necessitating distinct trigger sets for every user. This research addresses these gaps by proposing a fast, multi-bit watermarking scheme that uses a unified trigger set to produce unique model responses.
Methodology
The proposed framework consists of three distinct phases: key generation, signature embedding, and watermark extraction.
- Key Generation: The model owner selects a pretrained model and clusters its output classes into two groups (representing bits '0' and '1'). A set of $K$ "trigger" or "key" images is then generated. These images are optimized via gradient descent to sit precisely on the decision boundary between two classes.
- Signature Embedding: To create a unique instance for a user, the owner performs a brief fine-tuning step. The model is "nudged" so that the $K$ trigger images result in a specific bit-string (e.g., a 30-bit ID). Because the triggers are already on the boundary, this process is extremely fast and avoids significant accuracy loss.
- Watermark Extraction: This is a black-box verification process. To identify a suspected stolen model, the owner queries it with the $K$ trigger images. The resulting predictions are decoded into bits to reveal the embedded unique ID.
Key Insights: The Boundary Advantage
The core innovation lies in leveraging the model's decision boundaries. By placing trigger inputs at these edges, a minimal adjustment to the model's weights can flip the classification of a trigger input without affecting the classification of standard data points.
This "boundary advantage" decouples the marking process from the initial training. Furthermore, it allows for "Unified Triggers, Unique Responses": every user receives the same set of trigger images, but their specific model instance is tuned to provide a unique bit-string response. This significantly simplifies the logistics of managing a large-scale verification database.
Experimental Results
The approach was evaluated on MNIST, CIFAR-10 (Wide ResNet), and ImageNet (ResNet50).
- Efficiency: The method is remarkably fast. Embedding a watermark into a ResNet50 model on ImageNet took only 47 seconds, while smaller MNIST models required just 2 seconds. This is orders of magnitude faster than traditional training-based watermarking.
- Utility: The "utility cost" (accuracy drop) is minimal. CIFAR-10 accuracy decreased by only 1.4% (from 93.2% to 91.8%), and ImageNet accuracy dropped by 2% (from 79.5% to 77.5%).
- Robustness: The watermarks proved resilient against common removal attempts, including fine-tuning and model pruning. While extreme attacks (like heavy noise or quantization) could remove the watermark, they also degraded the model's primary accuracy to the point of making it useless to an attacker.
Conclusion and Future Work
This research provides a practical path for protecting IP in edge-deployed DNNs. While the method shows some sensitivity to adversarial training—which can flip approximately 20% of watermark bits—the authors suggest that incorporating error-correcting codes could mitigate this. Future work will focus on further reducing the accuracy trade-off and enhancing robustness against sophisticated adversarial attacks.
Summary updated