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

视觉自监督及其对模型鲁棒性的影响

On visual self-supervision and its effect on model robustness

Los Alamos National Laboratory(洛斯阿拉莫斯国家实验室)

Michal Kucer, Diane Oyen, Garrett Kenyon

摘要:

最近的自我监督方法已经成功地学习了可以与完全监督相媲美的特征表示,并且已经被证明在几个方面对模型有益:例如提高模型的鲁棒性和分布外检测。在我们的论文中,我们进行了一项实证研究,以更精确地了解自监督学习(作为预训练技术或对抗训练的一部分)如何影响模型对$l_2$和$l_{\infty}$对抗扰动和自然图像损坏的鲁棒性。自我监督确实可以提高模型的鲁棒性,但事实证明,魔鬼在于细节。如果简单地将自我监督损失与对抗性训练相结合,那么当使用对抗性扰动进行评估时,可以看到模型的准确性有所提高,对抗性扰动小于或相当于鲁棒模型所训练的$ε_{train}$的值。然而,如果观察$ε_{test} \ge ε_{train}$的精度,则模型精度下降。事实上,监督损失的权重越大,性能下降越大,即损害模型的鲁棒性。我们确定了将自我监督添加到对抗训练中的主要方法,并观察到使用自我监督损失来优化网络参数并找到对抗示例可以最大限度地提高模型的鲁棒性,因为这可以被视为一种形式的集成对抗训练。尽管与随机权重初始化相比,自监督预训练在改善对抗训练方面有好处,但如果将自监督纳入对抗训练,我们没有观察到模型鲁棒性或准确性方面的好处。

英文摘要:

Recent self-supervision methods have found success in learning feature representations that could rival ones from full supervision, and have been shown to be beneficial to the model in several ways: for example improving models robustness and out-of-distribution detection. In our paper, we conduct an empirical study to understand more precisely in what way can self-supervised learning - as a pre-training technique or part of adversarial training - affects model robustness to $l_2$ and $l_{\infty}$ adversarial perturbations and natural image corruptions. Self-supervision can indeed improve model robustness, however it turns out the devil is in the details. If one simply adds self-supervision loss in tandem with adversarial training, then one sees improvement in accuracy of the model when evaluated with adversarial perturbations smaller or comparable to the value of $ε_{train}$ that the robust model is trained with. However, if one observes the accuracy for $ε_{test} \ge ε_{train}$, the model accuracy drops. In fact, the larger the weight of the supervision loss, the larger the drop in performance, i.e. harming the robustness of the model. We identify primary ways in which self-supervision can be added to adversarial training, and observe that using a self-supervised loss to optimize both network parameters and find adversarial examples leads to the strongest improvement in model robustness, as this can be viewed as a form of ensemble adversarial training. Although self-supervised pre-training yields benefits in improving adversarial training as compared to random weight initialization, we observe no benefit in model robustness or accuracy if self-supervision is incorporated into adversarial training.

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

↑