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

基于少量查询的梯度对齐攻击

Gradient Aligned Attacks via a Few Queries

Qingdao University(青岛大学)

Xiangyuan Yang, Jie Lin, Hanlin Zhang, Xinyu Yang, Peng Zhao

AI总结:

针对少量查询场景下黑盒攻击性能低的问题,提出梯度对齐攻击与损失,通过对齐替代模型与受害模型的损失梯度权重提升攻击性能与查询效率,在ImageNet上效果显著。

摘要:

仅依赖受害模型输出的黑盒查询攻击已被证明能有效攻击深度学习模型。然而,在仅允许少量查询的新型场景下,现有黑盒查询攻击表现不佳。为解决这一问题,我们提出梯度对齐攻击(GAA),该方法利用我们在替代模型上设计的梯度对齐损失(GAL)来估计准确梯度,以提升对受害模型的攻击性能。具体而言,我们提出一种梯度对齐机制,确保损失函数关于logit向量的导数在替代模型与受害模型之间具有相同的权重系数。借助该机制,我们将交叉熵(CE)损失和间隔损失转化为梯度对齐形式,即梯度对齐CE损失或梯度对齐间隔损失。这些损失不仅提升了我们的梯度对齐攻击在该新型场景下的攻击性能,还提高了现有黑盒查询攻击的查询效率。通过在ImageNet数据集上的理论与实证分析,我们证明了梯度对齐机制的有效性,并且与四种最新的基于可迁移先验的查询攻击相比,我们的梯度对齐攻击在盒约束的$l_2$和$l_{\infty}$范数下,在新型场景中的攻击性能分别提升了16.1%和31.3%。此外,梯度对齐损失还显著减少了这些基于可迁移先验的查询攻击所需的查询次数,最大降幅达2.9倍。总体而言,我们提出的梯度对齐攻击和损失在黑盒查询攻击的攻击性能和查询效率方面均有显著提升,尤其是在仅允许少量查询的场景下。

英文摘要:

Black-box query attacks, which rely only on the output of the victim model, have proven to be effective in attacking deep learning models. However, existing black-box query attacks show low performance in a novel scenario where only a few queries are allowed. To address this issue, we propose gradient aligned attacks (GAA), which use the gradient aligned losses (GAL) we designed on the surrogate model to estimate the accurate gradient to improve the attack performance on the victim model. Specifically, we propose a gradient aligned mechanism to ensure that the derivatives of the loss function with respect to the logit vector have the same weight coefficients between the surrogate and victim models. Using this mechanism, we transform the cross-entropy (CE) loss and margin loss into gradient aligned forms, i.e. the gradient aligned CE or margin losses. These losses not only improve the attack performance of our gradient aligned attacks in the novel scenario but also increase the query efficiency of existing black-box query attacks. Through theoretical and empirical analysis on the ImageNet database, we demonstrate that our gradient aligned mechanism is effective, and that our gradient aligned attacks can improve the attack performance in the novel scenario by 16.1\% and 31.3\% on the $l_2$ and $l_{\infty}$ norms of the box constraint, respectively, compared to four latest transferable prior-based query attacks. Additionally, the gradient aligned losses also significantly reduce the number of queries required in these transferable prior-based query attacks by a maximum factor of 2.9 times. Overall, our proposed gradient aligned attacks and losses show significant improvements in the attack performance and query efficiency of black-box query attacks, particularly in scenarios where only a few queries are allowed.

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

↑