arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1910.04241cs.LGstat.ML
收藏

基于生成的分类器分布外检测

Out-of-distribution Detection in Classifiers via Generation

University of Waterloo(滑铁卢大学)

Sachin Vernekar, Ashish Gaurav, Vahdat Abdelzad, Taylor Denouden, Rick Salay, Krzysztof Czarnecki

摘要:

通过设计,区分训练的神经网络分类器仅对分布内样本产生可靠的预测。对于他们的实际部署,检测分发外(OOD)样本至关重要。假设OOD在分布的闭合边界之外,典型的神经分类器在推理期间不包含用于OOD检测的该边界的知识。最近已经有一些方法通过使用接近分布边界的OOD样本显式地训练分类器来向分类器灌输这种知识。然而,这些生成的样本未能有效地覆盖整个分布边界,从而导致次优OOD检测器。在本文中,我们分析了这种方法的可行性,通过调查的复杂性,产生这样的“有效”的OOD样本。我们还提出了一种新的算法来生成这样的样本使用流形学习网络(例如,变分自编码器),然后训练用于OOD检测的n+1分类器,其中$n+1^{th}$类表示OOD样本。我们比较我们的方法对最近几个基于分类器的OOD检测器MNIST和时尚MNIST数据集。总的来说,所提出的方法始终比其他方法表现得更好。

英文摘要:

By design, discriminatively trained neural network classifiers produce reliable predictions only for in-distribution samples. For their real-world deployments, detecting out-of-distribution (OOD) samples is essential. Assuming OOD to be outside the closed boundary of in-distribution, typical neural classifiers do not contain the knowledge of this boundary for OOD detection during inference. There have been recent approaches to instill this knowledge in classifiers by explicitly training the classifier with OOD samples close to the in-distribution boundary. However, these generated samples fail to cover the entire in-distribution boundary effectively, thereby resulting in a sub-optimal OOD detector. In this paper, we analyze the feasibility of such approaches by investigating the complexity of producing such "effective" OOD samples. We also propose a novel algorithm to generate such samples using a manifold learning network (e.g., variational autoencoder) and then train an n+1 classifier for OOD detection, where the $n+1^{th}$ class represents the OOD samples. We compare our approach against several recent classifier-based OOD detectors on MNIST and Fashion-MNIST datasets. Overall the proposed approach consistently performs better than the others.

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

↑