Teacher Model Fingerprinting Attacks Against Transfer Learning

Yufei Chen, Chao Shen, Cong Wang, Yang Zhang
6/23/2021
36 citations
cs.CRcs.LG

Official code: yfchen1994/Teacher-Fingerprinting (11 stars, Python, last commit 2025-10-28).

Abstract

Transfer learning has become a common solution to address training data scarcity in practice. It trains a specified student model by reusing or fine-tuning early layers of a well-trained teacher model that is usually publicly available.

Show full abstract

However, besides utility improvement, the transferred public knowledge also brings potential threats to model confidentiality, and even further raises other security and privacy issues. In this paper, we present the first comprehensive investigation of the teacher model exposure threat in the transfer learning context, aiming to gain a deeper insight into the tension between public knowledge and model confidentiality. To this end, we propose a teacher model fingerprinting attack to infer the origin of a student model, i.e., the teacher model it transfers from. Specifically, we propose a novel optimization-based method to carefully generate queries to probe the student model to realize our attack. Unlike existing model reverse engineering approaches, our proposed fingerprinting method neither relies on fine-grained model outputs, e.g., posteriors, nor auxiliary information of the model architecture or training dataset. We systematically evaluate the effectiveness of our proposed attack. The empirical results demonstrate that our attack can accurately identify the model origin with few probing queries. Moreover, we show that the proposed attack can serve as a stepping stone to facilitating other attacks against machine learning models, such as model stealing.

View on arXivView PDF

Code Implementations(1)

111Python, ShellMay 31, 20221 years ago

Similar Papers

Cite this paper

@article{chen2021teacher,
  title  = {Teacher Model Fingerprinting Attacks Against Transfer Learning},
  author = {Yufei Chen and Chao Shen and Cong Wang and Yang Zhang},
  year   = {2021},
  eprint = {2106.12478},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.12478}
}

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

Discussion