arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.01251cs.CRcs.AI
收藏

QUEEN:针对模型提取的查询遗忘防御

QUEEN: Query Unlearning against Model Extraction

University of Technology Sydney(悉尼科技大学);City University of Macau(澳门城市大学);CSIRO Data61(联邦科学与工业研究组织Data61)

Huajie Chen, Tianqing Zhu, Lefeng Zhang, Bo Liu, Derui Wang, Wanlei Zhou, Minhui Xue

AI总结:

本文提出 QUEEN 方法,通过敏感性测量和基于梯度反转的查询遗忘机制主动对抗模型提取攻击,以较低精度代价超越现有防御。

摘要:

模型提取攻击目前对深度学习模型的安全性和隐私性构成了不可忽视的威胁。通过使用小规模数据集查询模型,并将查询结果作为真实标签,攻击者可以窃取一个性能与原始模型相当的盗版模型。造成这一威胁的两个关键问题是:一方面,攻击者可以获得准确且不受限制的查询结果;另一方面,攻击者可以逐步聚合查询结果来训练模型。现有的防御方法通常采用模型水印或指纹识别来保护所有权,但这些方法无法主动阻止侵权行为的发生。为了缓解这一威胁,我们提出了 QUEEN(QUEry unlEarNing,查询遗忘),从最初阶段就主动对潜在的模型提取攻击发起反击。为了限制潜在威胁,QUEEN 具有敏感性测量和输出扰动机制,可以阻止攻击者训练出高性能的盗版模型。在敏感性测量中,QUEEN 通过单个查询在特征空间中与其所属簇中心的距离来衡量其敏感性。为了降低攻击的学习准确率,对于高敏感性的查询批次,QUEEN 应用查询遗忘机制,该机制通过梯度反转来扰动 softmax 输出,使得盗版模型在无意识中产生反向梯度,从而恶化其自身性能。实验表明,QUEEN 在抵御各种模型提取攻击方面优于最先进的防御方法,同时对模型准确率的影响相对较低。代码已公开,可在 https://anonymous.4open.science/r/queen implementation-5408/ 获取。

英文摘要:

Model extraction attacks currently pose a non-negligible threat to the security and privacy of deep learning models. By querying the model with a small dataset and usingthe query results as the ground-truth labels, an adversary can steal a piracy model with performance comparable to the original model. Two key issues that cause the threat are, on the one hand, accurate and unlimited queries can be obtained by the adversary; on the other hand, the adversary can aggregate the query results to train the model step by step. The existing defenses usually employ model watermarking or fingerprinting to protect the ownership. However, these methods cannot proactively prevent the violation from happening. To mitigate the threat, we propose QUEEN (QUEry unlEarNing) that proactively launches counterattacks on potential model extraction attacks from the very beginning. To limit the potential threat, QUEEN has sensitivity measurement and outputs perturbation that prevents the adversary from training a piracy model with high performance. In sensitivity measurement, QUEEN measures the single query sensitivity by its distance from the center of its cluster in the feature space. To reduce the learning accuracy of attacks, for the highly sensitive query batch, QUEEN applies query unlearning, which is implemented by gradient reverse to perturb the softmax output such that the piracy model will generate reverse gradients to worsen its performance unconsciously. Experiments show that QUEEN outperforms the state-of-the-art defenses against various model extraction attacks with a relatively low cost to the model accuracy. The artifact is publicly available at https://anonymous.4open.science/r/queen implementation-5408/.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑