Data-Free Model Extraction

Jean-Baptiste Truong, Pratyush Maini, Robert J. Walls, Nicolas Papernot
11/30/2020
267 citations
cs.LG

Official code: cake-lab/datafree-model-extraction (76 stars, Python, GPL-3.0, last commit 2024-04-01).

Abstract

Current model extraction attacks assume that the adversary has access to a surrogate dataset with characteristics similar to the proprietary data used to train the victim model. This requirement precludes the use of existing model extraction techniques on valuable models, such as those trained on rare or hard to acquire datasets.

Show full abstract

In contrast, we propose data-free model extraction methods that do not require a surrogate dataset. Our approach adapts techniques from the area of data-free knowledge transfer for model extraction. As part of our study, we identify that the choice of loss is critical to ensuring that the extracted model is an accurate replica of the victim model. Furthermore, we address difficulties arising from the adversary's limited access to the victim model in a black-box setting. For example, we recover the model's logits from its probability predictions to approximate gradients. We find that the proposed data-free model extraction approach achieves high-accuracy with reasonable query complexity -- 0.99x and 0.92x the victim model accuracy on SVHN and CIFAR-10 datasets given 2M and 20M queries respectively.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

CVPR 2021 Official repository for the Data-Free Model Extraction paper. https://arxiv.org/abs/2011.14779

7619Python, ShellNov 29, 20202 years agoGPL-3.0

Similar Papers

Cite this paper

@article{truong2020datafree,
  title  = {Data-Free Model Extraction},
  author = {Jean-Baptiste Truong and Pratyush Maini and Robert J. Walls and Nicolas Papernot},
  year   = {2020},
  eprint = {2011.14779},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.14779}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2011.14779.svg)](https://codeofpaper.com/paper/2011.14779)

Discussion