Skip to main content
QUICK REVIEW

[论文解读] Robustness and Accuracy Could Be Reconcilable by (Proper) Definition

Tianyu Pang, Min Lin|arXiv (Cornell University)|Feb 21, 2022
Adversarial Robustness in Machine LearningComputer Science被引用 26
一句话总结

本文提出 SCORE,一种利用局部等变性的自洽鲁棒误差,用以调和对抗训练中的鲁棒性与准确性,并在 RobustBench 上展现出色的经验结果。

ABSTRACT

The trade-off between robustness and accuracy has been widely studied in the adversarial literature. Although still controversial, the prevailing view is that this trade-off is inherent, either empirically or theoretically. Thus, we dig for the origin of this trade-off in adversarial training and find that it may stem from the improperly defined robust error, which imposes an inductive bias of local invariance -- an overcorrection towards smoothness. Given this, we advocate employing local equivariance to describe the ideal behavior of a robust model, leading to a self-consistent robust error named SCORE. By definition, SCORE facilitates the reconciliation between robustness and accuracy, while still handling the worst-case uncertainty via robust optimization. By simply substituting KL divergence with variants of distance metrics, SCORE can be efficiently minimized. Empirically, our models achieve top-rank performance on RobustBench under AutoAttack. Besides, SCORE provides instructive insights for explaining the overfitting phenomenon and semantic input gradients observed on robust models. Code is available at https://github.com/P2333/SCORE.

研究动机与目标

  • 激励对抗学习中的鲁棒性与准确性权衡,并识别由局部不变性导致的错配。
  • 提出 SCORE 作为一个自洽的鲁棒目标,使模型预测与数据分布保持一致。
  • 表明用基于距离的度量替代 KL 散度可得到可处理的优化,并保留鲁棒优化的原则。
  • 给出在 SCORE 下关于过拟合和语义输入梯度的理论见解。
  • 在 CIFAR-10/100 上展现相对于标准对抗训练方法的实证改进,并具有有竞争力的鲁棒基准。

提出的方法

  • 定义并对比标准、Madry 和 SCORE 的鲁棒误差,以解释鲁棒性–准确性之间的张力。
  • 通过用局部等变性替代局部不变性偏差来引入 SCORE,目标是 p_theta*(y|x)=p_d(y|x)。
  • 表明可以使用距离度量 D 来优化 SCORE 以替代 KL,并推导将 SCORE 与 Madry 风格目标联系起来的界限。
  • 给出理论结果(界限与等价性),展示基于距离的 SCORE 如何与 Madry 和 TRADES 目标相关。
  • 讨论实际优化,使用单调递增的凸型 D 的变体,以避免需要需要数据-分数梯度。
  • 将 SCORE 与现有方法(PGD-AT、TRADES)联系起来,并在所选距离度量 D 下在参数空间建立等价性。

实验结果

研究问题

  • RQ1SCORE 是否能通过用局部等变性重新定义鲁棒目标来调和鲁棒性与干净准确性?
  • RQ2将 KL 散度替换为距离度量对优化、界限和经验表现有何影响?
  • RQ3在一般距离度量下,SCORE、Madry 风格目标和 TRADES 之间的理论关系是什么?
  • RQ4SCORE 在鲁棒模型中的过拟合与语义输入梯度方面提供哪些见解?
  • RQ5基于距离的 SCORE 变体是否在标准基准上实现有竞争力的鲁棒性?

主要发现

  • SCORE 将最优鲁棒解与数据分布对齐,消除了在基于 Madry 的鲁棒学习中导致过于平滑的内在偏差。
  • 通过距离度量用类似 Madry 的目标对 SCORE 进行界定,使得优化高效且不需要数据-分数梯度。
  • 基于距离的 SCORE 变体(如平方误差)在鲁棒性上可能优于基于 KL 的基线,有时还能提高干净准确性。
  • 在 PGD-AT 和 TRADES 中用 SE 替换 KL,能在 CIFAR-10/100 上获得有竞争力或更优的鲁棒性和干净准确性,通常不增加额外计算成本。
  • 实验显示在 AutoAttack 下使用受 SCORE 启发的目标和生成数据时,在 RobustBench 上排名靠前。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。