Revealing Secrets From Pre-trained Models

Mujahid Al Rafi, Yuan Feng, Hyeran Jeon
7/19/2022
cs.CRcs.LG

No confident code implementation found for this paper.

Abstract

With the growing burden of training deep learning models with large data sets, transfer-learning has been widely adopted in many emerging deep learning algorithms. Transformer models such as BERT are the main player in natural language processing and use transfer-learning as a de facto standard training method.

Show full abstract

A few big data companies release pre-trained models that are trained with a few popular datasets with which end users and researchers fine-tune the model with their own datasets. Transfer-learning significantly reduces the time and effort of training models. However, it comes at the cost of security concerns. In this paper, we show a new observation that pre-trained models and fine-tuned models have significantly high similarities in weight values. Also, we demonstrate that there exist vendor-specific computing patterns even for the same models. With these new findings, we propose a new model extraction attack that reveals the model architecture and the pre-trained model used by the black-box victim model with vendor-specific computing patterns and then estimates the entire model weights based on the weight value similarities between the fine-tuned model and pre-trained model. We also show that the weight similarity can be leveraged for increasing the model extraction feasibility through a novel weight extraction pruning.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{rafi2022revealing,
  title  = {Revealing Secrets From Pre-trained Models},
  author = {Mujahid Al Rafi and Yuan Feng and Hyeran Jeon},
  year   = {2022},
  eprint = {2207.09539},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.09539v1}
}

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

Discussion