Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Multiscale Score Matching for Out-of-Distribution Detection

About

We present a new methodology for detecting out-of-distribution (OOD) images by utilizing norms of the score estimates at multiple noise scales. A score is defined to be the gradient of the log density with respect to the input data. Our methodology is completely unsupervised and follows a straight forward training scheme. First, we train a deep network to estimate scores for levels of noise. Once trained, we calculate the noisy score estimates for N in-distribution samples and take the L2-norms across the input dimensions (resulting in an NxL matrix). Then we train an auxiliary model (such as a Gaussian Mixture Model) to learn the in-distribution spatial regions in this L-dimensional space. This auxiliary model can now be used to identify points that reside outside the learned space. Despite its simplicity, our experiments show that this methodology significantly outperforms the state-of-the-art in detecting out-of-distribution images. For example, our method can effectively separate CIFAR-10 (inlier) and SVHN (OOD) images, a setting which has been previously shown to be difficult for deep likelihood models.

Ahsan Mahmood, Junier Oliva, Martin Styner• 2020

Related benchmarks

TaskDatasetResultRank
Video Anomaly DetectionShanghaiTech (test)--
194
Abnormal Event DetectionUCSD Ped2--
132
Video Anomaly DetectionUCF-Crime--
129
Video Anomaly DetectionUCF-Crime (test)--
122
Video Anomaly DetectionShanghaiTech
Micro AUC0.841
51
Out-of-Distribution DetectionSVHN (test)--
48
Out-of-Distribution DetectionCIFAR-10 (test)--
45
Video Anomaly DetectionUBnormal (test)--
37
Video Anomaly DetectionUCF-Crime (frame-level)
AUC64.5
32
Video Anomaly DetectionUBnormal--
25
Showing 10 of 13 rows

Other info

Follow for update