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

HoneypotNet:针对模型提取的后门攻击

HoneypotNet: Backdoor Attacks Against Model Extraction

Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)

Yixu Wang, Tianle Gu, Yan Teng, Yingchun Wang, Xingjun Ma

AI总结:

本文提出HoneypotNet,一种以攻击为防御的轻量级后门方法,通过蜜罐层和双层优化毒化模型输出,使替代模型被注入后门,从而威慑模型提取攻击。

摘要:

模型提取攻击是一类推理时攻击,通过向黑盒受害者模型发起一定数量的查询,然后利用模型的预测来训练一个替代模型,从而近似受害者模型的功能和性能。这些攻击对生产模型和MLaaS平台构成严重的安全威胁,并可能给模型所有者造成重大的经济损失。已有大量工作提出防御机器学习模型免受模型提取攻击的方法,包括主动防御方法(修改模型输出或增加查询开销以避免提取)和被动防御方法(检测恶意查询或利用水印进行事后验证)。在这项工作中,我们引入了一种新的防御范式,称为“以攻击为防御”,它将模型的输出修改为有毒的,使得任何试图利用该输出来训练替代模型的恶意用户都会被毒化。为此,我们提出了一种新颖的轻量级后门攻击方法,名为HoneypotNet,该方法将受害者模型的分类层替换为蜜罐层,然后通过双层优化利用影子模型(用于模拟模型提取)对蜜罐层进行微调,以将其输出修改为有毒的,同时保持原始性能。我们在四个常用的基准数据集上通过实验证明,HoneypotNet能够以很高的成功率将后门注入替代模型中。注入的后门不仅有助于所有权验证,而且会破坏替代模型的功能,从而对模型提取攻击形成显著的威慑。

英文摘要:

Model extraction attacks are one type of inference-time attacks that approximate the functionality and performance of a black-box victim model by launching a certain number of queries to the model and then leveraging the model's predictions to train a substitute model. These attacks pose severe security threats to production models and MLaaS platforms and could cause significant monetary losses to the model owners. A body of work has proposed to defend machine learning models against model extraction attacks, including both active defense methods that modify the model's outputs or increase the query overhead to avoid extraction and passive defense methods that detect malicious queries or leverage watermarks to perform post-verification. In this work, we introduce a new defense paradigm called attack as defense which modifies the model's output to be poisonous such that any malicious users that attempt to use the output to train a substitute model will be poisoned. To this end, we propose a novel lightweight backdoor attack method dubbed HoneypotNet that replaces the classification layer of the victim model with a honeypot layer and then fine-tunes the honeypot layer with a shadow model (to simulate model extraction) via bi-level optimization to modify its output to be poisonous while remaining the original performance. We empirically demonstrate on four commonly used benchmark datasets that HoneypotNet can inject backdoors into substitute models with a high success rate. The injected backdoor not only facilitates ownership verification but also disrupts the functionality of substitute models, serving as a significant deterrent to model extraction attacks.

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

↑