TMI!微调模型从其预训练数据中泄露私有信息
TMI! Finetuned Models Leak Private Information from their Pretraining Data
AI总结:
本文提出一种新的成员推理威胁模型和基于元分类器的攻击方法TMI,利用查询访问微调模型成功推断预训练数据成员身份,揭示了迁移学习中的隐私泄露风险。
摘要:
迁移学习已成为机器学习中日益流行的一种技术,它通过利用为某一任务训练的预训练模型,来辅助构建用于相关任务的微调模型。这种范式在机器学习的隐私保护领域尤为流行,其中预训练模型被视为公开的,只有用于微调的数据才被视为敏感数据。然而,有理由相信用于预训练的数据仍然是敏感的,因此有必要了解微调模型会泄露多少关于预训练数据的信息。在本研究中,我们提出了一种新的成员推理威胁模型,在该模型中,攻击者仅能访问微调模型,并希望推断预训练数据的成员身份。为了实现这一威胁模型,我们实现了一种基于元分类器的新型攻击方法 TMI,该方法利用了被记忆的预训练样本对下游任务预测的影响。我们在多种迁移学习设置下(包括使用差分隐私进行微调)评估了 TMI 在视觉和自然语言任务上的表现。通过评估,我们发现 TMI 能够利用对微调模型的查询访问权限,成功推断出预训练样本的成员身份。TMI 的开源实现可在 GitHub 上找到:https://github.com/johnmath/tmi-pets24。
英文摘要:
Transfer learning has become an increasingly popular technique in machine learning as a way to leverage a pretrained model trained for one task to assist with building a finetuned model for a related task. This paradigm has been especially popular for $\textit{privacy}$ in machine learning, where the pretrained model is considered public, and only the data for finetuning is considered sensitive. However, there are reasons to believe that the data used for pretraining is still sensitive, making it essential to understand how much information the finetuned model leaks about the pretraining data. In this work we propose a new membership-inference threat model where the adversary only has access to the finetuned model and would like to infer the membership of the pretraining data. To realize this threat model, we implement a novel metaclassifier-based attack, $\textbf{TMI}$, that leverages the influence of memorized pretraining samples on predictions in the downstream task. We evaluate $\textbf{TMI}$ on both vision and natural language tasks across multiple transfer learning settings, including finetuning with differential privacy. Through our evaluation, we find that $\textbf{TMI}$ can successfully infer membership of pretraining examples using query access to the finetuned model. An open-source implementation of $\textbf{TMI}$ can be found on GitHub: https://github.com/johnmath/tmi-pets24.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。