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

MOOD:多级分布外检测

MOOD: Multi-level Out-of-distribution Detection

University of Wisconsin-Madison(威斯康星大学麦迪逊分校)

Ziqian Lin, Sreya Dutta Roy, Yixuan Li

摘要:

分发外(OOD)检测对于防止异常输入导致模型在部署期间失败至关重要。虽然已经出现了改进的OOD检测方法,但它们通常依赖于最终层输出,并且对于任何给定的输入都需要完整的前馈通道。在本文中,我们提出了一种新的框架,多级分布外检测MOOD,它利用中间分类器输出的动态和有效的OOD推理。我们探索并建立了OOD数据复杂性和最佳退出级别之间的直接关系,并表明简单的OOD示例可以在早期有效地检测到,而不会传播到更深的层。在每个出口处,OOD示例可以通过我们提出的调整后的能量得分来区分,这在经验上和理论上都适用于具有多个分类器的网络。我们广泛地评估了10个OOD数据集的MOOD,这些数据集涵盖了各种复杂性。实验表明,MOOD实现了高达71.05%的计算减少推理,同时保持竞争力的OOD检测性能。

英文摘要:

Out-of-distribution (OOD) detection is essential to prevent anomalous inputs from causing a model to fail during deployment. While improved OOD detection methods have emerged, they often rely on the final layer outputs and require a full feedforward pass for any given input. In this paper, we propose a novel framework, multi-level out-of-distribution detection MOOD, which exploits intermediate classifier outputs for dynamic and efficient OOD inference. We explore and establish a direct relationship between the OOD data complexity and optimal exit level, and show that easy OOD examples can be effectively detected early without propagating to deeper layers. At each exit, the OOD examples can be distinguished through our proposed adjusted energy score, which is both empirically and theoretically suitable for networks with multiple classifiers. We extensively evaluate MOOD across 10 OOD datasets spanning a wide range of complexities. Experiments demonstrate that MOOD achieves up to 71.05% computational reduction in inference, while maintaining competitive OOD detection performance.

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

↑