[论文解读] Exploring and Exploiting Decision Boundary Dynamics for Adversarial Robustness
本文提出一个连续时间框架来研究训练中决策边界相对于个体数据点的移动,并揭示对抗训练下边界动力的冲突性,并提出直接优化边界间距的 Dynamics-Aware Robust Training(DyART),以提升鲁棒性,在 CIFAR-10 和 Tiny-ImageNet 上达到最新状态的性能。
The robustness of a deep classifier can be characterized by its margins: the decision boundary's distances to natural data points. However, it is unclear whether existing robust training methods effectively increase the margin for each vulnerable point during training. To understand this, we propose a continuous-time framework for quantifying the relative speed of the decision boundary with respect to each individual point. Through visualizing the moving speed of the decision boundary under Adversarial Training, one of the most effective robust training algorithms, a surprising moving-behavior is revealed: the decision boundary moves away from some vulnerable points but simultaneously moves closer to others, decreasing their margins. To alleviate these conflicting dynamics of the decision boundary, we propose Dynamics-aware Robust Training (DyART), which encourages the decision boundary to engage in movement that prioritizes increasing smaller margins. In contrast to prior works, DyART directly operates on the margins rather than their indirect approximations, allowing for more targeted and effective robustness improvement. Experiments on the CIFAR-10 and Tiny-ImageNet datasets verify that DyART alleviates the conflicting dynamics of the decision boundary and obtains improved robustness under various perturbation sizes compared to the state-of-the-art defenses. Our code is available at https://github.com/Yuancheng-Xu/Dynamics-Aware-Robust-Training.
研究动机与目标
- 定义一个连续时间框架,以量化相对于每个数据点的即时边界移动。
- 刻画并可视化在对抗训练下边界的移动,并揭示冲突动力。
- 推导边距的闭式梯度,以实现直接的边距优化。
- 提出 DyART,优先 increasing 较小的边距并缓解冲突动力。
- 在 CIFAR-10 和 Tiny-ImageNet 上对比最新防御方法进行实证验证。
提出的方法
- 引入一个连续时间形式,其中边界的速度等于每个数据点的边距对时间的导数 s(x_i,t) 。
- 推导 s(x_i,t) 的闭式表达式,涉及对模型参数的边距梯度和参数更新轨迹。
- 将边距 R_theta(x) 定义为到决策边界的距离,并将其与对数似然边距区分开来。
- 开发一个基于边距的损失 L^R(theta),采用一个凸的、递减的函数 h(R) 来鼓励在易受攻击点上实现正向边界速度。
- 引入一个软决策边界 Phi^y_theta(x; beta) 来近似精确边距并降低计算成本,并给出近似质量的界限。
- 提供一个实际算法(DyART),通过一个组合损失来优化:对干净数据的标准交叉熵加上使用软边距的边距项(方程式 9)。
实验结果
研究问题
- RQ1在训练过程中,如何量化相对于各个数据点的决策边界动力学?
- RQ2标准对抗训练方法是否存在冲突动力,即边界向某些易受攻击点移动远离而对其他点移动靠近?
- RQ3我们是否可以设计一个优化目标,直接提高对最易受攻击数据点的边距,并缓解冲突动力?
- RQ4在多分类设置中,如何高效地计算边距梯度以用于基于边距的优化?
- RQ5与最先进防御相比,DyART 是否在一系列扰动预算下提升鲁棒性?
主要发现
- 在对抗训练下,许多易受攻击点表现出负的速度(边距减小),揭示决策边界的冲突动力。
- 对边距的闭式梯度(针对边距的光滑函数)使得直接基于边距的优化成为可能(方程 6)。
- 使用软边距和软边界在降低计算成本的同时,提供对精确边距的可控近似(命题 5)。
- DyART 强调通过凸的递减成本 h(R) 增大较小边距,从而缓解边界冲突,在 CIFAR-10 和 Tiny-ImageNet 的不同扰动尺度上提升鲁棒性。
- 在 CIFAR-10 上,DyART 在 2/255、4/255、8/255 扰动下达到最强鲁棒性,在更大预算下也具有强劲表现;在 Tiny-ImageNet 上,DyART 在所考察的预算范围内获得最佳鲁棒性和清洁准确率。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。