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

稀疏性赢得两次:从更有效的训练中获得更好的鲁棒泛化

Sparsity Winning Twice: Better Robust Generalization from More Efficient Training

University of Science and Technology of China(中国科学技术大学);University of Texas at Austin(德克萨斯大学奥斯汀分校);University of California, Irvine(加州大学欧文分校)

Tianlong Chen, Zhenyu Zhang, Pengjun Wang, Santosh Balachandra, Haoyu Ma, Zehao Wang, Zhangyang Wang

摘要:

最近的研究表明,深度网络,即使通过最先进的对抗训练(AT)进行鲁棒化,除了比标准训练昂贵得多的训练成本之外,仍然存在很大的鲁棒泛化差距。在本文中,我们从一个新的角度研究这个有趣的问题,即,在对抗训练中注入适当形式的稀疏性。我们引入了两种稀疏对抗训练的替代方案:(i)静态稀疏性,通过利用彩票假设的最新结果来识别早期训练中产生的关键稀疏子网;(ii)动态稀疏性,通过允许稀疏子网在整个训练过程中自适应地调整其连接模式(同时坚持相同的稀疏率)。我们发现静态和动态稀疏方法都可以实现双赢:大幅缩小鲁棒泛化差距,减轻鲁棒过拟合,同时显著节省训练和推理FLOPs。大量的实验验证了我们在不同数据集上使用多种网络架构的建议,包括CIFAR-10/100和Tiny-ImageNet。例如,我们的方法将鲁棒泛化差距和过拟合减少了34.44%和4.02%,在CIFAR-100和ResNet-18上具有相当的鲁棒/标准准确度提升和87.83%/87.82%的训练/推理FLOP节省。此外,我们的方法可以有机地结合现有的正则化,建立新的国家的最先进的结果在AT。代码可在https://github.com/VITA-Group/Sparsity-Win-Robust-Generalization上找到。

英文摘要:

Recent studies demonstrate that deep networks, even robustified by the state-of-the-art adversarial training (AT), still suffer from large robust generalization gaps, in addition to the much more expensive training costs than standard training. In this paper, we investigate this intriguing problem from a new perspective, i.e., injecting appropriate forms of sparsity during adversarial training. We introduce two alternatives for sparse adversarial training: (i) static sparsity, by leveraging recent results from the lottery ticket hypothesis to identify critical sparse subnetworks arising from the early training; (ii) dynamic sparsity, by allowing the sparse subnetwork to adaptively adjust its connectivity pattern (while sticking to the same sparsity ratio) throughout training. We find both static and dynamic sparse methods to yield win-win: substantially shrinking the robust generalization gap and alleviating the robust overfitting, meanwhile significantly saving training and inference FLOPs. Extensive experiments validate our proposals with multiple network architectures on diverse datasets, including CIFAR-10/100 and Tiny-ImageNet. For example, our methods reduce robust generalization gap and overfitting by 34.44% and 4.02%, with comparable robust/standard accuracy boosts and 87.83%/87.82% training/inference FLOPs savings on CIFAR-100 with ResNet-18. Besides, our approaches can be organically combined with existing regularizers, establishing new state-of-the-art results in AT. Codes are available in https://github.com/VITA-Group/Sparsity-Win-Robust-Generalization.

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

↑