Are You Stealing My Model? Sample Correlation for Fingerprinting Deep Neural Networks

Jiyang Guan, Jian Liang, Ran He
10/21/2022
cs.CRcs.AI

Official code: guanjiyang/SAC (18 stars, Python, last commit 2022-10-07).

Abstract

An off-the-shelf model as a commercial service could be stolen by model stealing attacks, posing great threats to the rights of the model owner. Model fingerprinting aims to verify whether a suspect model is stolen from the victim model, which gains more and more attention nowadays.

Show full abstract

Previous methods always leverage the transferable adversarial examples as the model fingerprint, which is sensitive to adversarial defense or transfer learning scenarios. To address this issue, we consider the pairwise relationship between samples instead and propose a novel yet simple model stealing detection method based on SAmple Correlation (SAC). Specifically, we present SAC-w that selects wrongly classified normal samples as model inputs and calculates the mean correlation among their model outputs. To reduce the training time, we further develop SAC-m that selects CutMix Augmented samples as model inputs, without the need for training the surrogate models or generating adversarial examples. Extensive results validate that SAC successfully defends against various model stealing attacks, even including adversarial training or transfer learning, and detects the stolen models with the best performance in terms of AUC across different datasets and model architectures. The codes are available at https://github.com/guanjiyang/SAC.

View on arXivView PDF

Code Implementations(1)

guanjiyang/SACOfficial100%
182PythonOct 5, 20224 years ago

Similar Papers

Cite this paper

@article{guan2022stealing,
  title  = {Are You Stealing My Model? Sample Correlation for Fingerprinting Deep Neural Networks},
  author = {Jiyang Guan and Jian Liang and Ran He},
  year   = {2022},
  eprint = {2210.15427},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.15427}
}

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/2210.15427.svg)](https://codeofpaper.com/paper/2210.15427)

Discussion