Cited by 549Adversarial Robustness in Machine LearningDomain Adaptation and Few-Shot LearningPrivacy-Preserving Technologies in Data

Knockoff Nets: Stealing Functionality of Black-Box Models

Open access
Orekondy, Tribhuvanesh, Schiele, Bernt, Fritz, Mario·2019·2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)

Abstract

Machine Learning (ML) models are increasingly deployed in the wild to perform a wide range of tasks. In this work, we ask to what extent can an adversary steal functionality of such ``victim'' models based solely on blackbox interactions: image in, predictions out. In contrast to prior work, we study complex victim blackbox models, and an adversary lacking knowledge of train/test data used by the model, its internals, and semantics over model outputs. We formulate model functionality stealing as a two-step approach: (i) querying a set of input images to the blackbox model to obtain predictions; and (ii) training a ``knockoff'' with queried image-prediction pairs. We make multiple remarkable observations: (a) querying random images from a different distribution than that of the blackbox training data results in a well-performing knockoff; (b) this is possible even when the knockoff is represented using a different architecture; and (c) our reinforcement learning approach additionally improves query sample efficiency in certain settings and provides performance gains. We validate model functionality stealing on a range of datasets and tasks, as well as show that a reasonable knockoff of an image analysis API could be created for as little as $30.

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1109/cvpr.2019.00509

Cites

6 of 6 references verified0 citation errors · 0 not checkable

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • Loss of privacy has been compromised by DL methods even without data fusion; a few images can threaten privacy despite obfuscation, and DNN model parameters can be exposed via input queries.

    “Notwithstanding this explicit concern from regulatory bodies, loss of privacy has been compromised by DL methods in scenarios where no data fusion is performed. For instance, a few images are enough to threaten users' privacy even in the presence of image obfuscation [420], and the model parameters of a DNN can be exposed by simply performing input queries on the model [356, 357].”

    From Explainable Artificial Intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AI (2020) · cites this paper as [356]

    The Introduction describes using input queries and the resulting predictions to train a knockoff model. But the Related Work section distinguishes this paper’s functionality stealing from extraction of model parameters: its approach works independently of the victim model’s internals. The source therefore supports the query-based attack, not the claim that queries expose the DNN’s parameters. (LLM, conf=0.87)

    Experimental — accuracy not yet measured
  • Under minimal assumptions, data model functionality stealing is possible.

    “The latter shows that, under minimal assumptions, data model functionality stealing is possible.”
  • Capability stealing is typically performed under black-box access, where the attacker observes only the model's outputs and has no access to its internal states, parameters, or training data.

    “This capability stealing (Tramèr et al., 2016;Orekondy et al., 2019) is typically performed under black-box access, where the attacker observes only the model's outputs and has no access to its internal states, parameters, or training data.”

    From How to Steal Reasoning Without Reasoning Traces (2026) · cites this paper as Orekondy et al., 2019

  • Privacy loss and intent loss subjective scores can explain loss of privacy, and such explanations have motivated secure matching cryptographic protocols.

    “An approach to explain loss of privacy is by using privacy loss and intent loss subjective scores.”

    From Explainable Artificial Intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AI (2020) · cites this paper as [356]

    The Related Work section discusses privacy-sensitive visual content, while the Rewards section defines measures for selecting images in a model-stealing attack. Neither addresses subjective privacy-loss or intent-loss scores as explanations of privacy loss. Searches for those scores and for secure matching cryptographic protocols found no supporting passage in our copy. (LLM, conf=0.76)

    Experimental — accuracy not yet measured

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

Flagged first, then by citations

Research works printed but not linked: 38

  1. N. Akhtar, J. Liu, and A. Mian. Defense against universal adversarial perturbations. In CVPR, 2018. 2
  2. A. N. Bhagoji, W. He, B. Li, and D. Song. Exploring the space of black-box attacks on deep neural networks. arXiv preprint arXiv:1712.09491, 2017. 8 · arXiv
  3. C. Buciluǎ, R. Caruana, and A. Niculescu-Mizil. Model compression. In KDD, 2006. 1, 2, 4
  4. G. Chen, W. Choi, X. Yu, T. Han, and M. Chandraker. Learn- ing efficient object detection models with knowledge distil- lation. In NIPS, 2017. 2
  5. J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei- Fei. Imagenet: A large-scale hierarchical image database. In CVPR, 2009. 3, 4, 5, 12
  6. S. Ebert, M. Fritz, and B. Schiele. Ralf: A reinforced active learning formulation for object class recognition. In CVPR, 2012. 3, 7
  7. T. Furlanello, Z. C. Lipton, M. Tschannen, L. Itti, and A. Anandkumar. Born again neural networks. In ICML, 2018. 2, 4
  8. S. Han, H. Mao, and W. J. Dally. Deep compression: Com- pressing deep neural networks with pruning, trained quanti- zation and huffman coding. In ICLR, 2016. 4
  9. G. Hinton, O. Vinyals, and J. Dean. Distilling the knowledge in a neural network. arXiv:1503.02531, 2015. 1, 2, 3, 4, 5, 12 · arXiv
  10. G. Huang, Z. Liu, L. van der Maaten, and K. Q. Weinberger. Densely connected convolutional networks. In CVPR, 2017. 8
  11. F. N. Iandola, S. Han, M. W. Moskewicz, K. Ashraf, W. J. Dally, and K. Keutzer. Squeezenet: Alexnet-level accu- racy with 50x fewer parameters and¡ 0.5 mb model size. arXiv:1602.07360, 2016. 4 · arXiv
  12. A. Ilyas, L. Engstrom, A. Athalye, and J. Lin. Black-box adversarial attacks with limited queries and information. In ICML, 2018. 8
  13. A. J. Joshi, F. Porikli, and N. Papanikolopoulos. Multi-class active learning for image classification. In CVPR, 2009. 4
  14. V. Khrulkov and I. Oseledets. Art of singular vectors and universal adversarial perturbations. In CVPR, 2018. 2
  15. A. Krizhevsky, I. Sutskever, and G. E. Hinton. Imagenet classification with deep convolutional neural networks. In NIPS, 2012. 8
  16. A. Kuznetsova, H. Rom, N. Alldrin, J. Uijlings, I. Krasin, J. Pont-Tuset, S. Kamali, S. Popov, M. Malloci, T. Duerig, et al. The open images dataset v4: Unified image classifi- cation, object detection, and visual relationship detection at scale. arXiv:1811.00982, 2018. 5, 8, 11 · arXiv
  17. Y. Liu, X. Chen, C. Liu, and D. Song. Delving into transfer- able adversarial examples and black-box attacks. In ICLR, 2017. 8
  18. Z. Liu, P. Luo, X. Wang, and X. Tang. Deep learning face attributes in the wild. In ICCV, 2015. 8
  19. S.-M. Moosavi-Dezfooli, A. Fawzi, and P. Frossard. Deep- fool: a simple and accurate method to fool deep neural net- works. In CVPR, 2016. 2
  20. S. J. Oh, M. Augustin, B. Schiele, and M. Fritz. Towards reverse-engineering black-box neural networks. In ICLR, 2018. 1, 2, 4
  21. S. J. Oh, R. Benenson, M. Fritz, and B. Schiele. Faceless person recognition; privacy implications in social media. In ECCV, 2016. 2
  22. S. J. Oh, M. Fritz, and B. Schiele. Adversarial image pertur- bation for privacy protection -a game theory perspective. In ICCV, 2017. 2
  23. T. Orekondy, M. Fritz, and B. Schiele. Connecting pixels to privacy and utility: Automatic redaction of private informa- tion in images. In CVPR, 2018. 2
  24. T. Orekondy, B. Schiele, and M. Fritz. Towards a visual privacy advisor: Understanding and predicting privacy risks in images. In ICCV, 2017. 2
  25. F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Cournapeau, M. Brucher, M. Perrot, and E. Duchesnay. Scikit-learn: Ma- chine learning in Python. Journal of Machine Learning Re- search, 12:2825-2830, 2011. 12
  26. O. Poursaeed, I. Katsman, B. Gao, and S. Belongie. Genera- tive adversarial perturbations. In CVPR, 2018. 2
  27. A. Quattoni and A. Torralba. Recognizing indoor scenes. In CVPR, 2009. 4, 11
  28. A. Romero, N. Ballas, S. E. Kahou, A. Chassang, C. Gatta, and Y. Bengio. Fitnets: Hints for thin deep nets. In ICLR, 2015. 3
  29. A. Salem, Y. Zhang, M. Humbert, M. Fritz, and M. Backes. Ml-leaks: Model and data independent membership infer- ence attacks and defenses on machine learning models. In NDSS, 2019. 1
  30. B. Settles and M. Craven. An analysis of active learning strategies for sequence labeling tasks. In EMNLP, 2008. 2, 4, 7
  31. K. Simonyan and A. Zisserman. Very deep con- volutional networks for large-scale image recognition. arXiv:1409.1556, 2014. 4, 8 · arXiv
  32. Q. Sun, L. Ma, S. J. Oh, L. van Gool, B. Schiele, and M. Fritz. Natural and effective obfuscation by head inpaint- ing. In CVPR, 2018. 2
  33. R. S. Sutton and A. G. Barto. Introduction to reinforcement learning, volume 135. MIT press Cambridge, 1998. 4
  34. S. Tong and D. Koller. Support vector machine active learn- ing with applications to text classification. JMLR, 2001. 2
  35. F. Tramèr, F. Zhang, A. Juels, M. K. Reiter, and T. Risten- part. Stealing machine learning models via prediction apis. In USENIX Security, 2016. 1, 2
  36. Z. Wu, Z. Wang, Z. Wang, and H. Jin. Towards privacy- preserving visual recognition via adversarial training: A pilot study. In ECCV, 2018. 2
  37. R. Yonetani, V. N. Boddeti, K. M. Kitani, and Y. Sato. Privacy-preserving visual learning using doubly permuted homomorphic encryption. In ICCV, 2017. 2
  38. Y. Zhang, T. Xiang, T. M. Hospedales, and H. Lu. Deep mutual learning. In CVPR, 2018. 2 Test Set Buddha: 0.65 Boxing glove: 0.07 Jesus Christ: 0.034 Buddha: 0.49 Cake: 0.06 Minotaur: 0.05 Buddha: 0.28 Minotaur: 0.09 Dog: 0.09 Buddha: 0.68 Tombstone: 0.07 Elephant: 0.04 Buddha: 0.5 Minaret: 0.08 Tower Pisa: 0.05 People: 0.26 Buddha: 0.25 T-shirt: 0.14 Floppy-disk: 0.77 Socks: 0.04 Mattress: 0.03 Floppy-disk: 0.46 iPod: 0.18 CD: 0.06 Floppy-disk: 0.18 Flashlight: 0.08 Pez-dispenser: 0.07 Floppy-disk: 0.74 Necktie: 0.04 Video Projec.: 0.02 Floppy-disk: 0.61 Socks: 0.02 Teddy bear: 0.02 iPod: 0.49 Floppy-disk: 0.08 CD: 0.04 Tomato: 0.96 Grapes: 0.01 Boxing glove: 0.00 Tomato: 0.43 Welding mask: 0.12 Bowling ball: 0.01 Tomato: 0.27 Dice: 0.18 Stained glass: 0.01 Tomato: 0.94 Boxing glove: 0.04 Bowling ball: 0.00 Tomato: 0.41 Cactus: 0.07 Iguana: 0.6 Mushroom: 0.17 Tomato: 0.10 Birdbath: 0.07 Figure 13: Qualitative results: Caltech256. Extends Figure 6 in the main paper. GT labels are underlined, correct knockoff top-1 predictions in green and incorrect in red. Transfer Set Test Set Gadwall: 0.65 Nighthawk: 0.06 Horned Lark: 0.05 Gadwall: 0.31 B. Swallow: 0.14 N. Flicker: 0.12 Gadwall: 0.14 Chuck. Widow: 0.13 Swain. Warbler: 0.1 Gadwall: 0.95 Mallard: 0.01 Rb. Merganser: 0.00 Gadwall: 0.44 Mallard: 0.15 Rb. Merganser: 0.11 Pom. Jaeger: 0.16 Black Tern: 0.11 Herring Gull: 0.07 Lin. Sparrow: 0.82 Ovenbird: 0.07 House Sparrow: 0.03 Lin. Sparrow: 0.49 Mockingbird: 0.18 N. Waterthrush: 0.07 Lin. Sparrow: 0.32 Song Sparrow: 0.06 Tree Sparrow: 0.05 Lin. Sparrow: 0.64 Hen. Sparrow: 0.05 Clay c. Sparrow: 0.03 Lin. Sparrow: 0.50 Song Sparrow: 0.24 Hen. Sparrow: 0.04 Hen. Sparrow: 0.28 Ovenbird: 0.11 Lin. Sparrow: 0.10 Cactus Wren: 0.95 W. Meadowlark: 0.02 Lin. Sparrow: 0.00 Cactus Wren: 0.88 Geococcyx: 0.04

Cited by

Sorted by citations

Authors
Orekondy, T., Schiele, B., & Fritz, M.
Affiliations
  • Max Planck Institute for Informatics (DE)
  • MPI Informatics
  • Helmholtz Center for Information Security (DE)
Venue
2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)
Publisher
IEEE
Published
2019-06
Pages
4949-4958
ISSN
1063-6919 (ISSN-L)
OpenAlex
W2905209730
Cited by
549
References
6
Citations by year
2026: 62 · 2025: 76 · 2024: 113 · 2023: 91 · 2022: 78 · 2021: 73 · 2020: 38 · 2019: 16 · 2018: 1 · 2012: 1
FWCI
19.61
Type
conference paper
Language
en
Open access
Locations
  • IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings (publishedVersion)
  • arXiv (Cornell University) (submittedVersion, cc-by-nc-sa)
  • arXiv (Cornell University) (submittedVersion)
  • Figshare (submittedVersion, cc-by)
  • MPG.PuRe (Max Planck Society) (submittedVersion, cc-by-nc-sa)
  • arXiv (Cornell University)
  • CISPA Helmholtz Center
Funders
Deutsche Forschungsgemeinschaft (DFG CRC 1223, CRC 1223)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Adversarial Robustness in Machine Learning
  • Physical Sciences › Computer Science › Artificial Intelligence › Domain Adaptation and Few-Shot Learning
  • Physical Sciences › Computer Science › Artificial Intelligence › Privacy-Preserving Technologies in Data
Keywords
black-box attacks, adversarial learning, image classification

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review