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

平衡教师:正则化批量归一化模型以实现鲁棒性

Counterbalancing Teacher: Regularizing Batch Normalized Models for Robustness

Autodesk AI Lab(欧特克人工智能实验室);Stanford University(斯坦福大学)

Saeid Asgari Taghanaki, Ali Gholami, Fereshte Khani, Kristy Choi, Linh Tran, Ran Zhang, Aliasghar Khani

摘要:

批量归一化(BN)是一种普遍存在的用于训练深度神经网络的技术,可以加速其收敛以达到更高的精度。然而,我们证明了BN有一个根本的缺点:它激励模型依赖于对训练(域内)数据高度特定的低方差特征,从而损害了域外示例的泛化性能。在这项工作中,我们首先研究了这种现象,表明在各种架构中去除BN层会导致更低的域外和腐败错误,代价是更高的域内错误。然后,我们提出了平衡教师(CT),这种方法利用没有BN的相同模型的冻结副本作为教师,通过一致性损失函数大幅调整其权重来加强学生网络对鲁棒表示的学习。这种正则化信号有助于CT在不可预见的数据偏移中表现良好,即使没有来自目标域的信息,如在先前的工作中。我们从理论上证明了在过度参数化的线性回归设置中,为什么归一化会导致模型对这种域内特征的依赖,并通过在CIFAR-10-C,CIFAR-100-C和VLCS等鲁棒性基准上优于几个基线来实证CT的功效。

英文摘要:

Batch normalization (BN) is a ubiquitous technique for training deep neural networks that accelerates their convergence to reach higher accuracy. However, we demonstrate that BN comes with a fundamental drawback: it incentivizes the model to rely on low-variance features that are highly specific to the training (in-domain) data, hurting generalization performance on out-of-domain examples. In this work, we investigate this phenomenon by first showing that removing BN layers across a wide range of architectures leads to lower out-of-domain and corruption errors at the cost of higher in-domain errors. We then propose Counterbalancing Teacher (CT), a method which leverages a frozen copy of the same model without BN as a teacher to enforce the student network's learning of robust representations by substantially adapting its weights through a consistency loss function. This regularization signal helps CT perform well in unforeseen data shifts, even without information from the target domain as in prior works. We theoretically show in an overparameterized linear regression setting why normalization leads to a model's reliance on such in-domain features, and empirically demonstrate the efficacy of CT by outperforming several baselines on robustness benchmarks such as CIFAR-10-C, CIFAR-100-C, and VLCS.

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

↑