Repeated Knowledge Distillation with Confidence Masking to Mitigate Membership Inference Attacks

Federico Mazzone, Leander van den Heuvel, Maximilian Huber, Cristian Verdecchia, M. Everts, Florian Hahn, Andreas Peter
{"title":"Repeated Knowledge Distillation with Confidence Masking to Mitigate Membership Inference Attacks","authors":"Federico Mazzone, Leander van den Heuvel, Maximilian Huber, Cristian Verdecchia, M. Everts, Florian Hahn, Andreas Peter","doi":"10.1145/3560830.3563721","DOIUrl":null,"url":null,"abstract":"Machine learning models are often trained on sensitive data, such as medical records or bank transactions, posing high privacy risks. In fact, membership inference attacks can use the model parameters or predictions to determine whether a given data point was part of the training set. One of the most promising mitigations in literature is Knowledge Distillation (KD). This mitigation consists of first training a teacher model on the sensitive private dataset, and then transferring the teacher knowledge to a student model, by the mean of a surrogate dataset. The student model is then deployed in place of the teacher model. Unfortunately, KD on its own does not provide users much flexibility, meant as the possibility to arbitrarily decide how much utility to sacrifice to get membership-privacy. To address this problem, we propose a novel approach that combines KD with confidence score masking. Concretely, we repeat the distillation procedure multiple times in series and, during each distillation, perturb the teacher predictions using confidence masking techniques. We show that our solution provides more flexibility than standard KD, as it allows users to tune the number of distillation rounds and the strength of the masking function. We implement our approach in a tool, RepKD, and assess our mitigation against white- and black-box attacks on multiple models and datasets. Even when the surrogate dataset is different from the private one (which we believe to be a more realistic setting than is commonly found in literature), our mitigation is able to make the black-box attack completely ineffective and significantly reduce the accuracy of the white-box attack at the cost of only 0.6% test accuracy loss.","PeriodicalId":328954,"journal":{"name":"Proceedings of the 15th ACM Workshop on Artificial Intelligence and Security","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 15th ACM Workshop on Artificial Intelligence and Security","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3560830.3563721","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

Machine learning models are often trained on sensitive data, such as medical records or bank transactions, posing high privacy risks. In fact, membership inference attacks can use the model parameters or predictions to determine whether a given data point was part of the training set. One of the most promising mitigations in literature is Knowledge Distillation (KD). This mitigation consists of first training a teacher model on the sensitive private dataset, and then transferring the teacher knowledge to a student model, by the mean of a surrogate dataset. The student model is then deployed in place of the teacher model. Unfortunately, KD on its own does not provide users much flexibility, meant as the possibility to arbitrarily decide how much utility to sacrifice to get membership-privacy. To address this problem, we propose a novel approach that combines KD with confidence score masking. Concretely, we repeat the distillation procedure multiple times in series and, during each distillation, perturb the teacher predictions using confidence masking techniques. We show that our solution provides more flexibility than standard KD, as it allows users to tune the number of distillation rounds and the strength of the masking function. We implement our approach in a tool, RepKD, and assess our mitigation against white- and black-box attacks on multiple models and datasets. Even when the surrogate dataset is different from the private one (which we believe to be a more realistic setting than is commonly found in literature), our mitigation is able to make the black-box attack completely ineffective and significantly reduce the accuracy of the white-box attack at the cost of only 0.6% test accuracy loss.
基于置信度屏蔽的重复知识蒸馏缓解隶属推理攻击
机器学习模型通常是在敏感数据(如医疗记录或银行交易)上进行训练的,这些数据构成了很高的隐私风险。事实上,成员推理攻击可以使用模型参数或预测来确定给定的数据点是否属于训练集的一部分。文献中最有希望的缓解方法之一是知识蒸馏(KD)。这种缓解包括首先在敏感的私有数据集上训练教师模型,然后通过代理数据集将教师知识转移到学生模型。然后将学生模型部署到教师模型的位置。不幸的是,KD本身并没有为用户提供很大的灵活性,这意味着可以任意决定牺牲多少实用程序来获得会员隐私。为了解决这个问题,我们提出了一种将KD与置信分数掩蔽相结合的新方法。具体地说,我们连续多次重复蒸馏过程,并且在每次蒸馏期间,使用置信度掩蔽技术干扰教师的预测。我们表明,我们的解决方案提供了比标准KD更大的灵活性,因为它允许用户调整蒸馏轮数和屏蔽函数的强度。我们在RepKD工具中实现了我们的方法,并评估了针对多个模型和数据集的白盒和黑盒攻击的缓解措施。即使代理数据集与私有数据集不同(我们认为这是一个比文献中常见的更现实的设置),我们的缓解措施也能够使黑盒攻击完全无效,并显著降低白盒攻击的准确性,而成本仅为0.6%的测试准确性损失。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书