Knockoff Nets:黑盒模型的窃取功能
Knockoff Nets: Stealing Functionality of Black-Box Models
摘要:
机器学习(ML)模型越来越多地部署在野外,以执行各种任务。在这项工作中,我们问在多大程度上可以窃取这样的“受害者”模型的功能完全基于黑盒的相互作用:图像,预测。与以前的工作相比,我们提出了一个对手缺乏知识的训练/测试数据所使用的模型,其内部和语义模型输出。我们将模型功能窃取制定为两步方法:(i)向黑盒模型查询一组输入图像以获得预测;以及(ii)使用查询的图像预测对训练“山寨”。我们做了多个显着的观察:(a)查询来自不同分布的随机图像,而不是黑箱训练数据的结果是性能良好的仿制品;(b)即使使用不同的架构表示仿制品,这也是可能的;(c)我们的强化学习方法还提高了某些设置中的查询样本效率,并提供了性能增益。我们在一系列数据集和任务上验证模型功能窃取,以及在一个流行的图像分析API上,我们创建了一个合理的仿制品,价格低至30美元。
英文摘要:
Machine Learning (ML) models are increasingly deployed in the wild to perform a wide range of tasks. In this work, we ask to what extent can an adversary steal functionality of such "victim" models based solely on blackbox interactions: image in, predictions out. In contrast to prior work, we present an adversary lacking knowledge of train/test data used by the model, its internals, and semantics over model outputs. We formulate model functionality stealing as a two-step approach: (i) querying a set of input images to the blackbox model to obtain predictions; and (ii) training a "knockoff" with queried image-prediction pairs. We make multiple remarkable observations: (a) querying random images from a different distribution than that of the blackbox training data results in a well-performing knockoff; (b) this is possible even when the knockoff is represented using a different architecture; and (c) our reinforcement learning approach additionally improves query sample efficiency in certain settings and provides performance gains. We validate model functionality stealing on a range of datasets and tasks, as well as on a popular image analysis API where we create a reasonable knockoff for as little as $30.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。