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

硬标签环境下的无数据模型窃取

Towards Data-Free Model Stealing in a Hard Label Setting

Indian Institute of Science(印度科学学院)

Sunandini Sanyal, Sravanti Addepalli, R. Venkatesh Babu

摘要:

部署为服务(MLaaS)的机器学习模型容易受到模型窃取攻击,其中攻击者试图在受限访问框架内窃取模型。虽然现有的攻击使用分类网络的softmax预测展示了近乎完美的克隆模型性能,但大多数API只允许访问前1个标签。在这项工作中,我们证明了通过仅访问前1个预测(硬标签设置)来窃取机器学习模型确实是可能的,而无需访问模型梯度(黑盒设置),甚至在低查询预算内的训练数据集(无数据设置)。我们提出了一种新的基于GAN的框架,该框架可以训练学生和生成器协同有效地窃取模型,同时通过利用克隆网络的梯度作为受害者梯度的代理来克服硬标签设置的挑战。我们建议通过利用公开可用(可能不相关)的数据集作为弱图像先验来克服与典型的无数据设置相关的大查询成本。我们还表明,即使在没有这些数据的情况下,也可以使用合成制作的样本在低查询预算内实现最先进的结果。我们也是第一个在100类数据集上展示模型窃取在受限访问设置中的可扩展性的人。

英文摘要:

Machine learning models deployed as a service (MLaaS) are susceptible to model stealing attacks, where an adversary attempts to steal the model within a restricted access framework. While existing attacks demonstrate near-perfect clone-model performance using softmax predictions of the classification network, most of the APIs allow access to only the top-1 labels. In this work, we show that it is indeed possible to steal Machine Learning models by accessing only top-1 predictions (Hard Label setting) as well, without access to model gradients (Black-Box setting) or even the training dataset (Data-Free setting) within a low query budget. We propose a novel GAN-based framework that trains the student and generator in tandem to steal the model effectively while overcoming the challenge of the hard label setting by utilizing gradients of the clone network as a proxy to the victim's gradients. We propose to overcome the large query costs associated with a typical Data-Free setting by utilizing publicly available (potentially unrelated) datasets as a weak image prior. We additionally show that even in the absence of such data, it is possible to achieve state-of-the-art results within a low query budget using synthetically crafted samples. We are the first to demonstrate the scalability of Model Stealing in a restricted access setting on a 100 class dataset as well.

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

↑