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

作为压缩伪影的隐形后门

Stealthy Backdoors as Compression Artifacts

State Key Laboratory for Novel Software Technology, Nanjing University(南京大学计算机软件新技术国家重点实验室);University of Virginia(弗吉尼亚大学)

Yulong Tian, Fnu Suya, Fengyuan Xu, David Evans

摘要:

在对机器学习模型的后门攻击中,攻击者生成一个模型,该模型在正常输入上表现良好,但在包含小触发模式的输入上输出有针对性的错误分类。模型压缩是一种广泛使用的方法,用于减小深度学习模型的大小,而不会损失太多的准确性,从而使资源匮乏的模型能够被压缩以在资源受限的设备上使用。在本文中,我们研究的风险,模型压缩可以提供一个机会,对手注入隐形后门。我们设计了隐形的后门攻击,这样对手发布的全尺寸模型似乎没有后门(即使使用最先进的技术进行测试),但当模型被压缩时,它会显示出非常有效的后门。我们表明,这可以做到两个常见的模型压缩技术-模型修剪和模型量化。我们的研究结果证明了对手如何能够将后门隐藏为压缩工件,并显示了对实际部署的模型而不是其预压缩版本进行安全测试的重要性。

英文摘要:

In a backdoor attack on a machine learning model, an adversary produces a model that performs well on normal inputs but outputs targeted misclassifications on inputs containing a small trigger pattern. Model compression is a widely-used approach for reducing the size of deep learning models without much accuracy loss, enabling resource-hungry models to be compressed for use on resource-constrained devices. In this paper, we study the risk that model compression could provide an opportunity for adversaries to inject stealthy backdoors. We design stealthy backdoor attacks such that the full-sized model released by adversaries appears to be free from backdoors (even when tested using state-of-the-art techniques), but when the model is compressed it exhibits highly effective backdoors. We show this can be done for two common model compression techniques -- model pruning and model quantization. Our findings demonstrate how an adversary may be able to hide a backdoor as a compression artifact, and show the importance of performing security tests on the models that will actually be deployed not their precompressed version.

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

↑