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

防止快速对抗训练中的灾难性过拟合:一种双层优化视角

Preventing Catastrophic Overfitting in Fast Adversarial Training: A Bi-level Optimization Perspective

School of Artificial Intelligence, Xidian University(西安电子科技大学人工智能学院);School of Computer Science and Technology, Xidian University(西安电子科技大学计算机科学与技术学院);School of Engineering, Westlake University(西湖大学工程学院)

Zhaoxin Wang, Handing Wang, Cong Tian, Yaochu Jin

AI总结:

针对快速对抗训练中的灾难性过拟合问题,提出FGSM-PCO方法,通过自适应融合历史对抗样本并定制损失函数,避免内层优化崩溃,在多个模型和数据集上验证了有效性。

摘要:

对抗训练(AT)已成为对抗样本(AEs)的有效防御方法,通常被构建为双层优化问题。在各种AT方法中,快速对抗训练(FAT)采用单步攻击策略来指导训练过程,能够以较低成本获得对对抗攻击的良好鲁棒性。然而,FAT方法存在灾难性过拟合问题,尤其是在复杂任务或大参数模型上。在这项工作中,我们提出了一种名为FGSM-PCO的FAT方法,通过避免双层优化过程中内层优化问题的崩溃来缓解灾难性过拟合。FGSM-PCO从历史对抗样本生成当前阶段的对抗样本,并通过自适应机制将其纳入训练过程。该机制根据对抗样本在训练模型上的表现确定合适的融合比例。结合针对训练框架定制的损失函数,FGSM-PCO能够缓解灾难性过拟合,并帮助过拟合模型恢复到有效训练。我们在三个模型和三个数据集上评估了我们的算法,以验证其有效性。与其他FAT算法的对比实证研究表明,我们提出的方法有效解决了现有算法中未解决的过拟合问题。

英文摘要:

Adversarial training (AT) has become an effective defense method against adversarial examples (AEs) and it is typically framed as a bi-level optimization problem. Among various AT methods, fast AT (FAT), which employs a single-step attack strategy to guide the training process, can achieve good robustness against adversarial attacks at a low cost. However, FAT methods suffer from the catastrophic overfitting problem, especially on complex tasks or with large-parameter models. In this work, we propose a FAT method termed FGSM-PCO, which mitigates catastrophic overfitting by averting the collapse of the inner optimization problem in the bi-level optimization process. FGSM-PCO generates current-stage AEs from the historical AEs and incorporates them into the training process using an adaptive mechanism. This mechanism determines an appropriate fusion ratio according to the performance of the AEs on the training model. Coupled with a loss function tailored to the training framework, FGSM-PCO can alleviate catastrophic overfitting and help the recovery of an overfitted model to effective training. We evaluate our algorithm across three models and three datasets to validate its effectiveness. Comparative empirical studies against other FAT algorithms demonstrate that our proposed method effectively addresses unresolved overfitting issues in existing algorithms.

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

↑