WOOD: Wasserstein-Based Out-of-Distribution Detection

被引:1
|
作者
Wang, Yinan [1 ]
Sun, Wenbo [2 ]
Jin, Jionghua [3 ]
Kong, Zhenyu [4 ]
Yue, Xiaowei [5 ]
机构
[1] Rensselaer Polytech Inst, Dept Ind & Syst Engn, Troy, NY 12180 USA
[2] Univ Michigan, Transportat Res Inst, Ann Arbor, MI 48109 USA
[3] Univ Michigan, Dept Ind & Operat Engn, Ann Arbor, MI 48109 USA
[4] Virginia Tech, Grad Dept Ind & Syst Engn, Blacksburg, VA 24060 USA
[5] Tsinghua Univ, Inst Qual & Reliabil, Dept Ind Engn, Beijing 100190, Peoples R China
关键词
Cyber security; image classification; machine learning; OOD detection; Wasserstein distance;
D O I
10.1109/TPAMI.2023.3328883
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The training and testing data for deep-neural-network-based classifiers are usually assumed to be sampled from the same distribution. When part of the testing samples are drawn from a distribution that is sufficiently far away from that of the training samples (a.k.a. out-of-distribution (OOD) samples), the trained neural network has a tendency to make high-confidence predictions for these OOD samples. Detection of the OOD samples is critical when training a neural network used for image classification, object detection, etc. It can enhance the classifier's robustness to irrelevant inputs, and improve the system's resilience and security under different forms of attacks. Detection of OOD samples has three main challenges: (i) the proposed OOD detection method should be compatible with various architectures of classifiers (e.g., DenseNet, ResNet) without significantly increasing the model complexity and requirements on computational resources; (ii) the OOD samples may come from multiple distributions, whose class labels are commonly unavailable; (iii) a score function needs to be defined to effectively separate OOD samples from in-distribution (InD) samples. To overcome these challenges, we propose a Wasserstein-based out-of-distribution detection (WOOD) method. The basic idea is to define a Wasserstein-based score that evaluates the dissimilarity between a test sample and the distribution of InD samples. An optimization problem is then formulated and solved based on the proposed score function. The statistical learning bound of the proposed method is investigated to guarantee that the loss value achieved by the empirical optimizer approximates the global optimum. The comparison study results demonstrate that the proposed WOOD consistently outperforms other existing OOD detection methods.
引用
收藏
页码:944 / 956
页数:13
相关论文
共 50 条
  • [21] Out-of-Distribution Detection as Support for Autonomous Driving Safety Lifecycle
    Henriksson, Jens
    Ursing, Stig
    Erdogan, Murat
    Warg, Fredrik
    Thorsen, Anders
    Jaxing, Johan
    Orsmark, Ola
    Toftas, Mathias Ortenberg
    REQUIREMENTS ENGINEERING: FOUNDATION FOR SOFTWARE QUALITY, REFSQ 2023, 2023, 13975 : 233 - 242
  • [22] An Efficient Data Augmentation Network for Out-of-Distribution Image Detection
    Lin, Cheng-Hung
    Lin, Cheng-Shian
    Chou, Po-Yung
    Hsu, Chen-Chien
    IEEE ACCESS, 2021, 9 : 35313 - 35323
  • [23] Out-of-Distribution Detection in Deep Learning Models: A Feature Space-Based Approach
    Carvalho, Thiago Medeiros
    Vellasco, Marley
    Amaral, Jose Franco
    2023 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS, IJCNN, 2023,
  • [24] Out-of-distribution detection for SAR imagery using ATR systems
    Hill, Charles
    ALGORITHMS FOR SYNTHETIC APERTURE RADAR IMAGERY XXXI, 2024, 13032
  • [25] Classification of incunable glyphs and out-of-distribution detection with joint energy-based models
    Florian Kordon
    Nikolaus Weichselbaumer
    Randall Herz
    Stephen Mossman
    Edward Potten
    Mathias Seuret
    Martin Mayr
    Vincent Christlein
    International Journal on Document Analysis and Recognition (IJDAR), 2023, 26 : 223 - 240
  • [26] Classification of incunable glyphs and out-of-distribution detection with joint energy-based models
    Kordon, Florian
    Weichselbaumer, Nikolaus
    Herz, Randall
    Mossman, Stephen
    Potten, Edward
    Seuret, Mathias
    Mayr, Martin
    Christlein, Vincent
    INTERNATIONAL JOURNAL ON DOCUMENT ANALYSIS AND RECOGNITION, 2023, 26 (03) : 223 - 240
  • [27] Attention Masking for Improved Near Out-of-Distribution Image Detection
    Sim, Minho
    Lee, Jongwhoa
    Choi, Ho-Jin
    2023 IEEE INTERNATIONAL CONFERENCE ON BIG DATA AND SMART COMPUTING, BIGCOMP, 2023, : 195 - 202
  • [28] DEEPLENS: Interactive Out-of-distribution Data Detection in NLP Models
    Song, Da
    Wang, Zhijie
    Huang, Yuheng
    Ma, Lei
    Zhang, Tianyi
    PROCEEDINGS OF THE 2023 CHI CONFERENCE ON HUMAN FACTORS IN COMPUTING SYSTEMS, CHI 2023, 2023,
  • [29] Out-of-Distribution Detection with Memory-Augmented Variational Autoencoder
    Ataeiasad, Faezeh
    Elizondo, David
    Ramirez, Saul Calderon
    Greenfield, Sarah
    Deka, Lipika
    MATHEMATICS, 2024, 12 (19)
  • [30] MixOOD: Improving Out-of-distribution Detection with Enhanced Data Mixup
    Yang, Taocun
    Huang, Yaping
    Xie, Yanlin
    Liu, Junbo
    Wang, Shengchun
    ACM TRANSACTIONS ON MULTIMEDIA COMPUTING COMMUNICATIONS AND APPLICATIONS, 2023, 19 (05)