Abstract
Training state-of-the-art Deep Neural Networks (DNNs) requires substantial computational resources and proprietary datasets, making the resulting models valuable intellectual property (IP). However, model stealing attacks—where an adversary uses API access to create a functionally equivalent copy—threaten this IP. This paper introduces SAmple Correlation (SAC), a novel fingerprinting method that identifies stolen models by analyzing the pairwise relationships between model outputs. Unlike traditional methods that rely on fragile adversarial examples, SAC utilizes misclassified or augmented samples to create a robust structural signature. Our results demonstrate that SAC achieves near-perfect detection accuracy (AUC of 1.0) and maintains robustness against fine-tuning, pruning, and adversarial training, while significantly reducing the computational overhead of fingerprint generation.
Introduction
The proliferation of "Model-as-a-Service" (MaaS) platforms has made high-performance DNNs more accessible but also more vulnerable. An attacker can query a victim model's API to obtain predictions and use these labels to train a "stolen" surrogate model. To protect against this, researchers have developed fingerprinting techniques to verify if a suspect model was derived from a specific victim model.
Existing fingerprinting methods typically rely on point-wise analysis using adversarial examples—inputs specifically crafted to trigger unique, incorrect behaviors in the victim model. The assumption is that a stolen model will inherit these specific failures. However, these triggers are often "washed out" during post-processing steps like adversarial training or transfer learning. To address these vulnerabilities, we propose shifting the focus from individual sample behavior to the structural relationships between samples.
Methodology: SAmple Correlation (SAC)
The core insight of SAC is that a model's internal logic is best captured by how it relates different inputs to one another. While two independent models might both correctly classify a "cat," their internal representations of "hard" or ambiguous samples are likely to differ significantly. SAC captures this unique "personality" by calculating a Correlation Matrix of model outputs for a specific set of samples.
Fingerprint Generation Variants
The authors propose two primary methods for selecting the samples used to generate the fingerprint:
- SAC-w (Wrongly Predicted Samples): This variant identifies "hard" samples that the victim model consistently misclassifies. The pairwise correlation of the model's softmax outputs for these samples forms a unique signature. Because these samples reside near the model's specific decision boundaries, the resulting correlation matrix is highly idiosyncratic.
- SAC-m (CutMix Augmented Samples): To improve efficiency, SAC-m utilizes CutMix, a data augmentation technique that overlays a patch from one image onto another. These hybrid images create high uncertainty in the model, magnifying its unique behavioral quirks without the need for expensive adversarial example generation or surrogate model training.
Verification Process
To verify ownership, the defender calculates the Correlation Matrix (using Cosine Similarity or a Gaussian RBF kernel) for the suspect model using the same set of samples. If the distance between the victim’s matrix and the suspect’s matrix falls below a predefined threshold, the suspect model is flagged as stolen.
Experimental Results
The effectiveness of SAC was evaluated across standard benchmarks, including CIFAR10, CIFAR100, and Tiny-ImageNet. The method was tested against various evasion tactics, such as model pruning, fine-tuning, and adversarial training.
Robustness and Accuracy
SAC achieved an AUC of 1.0 in nearly all test scenarios, representing perfect separation between stolen and independently trained models. Notably, while traditional adversarial fingerprints often fail when an attacker employs adversarial training, SAC remained highly effective. This suggests that the pairwise correlation of hard samples is a fundamental structural property that is difficult to remove without significantly degrading the model's utility.
Efficiency
One of the most significant advantages of SAC-m is its speed. On the CIFAR10 dataset, SAC-m generated a fingerprint in just 4.45 seconds. In contrast, state-of-the-art adversarial fingerprinting methods (such as CAE) required over 7 hours (25,536 seconds) to achieve comparable results. This efficiency makes SAC a practical solution for large-scale IP protection.
Transfer Learning
SAC also demonstrates success in transfer learning scenarios (tested on CIFAR10-C). It is one of the few fingerprinting methods capable of identifying a stolen model even after it has been adapted to a different dataset or label space, further proving the permanence of the sample correlation signature.
Discussion and Limitations
While SAC represents a significant advancement in DNN IP protection, some challenges remain. The method's performance is slightly lower against "Adversarial Model Extraction," where an attacker specifically designs the stealing process to evade detection. Additionally, determining the optimal distance threshold for flagging a model currently requires a validation set of independent models for calibration. Future work may explore more sophisticated data augmentation strategies beyond CutMix to further harden the fingerprint against adaptive adversaries.
Conclusion
SAmple Correlation (SAC) provides a robust, efficient, and highly accurate framework for DNN fingerprinting. By moving from point-wise adversarial triggers to pair-wise structural correlations, SAC offers a defense mechanism that survives common model modification techniques. Its computational efficiency and success in transfer learning contexts make it a viable candidate for real-world intellectual property protection in the evolving landscape of machine learning.
Summary updated