论文标题
通过直接的pac-bayesian绑定最小化改善鲁棒的概括
Improving Robust Generalization by Direct PAC-Bayesian Bound Minimization
论文作者
论文摘要
强大优化方面的最新研究表明,与测试集相比,针对对抗性攻击的模型在训练集上表现出更高的鲁棒性。尽管以前的工作为这种现象提供了理论上的解释,使用强大的Pac-bayesian在对抗性测试错误上结合,但相关的算法推导充其量只有与该界限很松散地连接,这意味着他们的经验成功与我们对对抗性鲁棒性鲁棒性理论的理解之间仍然存在差距。为了缩小这一差距,在本文中,我们考虑了一种不同形式的强大的Pac-bayesian结合,并直接将其相对于模型后部最小化。最佳解决方案的推导将Pac-Bayesian的学习连接到通过测量表面平坦度的Hessian(TRH)正常器的痕迹,将Pac-Bayesian的学习与稳健损耗表面的几何形状联系起来。实际上,我们仅将TRH正常化程序限制在顶层,这导致了分析解决方案,该解决方案的计算成本不取决于网络深度。最后,我们使用视觉变压器(VIT)评估了CIFAR-10/100和Imagenet的TRH正则化方法,并与基线对抗鲁棒性算法进行比较。实验结果表明,TRH正则化会导致匹配或超过以前最新方法的vit鲁棒性,同时需要更少的内存和计算成本。
Recent research in robust optimization has shown an overfitting-like phenomenon in which models trained against adversarial attacks exhibit higher robustness on the training set compared to the test set. Although previous work provided theoretical explanations for this phenomenon using a robust PAC-Bayesian bound over the adversarial test error, related algorithmic derivations are at best only loosely connected to this bound, which implies that there is still a gap between their empirical success and our understanding of adversarial robustness theory. To close this gap, in this paper we consider a different form of the robust PAC-Bayesian bound and directly minimize it with respect to the model posterior. The derivation of the optimal solution connects PAC-Bayesian learning to the geometry of the robust loss surface through a Trace of Hessian (TrH) regularizer that measures the surface flatness. In practice, we restrict the TrH regularizer to the top layer only, which results in an analytical solution to the bound whose computational cost does not depend on the network depth. Finally, we evaluate our TrH regularization approach over CIFAR-10/100 and ImageNet using Vision Transformers (ViT) and compare against baseline adversarial robustness algorithms. Experimental results show that TrH regularization leads to improved ViT robustness that either matches or surpasses previous state-of-the-art approaches while at the same time requires less memory and computational cost.