CREDIT: Certified Ownership Verification of Deep Neural Networks Against Model Extraction Attacks
Organizations: Department of Computer Science, Florida State University, Tallahassee, Florida, United States · Department of Mathematics, University of Wisconsin, Madison, Wisconsin, United States · Department of Computer Science, Duke University, Durham, North Carolina, United States · Department of Statistics and Operations Research, University of North Carolina at Chapel Hill, Chapel Hill, North Carolina, United States
Abstract
Machine Learning as a Service (MLaaS) has emerged as a widely adopted paradigm for providing access to deep neural network (DNN) models, enabling users to conveniently leverage these models through standardized APIs. However, such services are highly vulnerable to Model Extraction Attacks (MEAs), where an adversary repeatedly queries a target model to collect input-output pairs and uses them to train a surrogate model that closely replicates its functionality. While numerous defense strategies have been proposed, verifying the ownership of a suspicious model with strict theoretical guarantees remains a challenging task. To address this gap, we introduce CREDIT, a certified ownership verification against MEAs. Specifically, we employ mutual information to quantify the similarity between DNN models, propose a practical verification threshold, and provide rigorous theoretical guarantees for ownership verification based on this threshold. We extensively evaluate our approach on several mainstream datasets across different domains and tasks, achieving state-of-the-art performance. Our implementation is publicly available at: https://github.com/LabRAI/CREDIT.
Figures & tables
| Dataset | Backbone | Vanilla | Backdooring | EWE | IPGuard | UAP | CREDIT |
|---|---|---|---|---|---|---|---|
| CIFAR-10 | ResNet | ||||||
| VGG | |||||||
| DenseNet | |||||||
| GoogLeNet | |||||||
| CIFAR-100 | ResNet | ||||||
| VGG |
| Method | ResNet | VGG | DenseNet | GoogLeNet |
|---|---|---|---|---|
| Backdooring | 58.64 | 51.85 | 74.07 | 80.25 |
| EWE | 51.24 | 62.96 | 48.77 | 62.35 |
| IPGuard | 40.74 | 61.11 | 67.90 | 50.62 |
| UAP | 52.47 | 67.28 | 72.22 | 79.63 |
| Our |
| Method | VGG-16 (15M) | ResNet-50 (25.6M) | ||
|---|---|---|---|---|
| Preparation(s) | Verification(s) | Preparation(s) | Verification(s) | |
| Backdooring | 0.594 0.11 | 83.10 0.85 | 0.399 0.09 | 188.8 0.40 |
| EWE | 0.279 0.00 | 73.40 0.13 | 0.199 0.02 | 189.0 0.76 |
| IPGuard | 1.783 0.00 | 73.94 0.23 | 4.319 0.00 | 189.0 0.41 |
| UAP | 5.587 0.13 | 72.74 0.08 | 5.722 0.14 | 180.3 0.32 |
| Our | ||||
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Classes | #Images | Train / Test Split | Resolution |
|---|---|---|---|---|
| CIFAR-10 | 10 | 60,000 | 50,000 / 10,000 | RGB |
| CIFAR-100 | 100 | 60,000 | 50,000 / 10,000 | RGB |
| Dataset | #Graphs | Avg. #Nodes | Avg. #Edges | #Features | #Classes |
|---|---|---|---|---|---|
| ENZYMES | 600 | 32.6 | 124.3 | 3 | 6 |
| PROTEINS | 1,113 | 39.1 | 145.6 | 3 | 2 |
| MI (mean std) | |
|---|---|
| 3 | |
| 5 | |
| 7 | |
| 10 |
| Repeat | Distinct Query Ratio | Surrogate Test Acc |
|---|---|---|
| 1 | 0.1000 | 0.7303 |
| 2 | 0.0500 | 0.5125 |
| 4 | 0.0250 | 0.2833 |
| 8 | 0.0125 | 0.1997 |
| 10 | 0.0100 | 0.1720 |
| Method | ResNet | VGG | DenseNet | GoogLeNet |
|---|---|---|---|---|
| Backdooring | 58.64 | 51.85 | 74.07 | 80.25 |
| EWE | 51.24 | 62.96 | 48.77 | 62.35 |
| IPGuard | 40.74 | 61.11 | 67.90 | 50.62 |
| UAP | 52.47 | 67.28 | 72.22 | 79.63 |
| MiSentry | 47.30 | 54.88 | 59.20 | 61.44 |
| CREDIT (ours) | 100.0 | 100.0 | 100.0 | 100.0 |
| Attack Type | Utility Budget | Test Acc | MI | Verification AUC |
|---|---|---|---|---|
| None | 0.7322 | 2.2887 | 1.0000 | |
| Decorrelation | 0.7301 | 2.2611 | 1.0000 | |
| Decorrelation | 0.7182 | 2.2498 | 1.0000 | |
| Decorrelation | 0.6947 | 2.2023 | 1.0000 |
| Model | MI | Verification AUC |
|---|---|---|
| Word2Vec | 1.2331 | 1.0000 |