Out-of-Distribution Detection Based on Distance Metric Learning

Donghun Yang, Ik‐Soo Shin, Mai Ngoc Kien, Hoyong Kim, Chanhee Yu, Myunggwon Hwang2020

Abstract

To design an efficient deep learning model that can be used in the real world, it is important that out-of-distribution (OOD) data are detected well. To solve this OOD problem, various studies have been conducted. The current state-of-the-art approach uses confidence score based on the Mahalanobis distance in a feature space. Although it performed better than the previous approaches, the results are sensitive to the quality of the trained model and the datasets. Herein, we propose a simple and new OOD detection module that is designed separately from the existing classifier. In our approach, to obtain a clumped dispersion by class, the feature space is trained using a network based on distance metric learning. Therefore, OOD data can be efficiently detected by applying a threshold to the trained feature space. To evaluate the proposed method, we applied our method to a combination of MNIST and Fashion MNIST datasets. The results showed that the overall performance of the proposed approach is superior to those of other methods.
BibTeX
@misc{yang2020out,
  author = {Donghun Yang and Ik‐Soo Shin and Mai Ngoc Kien and Hoyong Kim and Chanhee Yu and Myunggwon Hwang},
  title = {{Out-of-Distribution Detection Based on Distance Metric Learning}},
  year = {2020},
  doi = {10.1145/3426020.3426076},
}

Loading related content...

Figure