从预先训练的模型中揭示秘密
Revealing Secrets From Pre-trained Models
摘要:
随着大数据集训练深度学习模型的负担越来越重,迁移学习已被许多新兴的深度学习算法广泛采用。诸如BERT之类的Transformer模型是自然语言处理中的主要参与者,并且使用迁移学习作为事实标准训练方法。一些大数据公司发布了预先训练的模型,这些模型是用一些流行的数据集训练的,最终用户和研究人员可以用自己的数据集对模型进行微调。迁移学习大大减少了训练模型的时间和精力。然而,这是以安全问题为代价的。在本文中,我们展示了一个新的观察结果,即预训练模型和微调模型在权重值方面具有显着的高相似性。此外,我们证明了存在特定于供应商的计算模式,即使是相同的模型。基于这些新发现,我们提出了一种新的模型窃取攻击,该攻击揭示了黑盒受害者模型使用的模型架构和预训练模型,并具有特定于供应商的计算模式,然后根据微调模型和预训练模型之间的权重值相似性来估计整个模型的权重。我们还表明,权重相似性可以利用增加模型提取的可行性,通过一种新的权重提取修剪。
英文摘要:
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. 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。