arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.17268cs.LGcs.AIstat.ML
收藏

快速认证的鲁棒训练和短暂的热身

Fast Certified Robust Training with Short Warmup

UCLA(加州大学洛杉矶分校);CMU(卡内基梅隆大学);JD AI Research(京东人工智能研究院)

Zhouxing Shi, Yihan Wang, Huan Zhang, Jinfeng Yi, Cho-Jui Hsieh

摘要:

最近,基于界传播的认证的鲁棒训练方法已经被提出用于训练具有可认证的鲁棒性保证的神经网络。尽管包括区间界限传播(IBP)和CROWN-IBP的最先进(SOTA)方法具有与标准神经网络训练类似的每批训练复杂度,但是它们通常使用具有数百或数千个时期的长预热时间表来达到SOTA性能,因此仍然是昂贵的。在本文中,我们确定了现有方法中的两个重要问题,即初始化时的爆炸边界和ReLU激活状态的不平衡,并改进了IBP训练。这两个问题使得认证培训变得困难和不稳定,因此在以前的工作中需要长时间的热身计划。为了缓解这些问题,并在更短的预热时间内进行更快的认证训练,我们提出了三项基于IBP训练的改进:1)我们推导出一种新的IBP训练权重初始化方法; 2)我们建议在模型的每一层中完全添加批量归一化(BN),因为我们发现BN可以减少ReLU激活状态的不平衡; 3)我们还设计了正则化,以显式地收紧认证边界并在wampering期间平衡ReLU激活状态。我们能够在CIFAR-10($ε=\frac{8}{255}$)上获得65.03%的验证错误,在TinyImageNet($ε=\frac{1}{255}$)上获得82.36%的验证错误,使用非常短的训练时间表(分别为160和80个总epoch),优于在相同网络架构下使用数百或数千epoch训练的文献SOTA。该代码可在https://github.com/shizhouxing/Fast-Certified-Robust-Training上获得。

英文摘要:

Recently, bound propagation based certified robust training methods have been proposed for training neural networks with certifiable robustness guarantees. Despite that state-of-the-art (SOTA) methods including interval bound propagation (IBP) and CROWN-IBP have per-batch training complexity similar to standard neural network training, they usually use a long warmup schedule with hundreds or thousands epochs to reach SOTA performance and are thus still costly. In this paper, we identify two important issues in existing methods, namely exploded bounds at initialization, and the imbalance in ReLU activation states and improve IBP training. These two issues make certified training difficult and unstable, and thereby long warmup schedules were needed in prior works. To mitigate these issues and conduct faster certified training with shorter warmup, we propose three improvements based on IBP training: 1) We derive a new weight initialization method for IBP training; 2) We propose to fully add Batch Normalization (BN) to each layer in the model, since we find BN can reduce the imbalance in ReLU activation states; 3) We also design regularization to explicitly tighten certified bounds and balance ReLU activation states during wamrup. We are able to obtain 65.03% verified error on CIFAR-10 ($ε=\frac{8}{255}$) and 82.36% verified error on TinyImageNet ($ε=\frac{1}{255}$) using very short training schedules (160 and 80 total epochs, respectively), outperforming literature SOTA trained with hundreds or thousands epochs under the same network architecture. The code is available at https://github.com/shizhouxing/Fast-Certified-Robust-Training.

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

↑