In- or Out-of-Distribution Detection via Dual Divergence Estimation

被引:0
|
作者
Garg, Sahil [1 ]
Dutta, Sanghamitra [2 ]
Dalirrooyfard, Mina [1 ]
Schneider, Anderson [1 ]
Nevmyvaka, Yuriy [1 ]
机构
[1] Morgan Stanley, Dept Machine Learning Res, New York, NY 10036 USA
[2] Univ Maryland, Dept Elect & Comp Engn, College Pk, MD USA
来源
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Detecting out-of-distribution (OOD) samples is a problem of practical importance for a reliable use of deep neural networks (DNNs) in production settings. The corollary to this problem is the detection in-distribution (ID) samples, which is applicable to domain adaptation scenarios for augmenting a train set with ID samples from other data sets, or to continual learning for replay from the past. For both ID or OOD detection, we propose a principled yet simple approach of (empirically) estimating KL-Divergence, in its dual form, for a given test set w.r.t. a known set of ID samples in order to quantify the contribution of each test sample individually towards the divergence measure and accordingly detect it as OOD or ID. Our approach is compute-efficient and enjoys strong theoretical guarantees. For WideResnet101 and ViT-L-16, by considering ImageNet-1k dataset as the ID benchmark, we evaluate the proposed OOD detector on 51 test (OOD) datasets, and observe drastically and consistently lower false positive rates w.r.t. all the competitive methods. Moreover, the proposed ID detector is evaluated, using ECG and stock price datasets, for the task of data augmentation in domain adaptation and continual learning settings, and we observe higher efficacy compared to relevant baselines.
引用
收藏
页码:635 / 646
页数:12
相关论文
共 50 条
  • [21] Out-of-distribution Detection via Frequency-regularized Generative Models
    Cai, Mu
    Li, Yixuan
    2023 IEEE/CVF WINTER CONFERENCE ON APPLICATIONS OF COMPUTER VISION (WACV), 2023, : 5510 - 5519
  • [22] Likelihood Ratios for Out-of-Distribution Detection
    Ren, Jie
    Liu, Peter J.
    Fertig, Emily
    Snoek, Jasper
    Poplin, Ryan
    DePristo, Mark A.
    Dillon, Joshua V.
    Lakshminarayanan, Balaji
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 32 (NIPS 2019), 2019, 32
  • [23] Semantically Coherent Out-of-Distribution Detection
    Yang, Jingkang
    Wang, Haoqi
    Feng, Litong
    Yan, Xiaopeng
    Zheng, Huabin
    Zhang, Wayne
    Liub, Ziwei
    2021 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV 2021), 2021, : 8281 - 8289
  • [24] Generalized Out-of-Distribution Detection: A Survey
    Yang, Jingkang
    Zhou, Kaiyang
    Li, Yixuan
    Liu, Ziwei
    INTERNATIONAL JOURNAL OF COMPUTER VISION, 2024, 132 (12) : 5635 - 5662
  • [25] Unsupervised evaluation for out-of-distribution detection
    Zhang, Yuhang
    Hu, Jiani
    Wen, Dongchao
    Deng, Weihong
    PATTERN RECOGNITION, 2025, 160
  • [26] Out-of-Distribution Detection via Uncertainty Learning for Robust Glaucoma Prediction
    Rashidisabet, Homa
    Chan, Robison Vernon Paul
    Vajaranant, Thasarat Sutabutr
    Yi, Darvin
    INVESTIGATIVE OPHTHALMOLOGY & VISUAL SCIENCE, 2024, 65 (07)
  • [27] Calibrated Language Model Fine-Tuning for In- and Out-of-Distribution Data
    Kong, Lingkai
    Jiang, Haoming
    Zhuang, Yuchen
    Lyu, Jie
    Zhao, Tuo
    Zhang, Chao
    PROCEEDINGS OF THE 2020 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING (EMNLP), 2020, : 1326 - 1340
  • [28] WDiscOOD: Out-of-Distribution Detection via Whitened Linear Discriminant Analysis
    Chen, Yiye
    Lin, Yunzhi
    Xu, Ruinian
    Vela, Patricio A.
    2023 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION, ICCV, 2023, : 5275 - 5284
  • [29] Diversified Outlier Exposure for Out-of-Distribution Detection via Informative Extrapolation
    Zhu, Jianing
    Yu, Geng
    Yao, Jiangchao
    Liu, Tongliang
    Niu, Gang
    Sugiyama, Masashi
    Han, Bo
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 36 (NEURIPS 2023), 2023,
  • [30] Vision-Language Dual-Pattern Matching for Out-of-Distribution Detection
    Zhang, Zihan
    Xu, Zhuo
    Xiang, Xiang
    COMPUTER VISION - ECCV 2024, PT LXXXV, 2025, 15143 : 273 - 291