戳穿有缺陷的对抗样本防御:修复一行代码即可击破 Sabre
Cutting through buggy adversarial example defenses: fixing 1 line of code breaks Sabre
AI总结:
本文揭露 IEEE S&P 2024 接收的对抗样本防御 Sabre 因评估代码缺陷存在梯度掩蔽,仅修复一行代码即可将其鲁棒准确率降至 0%,且作者后续多次修补仍被逐一击破。
摘要:
Sabre 是一种对抗样本防御方法,曾被 IEEE S&P 2024 接收。我们首先揭示其评估中存在明显缺陷,这些缺陷指向清晰的梯度掩蔽迹象。随后我们指出造成这种梯度掩蔽的原因:原始评估代码中的一个错误。仅通过修复原始代码仓库中的一行代码,我们便将 Sabre 的鲁棒准确率降至 0%。对此,作者修改了防御方法,并引入了一个原始论文中未描述的新防御组件。但这一修复包含第二个错误;再修改一行代码即可将鲁棒准确率降至基线水平以下。在我们发布论文第一版后,作者又对防御方法进行了另一处改动;在攻击过程中注释掉一行代码,我们再次将鲁棒准确率降至 0%。
英文摘要:
Sabre is a defense to adversarial examples that was accepted at IEEE S&P 2024. We first reveal significant flaws in the evaluation that point to clear signs of gradient masking. We then show the cause of this gradient masking: a bug in the original evaluation code. By fixing a single line of code in the original repository, we reduce Sabre's robust accuracy to 0%. In response to this, the authors modify the defense and introduce a new defense component not described in the original paper. But this fix contains a second bug; modifying one more line of code reduces robust accuracy to below baseline levels. After we released the first version of our paper online, the authors introduced another change to the defense; by commenting out one line of code during attack we reduce the robust accuracy to 0% again.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。