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] School of Computer Science and Engineering, Research Institute of Sun Yat-sen University in Shenzhen, Sun Yat-sen University, Guangzhou, China
[2] Department of Computer Science, The University of Hong Kong, Hong Kong
[3] College of Information Science and Technology, Zhongkai University of Agriculture and Engineering, Guangzhou, China
[4] Guangdong University of Technology, Guangzhou, China
基金
中国国家自然科学基金;
关键词
Adversarial machine learning - Deep neural networks - Federated learning;
D O I
10.1016/j.patcog.2024.111214
中图分类号
学科分类号
摘要
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. © 2024
引用
收藏
相关论文
共 50 条
  • [41] Learning on Graphs with Out-of-Distribution Nodes
    Song, Yu
    Wang, Donglin
    PROCEEDINGS OF THE 28TH ACM SIGKDD CONFERENCE ON KNOWLEDGE DISCOVERY AND DATA MINING, KDD 2022, 2022, : 1635 - 1645
  • [42] Decoupling MaxLogit for Out-of-Distribution Detection
    Zhang, Zihan
    Xiang, Xiang
    2023 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, CVPR, 2023, : 3388 - 3397
  • [43] Exploring the Limits of Out-of-Distribution Detection
    Fort, Stanislav
    Ren, Jie
    Lakshminarayanan, Balaji
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 34 (NEURIPS 2021), 2021, 34
  • [44] 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
  • [45] 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
  • [46] Generalized Out-of-Distribution Detection: A Survey
    Yang, Jingkang
    Zhou, Kaiyang
    Li, Yixuan
    Liu, Ziwei
    INTERNATIONAL JOURNAL OF COMPUTER VISION, 2024, : 5635 - 5662
  • [47] Semantic enhanced for out-of-distribution detection
    Jiang, Weijie
    Yu, Yuanlong
    FRONTIERS IN NEUROROBOTICS, 2022, 16
  • [48] 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
  • [49] Dense Out-of-Distribution Detection by Robust Learning on Synthetic Negative Data
    Grcic, Matej
    Bevandic, Petra
    Kalafatic, Zoran
    Segvic, Sinisa
    SENSORS, 2024, 24 (04)
  • [50] Unsupervised evaluation for out-of-distribution detection
    Zhang, Yuhang
    Hu, Jiani
    Wen, Dongchao
    Deng, Weihong
    Pattern Recognition, 2025, 160