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

重新思考对抗训练中的不变性正则化以改善鲁棒性-准确率权衡

Rethinking Invariance Regularization in Adversarial Training to Improve Robustness-Accuracy Trade-off

The University of Tokyo(东京大学);National Institute of Informatics(日本信息处理学会)

Futa Waseda, Ching-Chun Chang, Isao Echizen

AI总结:

针对对抗训练中不变性正则化导致的梯度冲突与混合分布问题,本文提出ARAT,通过非对称不变性损失、停止梯度、预测器和split-BN改善鲁棒性-准确率权衡。

摘要:

对抗训练通常面临鲁棒性与准确率之间的权衡,即获得高鲁棒性会以牺牲准确率为代价。缓解该权衡的一种方法是利用不变性正则化,它鼓励模型在对抗扰动下保持不变;然而,这仍会导致准确率下降。在本工作中,我们细致分析了在对抗训练中使用不变性正则化的挑战,并理解如何解决这些挑战。我们的分析识别出两个关键问题:(1)不变性目标与分类目标之间存在“梯度冲突”,导致收敛次优;(2)干净输入与对抗输入之间分布发散所产生的混合分布问题。为解决这些问题,我们提出了非对称表示正则化对抗训练(Asymmetric Representation-regularized Adversarial Training,ARAT),该方法结合带有停止梯度操作和预测器的非对称不变性损失以避免梯度冲突,并采用分离式 BatchNorm(BN)结构来解决混合分布问题。我们的详细分析表明,每个组件都有效解决了所识别的问题,为对抗防御提供了新的见解。ARAT 在多种设置下均优于现有方法。最后,我们讨论了研究发现对基于知识蒸馏的防御的启示,为它们相对成功的原因提供了新视角。

英文摘要:

Adversarial training often suffers from a robustness-accuracy trade-off, where achieving high robustness comes at the cost of accuracy. One approach to mitigate this trade-off is leveraging invariance regularization, which encourages model invariance under adversarial perturbations; however, it still leads to accuracy loss. In this work, we closely analyze the challenges of using invariance regularization in adversarial training and understand how to address them. Our analysis identifies two key issues: (1) a ``gradient conflict" between invariance and classification objectives, leading to suboptimal convergence, and (2) the mixture distribution problem arising from diverged distributions between clean and adversarial inputs. To address these issues, we propose Asymmetric Representation-regularized Adversarial Training (ARAT), which incorporates asymmetric invariance loss with stop-gradient operation and a predictor to avoid gradient conflict, and a split-BatchNorm (BN) structure to resolve the mixture distribution problem. Our detailed analysis demonstrates that each component effectively addresses the identified issues, offering novel insights into adversarial defense. ARAT shows superiority over existing methods across various settings. Finally, we discuss the implications of our findings to knowledge distillation-based defenses, providing a new perspective on their relative successes.

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

↑