Enhancing out-of-distribution detection via diversified multi-prototype contrastive learning

被引:0
|
作者
Jia, Yulong [1 ]
Li, Jiaming [1 ]
Zhao, Ganlong [2 ]
Liu, Shuangyin [3 ]
Sun, Weijun [4 ]
Lin, Liang [1 ]
Li, Guanbin [1 ]
机构
[1] Sun Yat Sen Univ Shenzhen, Res Inst, Sch Comp Sci & Engn, Guangzhou, Peoples R China
[2] Univ Hong Kong, Dept Comp Sci, Hong Kong, Peoples R China
[3] Zhongkai Univ Agr & Engn, Coll Informat Sci & Technol, Guangzhou, Peoples R China
[4] Guangdong Univ Technol, Guangzhou, Peoples R China
关键词
Out-of-distribution detection; Robust AI; Contrastive learning;
D O I
10.1016/j.patcog.2024.111214
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Detecting out-of-distribution (OOD) inputs is critical for safely deploying deep neural networks in the open world. Recent distance-based contrastive learning methods demonstrated their effectiveness by learning improved feature representations in the embedding space. However, those methods might lead to an incomplete and ambiguous representation of a class, thereby resulting in the loss of intra-class semantic information. In this work, we propose a novel diversified multi-prototype contrastive learning framework, which preserves the semantic knowledge within each class's embedding space by introducing multiple fine-grained prototypes for each class. This preserves intrinsic features within the in-distribution data, promoting discrimination against OOD samples. We also devise an activation constraints technique to mitigate the impact of extreme activation values on other dimensions and facilitate the computation of distance-based scores. Extensive experiments on several benchmarks show that our proposed method is effective and beneficial for OOD detection, outperforming previous state-of-the-art methods.
引用
收藏
页数:11
相关论文
共 50 条
  • [21] Enhancing Out-of-Distribution Detection Through Stochastic Embeddings in Self-supervised Learning
    Janiak, Denis
    Binkowski, Jakub
    Bielak, Piotr
    Kajdanowicz, Tomasz
    COMPUTATIONAL SCIENCE, ICCS 2024, PT VII, 2024, 14838 : 337 - 351
  • [22] LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learning
    Miyai, Atsuyuki
    Yu, Qing
    Irie, Go
    Aizawa, Kiyoharu
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 36 (NEURIPS 2023), 2023,
  • [23] 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
  • [24] EFOA: Enhancing Out-of-Distribution Detection by Fake Outlier Augmentation
    Wang, Peng
    Chen, Jiankang
    Zhou, Yuren
    Wang, Ruixuan
    PATTERN RECOGNITION AND COMPUTER VISION, PT III, PRCV 2024, 2025, 15033 : 89 - 103
  • [25] MOOD: Multi-level Out-of-distribution Detection
    Lin, Ziqian
    Roy, Sreya Dutta
    Li, Yixuan
    2021 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, CVPR 2021, 2021, : 15308 - 15318
  • [26] Principled Out-of-Distribution Detection via Multiple Testing
    Magesh, Akshayaa
    Veeravalli, Venugopal V.
    Roy, Anirban
    Jha, Susmit
    JOURNAL OF MACHINE LEARNING RESEARCH, 2023, 24
  • [27] Out-of-distribution detection based on multi-classifiers
    Jiang, Weijie
    Yu, Yuanlong
    COGNITIVE COMPUTATION AND SYSTEMS, 2023, 5 (02) : 95 - 108
  • [28] Continual Evidential Deep Learning for Out-of-Distribution Detection
    Aguilar, Eduardo
    Raducanu, Bogdan
    Radeva, Petia
    De Weijer, Joost Van
    2023 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION WORKSHOPS, ICCVW, 2023, : 3436 - 3446
  • [29] Open-Set Fault Diagnosis via Supervised Contrastive Learning With Negative Out-of-Distribution Data Augmentation
    Peng, Peng
    Lu, Jiaxun
    Xie, Tingyu
    Tao, Shuting
    Wang, Hongwei
    Zhang, Heming
    IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, 2023, 19 (03) : 2463 - 2473
  • [30] Calibration-Based Multi-Prototype Contrastive Learning for Domain Generalization Semantic Segmentation in Traffic Scenes
    Liao, Muxin
    Tian, Shishun
    Zhang, Yuhang
    Hua, Guoguang
    Zou, Wenbin
    Li, Xia
    IEEE TRANSACTIONS ON INTELLIGENT TRANSPORTATION SYSTEMS, 2024, 25 (12) : 20985 - 21001