SecretGen: Privacy Recovery on Pre-Trained Models via Distribution Discrimination

Zhuowen Yuan, Fan Wu, Yunhui Long, Chaowei Xiao, Bo Li
7/25/2022
cs.LGcs.CR

Official code: AI-secure/SecretGen (6 stars, Python, MIT, last commit 2023-04-22).

Abstract

Transfer learning through the use of pre-trained models has become a growing trend for the machine learning community. Consequently, numerous pre-trained models are released online to facilitate further research.

Show full abstract

However, it raises extensive concerns on whether these pre-trained models would leak privacy-sensitive information of their training data. Thus, in this work, we aim to answer the following questions: "Can we effectively recover private information from these pre-trained models? What are the sufficient conditions to retrieve such sensitive information?" We first explore different statistical information which can discriminate the private training distribution from other distributions. Based on our observations, we propose a novel private data reconstruction framework, SecretGen, to effectively recover private information. Compared with previous methods which can recover private data with the ground true prediction of the targeted recovery instance, SecretGen does not require such prior knowledge, making it more practical. We conduct extensive experiments on different datasets under diverse scenarios to compare SecretGen with other baselines and provide a systematic benchmark to better understand the impact of different auxiliary information and optimization operations. We show that without prior knowledge about true class prediction, SecretGen is able to recover private data with similar performance compared with the ones that leverage such prior knowledge. If the prior knowledge is given, SecretGen will significantly outperform baseline methods. We also propose several quantitative metrics to further quantify the privacy vulnerability of pre-trained models, which will help the model selection for privacy-sensitive applications. Our code is available at: https://github.com/AI-secure/SecretGen.

View on arXivView PDF

Code Implementations(1)

MIT

A general model inversion attack against large pre-trained models.

63PythonJul 19, 20223 years agoMIT
machine-learningprivacy

Similar Papers

Cite this paper

@article{yuan2022secretgen,
  title  = {SecretGen: Privacy Recovery on Pre-Trained Models via Distribution Discrimination},
  author = {Zhuowen Yuan and Fan Wu and Yunhui Long and Chaowei Xiao and Bo Li},
  year   = {2022},
  eprint = {2207.12263},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2207.12263}
}

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

Discussion