Abstract
A deep neural network (DNN) classifier represents a model owner's intellectual property, as training such models requires significant resources. While watermarking has been proposed for protection, it often sacrifices model utility by tampering with the training process. We propose IPGuard, the first method to protect DNN intellectual property that provably incurs no accuracy loss. IPGuard leverages the observation that a DNN is uniquely represented by its classification boundary. By extracting data points near this boundary to fingerprint the model, IPGuard can identify pirated versions—even those post-processed via pruning or fine-tuning—with high robustness and uniqueness.
Introduction
Training state-of-the-art Deep Neural Networks (DNNs) is an expensive endeavor, requiring massive datasets, specialized expertise, and significant computational power. This makes trained models valuable intellectual property (IP). Unfortunately, models can be stolen via insider threats, malware, or model extraction attacks and then redeployed by attackers as their own.
Existing defenses primarily rely on watermarking, which involves "embedding" specific behaviors into a model during its training or fine-tuning phase. This approach has two major flaws:
- Utility Loss: Modifying the training process to include watermarks inevitably degrades the model's primary task accuracy.
- Incompatibility: Watermarking cannot be applied to "legacy" models that are already trained and deployed.
IPGuard addresses these challenges by providing a "zero-impact" solution that identifies pirated models without touching the original training pipeline.
Methodology: Boundary as Identity
The core philosophy of IPGuard is that a DNN is uniquely defined by its classification boundary—the decision surface that separates different classes in high-dimensional space. Because this boundary is highly complex and high-dimensional, it serves as a robust "biometric" for the model.
The framework consists of two main functions:
- Extract: Instead of embedding a mark, IPGuard extracts a fingerprint. It finds $n$ data points that lie very close to the target model's classification boundary. This is formulated as an optimization problem, using gradient descent to move random data points toward the boundary until they reach a specific distance (controlled by a parameter $k$).
- Verify: To check a "suspect" model, the owner queries it with these fingerprinting points. If the suspect model returns the same labels as the original model for a high percentage of these points (the "matching rate"), it is flagged as a pirated version.
Crucially, IPGuard does not require the fingerprinting points to be "human-imperceptible," allowing the optimization process to be much faster and more efficient than traditional adversarial attacks.
Experimental Evaluation
The authors evaluated IPGuard using three standard image classification benchmarks: CIFAR-10, CIFAR-100, and ImageNet. They tested against "positive" suspect classifiers (pirated versions modified via fine-tuning or pruning) and "negative" suspect classifiers (different models trained on the same data or different architectures).
Key Results
- Zero Accuracy Loss: As a post-training extraction method, IPGuard incurs 0% accuracy loss on target models.
- High Discriminatory Power: Using a new metric called ARUC (Area under the Robustness-Uniqueness Curve), IPGuard achieved scores of 0.94 to 1.00 across all datasets. This significantly outperforms standard adversarial methods like FGSM and IGSM.
- Efficiency: IPGuard is remarkably efficient. On ImageNet, it takes only 76 seconds to find a data point near the boundary, whereas the CW method takes approximately 20 minutes.
- Robustness: The fingerprint remained effective even after attackers applied "post-processing" techniques like weight pruning (removing up to 50% of weights) or fine-tuning the model's last layers.
Conclusion and Future Work
IPGuard represents a significant step forward in IP protection for DNNs. By shifting the focus from model weights to behavioral boundaries, it provides a robust, efficient, and non-invasive defense. Future work will explore adaptive attacks, such as knowledge distillation, and the potential of using full probability distributions (confidence scores) to further enhance fingerprint uniqueness.
Summary updated