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 条
  • [41] Learning to Augment Distributions for Out-of-Distribution Detection
    Wang, Qizhou
    Fang, Zhen
    Zhang, Yonggang
    Liu, Feng
    Li, Yixuan
    Han, Bo
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 36 (NEURIPS 2023), 2023,
  • [42] Out-of-Distribution Generalization via Risk Extrapolation
    Krueger, David
    Caballero, Ethan
    Jacobsen, Joern-Henrik
    Zhang, Amy
    Binas, Jonathan
    Zhang, Dinghuai
    Le Priol, Remi
    Courville, Aaron
    INTERNATIONAL CONFERENCE ON MACHINE LEARNING, VOL 139, 2021, 139
  • [43] Interpretable Latent Space for Meteorological Out-of-Distribution Detection via Weak Supervision
    Das, Suman
    Yuhas, Michael
    Koh, Rachel
    Easwaran, Arvind
    ACM TRANSACTIONS ON CYBER-PHYSICAL SYSTEMS, 2024, 8 (02) : 1 - 26
  • [44] Latent Transformer Models for out-of-distribution detection
    Graham, Mark S.
    Tudosiu, Petru-Daniel
    Wright, Paul
    Pinaya, Walter Hugo Lopez
    Teikari, Petteri
    Patel, Ashay
    U-King-Im, Jean-Marie
    Mah, Yee H.
    Teo, James T.
    Jager, Hans Rolf
    Werring, David
    Rees, Geraint
    Nachev, Parashkev
    Ourselin, Sebastien
    Cardoso, M. Jorge
    MEDICAL IMAGE ANALYSIS, 2023, 90
  • [45] CONTINUAL LEARNING FOR OUT-OF-DISTRIBUTION PEDESTRIAN DETECTION
    Molahasani, Mahdiyar
    Etemad, Ali
    Greenspan, Michael
    2023 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING, ICIP, 2023, : 2685 - 2689
  • [46] Boosting Out-of-distribution Detection with Typical Features
    Zhu, Yao
    Chen, Yuefeng
    Xie, Chuanlong
    Li, Xiaodan
    Zhang, Rong
    Xue, Hui
    Tian, Xiang
    Zheng, Bolun
    Chen, Yaowu
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 35 (NEURIPS 2022), 2022,
  • [47] Out-of-distribution detection by regaining lost clues
    Zhao, Zhilin
    Cao, Longbing
    Yu, Philip S.
    ARTIFICIAL INTELLIGENCE, 2025, 339
  • [48] Ensemble-Based Out-of-Distribution Detection
    Yang, Donghun
    Mai Ngoc, Kien
    Shin, Iksoo
    Lee, Kyong-Ha
    Hwang, Myunggwon
    ELECTRONICS, 2021, 10 (05) : 1 - 12
  • [49] SELFOOD: Self-Supervised Out-Of-Distribution Detection via Learning to Rank
    Mekalas, Dheeraj
    Samavedhi, Adithya
    Dong, Chengyu
    Shang, Jingbo
    FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (EMNLP 2023), 2023, : 10721 - 10734
  • [50] Full-Spectrum Out-of-Distribution Detection
    Jingkang Yang
    Kaiyang Zhou
    Ziwei Liu
    International Journal of Computer Vision, 2023, 131 : 2607 - 2622