arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.11470cs.LGcs.CR
收藏

基于查询的黑盒攻击的随机噪声防御

Random Noise Defense Against Query-Based Black-Box Attacks

Shenzhen Research Institute of Big Data(深圳大数据研究院);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Tencent AI Lab(腾讯人工智能实验室)

Zeyu Qin, Yanbo Fan, Hongyuan Zha, Baoyuan Wu

摘要:

基于查询的黑盒攻击在实际应用中对机器学习模型造成了严重的威胁。在这项工作中,我们研究了一种轻量级的防御方法,称为随机噪声防御(RND),它添加适当的高斯噪声到每个查询。从理论上分析了RND算法对基于查询的黑盒攻击和相应的自适应攻击的有效性。我们的理论结果表明,RND的防御性能是由RND引起的噪声和攻击者的梯度估计或局部搜索添加的噪声之间的幅度比。大的幅度比导致RND更强的防御性能,这也是抵御自适应攻击的关键。基于我们的分析,我们进一步建议将RND与合理的高斯增强微调(RND-GF)相结合。它使RND能够向每个查询添加更大的噪声,同时保持干净的准确性,以在干净的准确性和防御性能之间获得更好的权衡。此外,RND可以灵活地与现有的防御方法相结合,以进一步提高对抗性鲁棒性,例如对抗性训练(AT)。在CIFAR-10和ImageNet上的大量实验验证了我们的理论发现以及RND和RND-GF的有效性。

英文摘要:

The query-based black-box attacks have raised serious threats to machine learning models in many real applications. In this work, we study a lightweight defense method, dubbed Random Noise Defense (RND), which adds proper Gaussian noise to each query. We conduct the theoretical analysis about the effectiveness of RND against query-based black-box attacks and the corresponding adaptive attacks. Our theoretical results reveal that the defense performance of RND is determined by the magnitude ratio between the noise induced by RND and the noise added by the attackers for gradient estimation or local search. The large magnitude ratio leads to the stronger defense performance of RND, and it's also critical for mitigating adaptive attacks. Based on our analysis, we further propose to combine RND with a plausible Gaussian augmentation Fine-tuning (RND-GF). It enables RND to add larger noise to each query while maintaining the clean accuracy to obtain a better trade-off between clean accuracy and defense performance. Additionally, RND can be flexibly combined with the existing defense methods to further boost the adversarial robustness, such as adversarial training (AT). Extensive experiments on CIFAR-10 and ImageNet verify our theoretical findings and the effectiveness of RND and RND-GF.

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

↑