arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.10963cs.LGstat.ML
收藏

评价预测时间批量归一化在协变量偏移下的稳健性

Evaluating Prediction-Time Batch Normalization for Robustness under Covariate Shift

Google Research(谷歌研究院)

Zachary Nado, Shreyas Padhy, D. Sculley, Alexander D'Amour, Balaji Lakshminarayanan, Jasper Snoek

摘要:

协变量偏移已被证明会大幅降低预测准确性和深度学习模型的不确定性估计的校准。这是令人担忧的,因为协变量偏移在广泛的现实世界部署设置中普遍存在。然而,在本文中,我们注意到,经常有可能在预测时间之前访问少量未标记的移位数据。这个有趣的观察使一个简单但令人惊讶的有效方法,我们称之为预测时间批量归一化,显着提高模型的准确性和校准下协变量偏移。使用这一行代码更改,我们在最近的协变量偏移基准测试中实现了最先进的技术,在具有挑战性的ImageNet-C数据集上实现了60.28\%的mCE;据我们所知,这是任何不包含额外数据增强或修改训练管道的模型的最佳结果。我们发现,预测时间批量归一化提供了互补的好处,现有的国家的最先进的方法,以提高鲁棒性(例如,深度集成)和结合这两个进一步提高性能。我们的研究结果得到了详细测量的效果,这种策略对模型的行为在严格的消融在各种数据集模式。然而,当与预训练一起使用时,该方法的结果好坏参半,并且在更自然的数据集转移类型下似乎表现不佳,因此值得进一步研究。我们在图中包含了数据链接以提高可重复性,包括一个Python笔记本,可以在https://colab.research.google.com/drive/11N0wDZnMQQuLrRwRoumDCrhSaIhkqjof上运行以轻松修改我们的分析。

英文摘要:

Covariate shift has been shown to sharply degrade both predictive accuracy and the calibration of uncertainty estimates for deep learning models. This is worrying, because covariate shift is prevalent in a wide range of real world deployment settings. However, in this paper, we note that frequently there exists the potential to access small unlabeled batches of the shifted data just before prediction time. This interesting observation enables a simple but surprisingly effective method which we call prediction-time batch normalization, which significantly improves model accuracy and calibration under covariate shift. Using this one line code change, we achieve state-of-the-art on recent covariate shift benchmarks and an mCE of 60.28\% on the challenging ImageNet-C dataset; to our knowledge, this is the best result for any model that does not incorporate additional data augmentation or modification of the training pipeline. We show that prediction-time batch normalization provides complementary benefits to existing state-of-the-art approaches for improving robustness (e.g. deep ensembles) and combining the two further improves performance. Our findings are supported by detailed measurements of the effect of this strategy on model behavior across rigorous ablations on various dataset modalities. However, the method has mixed results when used alongside pre-training, and does not seem to perform as well under more natural types of dataset shift, and is therefore worthy of additional study. We include links to the data in our figures to improve reproducibility, including a Python notebooks that can be run to easily modify our analysis at https://colab.research.google.com/drive/11N0wDZnMQQuLrRwRoumDCrhSaIhkqjof.

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

↑