Category-Extensible Out-of-Distribution Detection via Hierarchical Context Descriptions

被引:0
|
作者
Liu, Kai [1 ,2 ]
Fu, Zhihang [2 ]
Chen, Chao [2 ]
Jin, Sheng [2 ]
Chen, Ze [2 ]
Tao, Mingyuan [2 ]
Jiang, Rongxin [1 ]
Ye, Jieping [2 ]
机构
[1] Zhejiang Univ, Hangzhou, Peoples R China
[2] Alibaba Cloud, Hangzhou, Peoples R China
基金
国家重点研发计划;
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The key to OOD detection has two aspects: generalized feature representation and precise category description. Recently, vision-language models such as CLIP provide significant advances in both two issues, but constructing precise category descriptions is still in its infancy due to the absence of unseen categories. This work introduces two hierarchical contexts, namely perceptual context and spurious context, to carefully describe the precise category boundary through automatic prompt tuning. Specifically, perceptual contexts perceive the inter-category difference (e.g., cats vs apples) for current classification tasks, while spurious contexts further identify spurious (similar but exactly not) OOD samples for every single category (e.g., cats vs panthers, apples vs peaches). The two contexts hierarchically construct the precise description for a certain category, which is, first roughly classifying a sample to the predicted category and then delicately identifying whether it is truly an ID sample or actually OOD. Moreover, the precise descriptions for those categories within the vision-language framework present a novel application: CATegory-EXtensible OOD detection (CATEX). One can efficiently extend the set of recognizable categories by simply merging the hierarchical contexts learned under different sub-task settings. And extensive experiments are conducted to demonstrate CATEX's effectiveness, robustness, and category-extensibility. For instance, CATEX consistently surpasses the rivals by a large margin with several protocols on the challenging ImageNet-1K dataset. In addition, we offer new insights on how to efficiently scale up the prompt engineering in vision-language models to recognize thousands of object categories, as well as how to incorporate large language models (like GPT-3) to boost zero-shot applications.
引用
收藏
页数:21
相关论文
共 50 条
  • [1] Out-of-distribution Detection Learning with Unreliable Out-of-distribution Sources
    Zheng, Haotian
    Wang, Qizhou
    Fang, Zhen
    Xia, Xiaobo
    Liu, Feng
    Liu, Tongliang
    Han, Bo
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 36 (NEURIPS 2023), 2023,
  • [2] Placing Objects in Context via Inpainting for Out-of-Distribution Segmentation
    de Jorgel, Pau
    Volpi, Riccardo
    Dokania, Puneet K.
    Torr, Philip H. S.
    Rogez, Gregory
    COMPUTER VISION - ECCV 2024, PT XLV, 2025, 15103 : 456 - 473
  • [3] Principled Out-of-Distribution Detection via Multiple Testing
    Magesh, Akshayaa
    Veeravalli, Venugopal V.
    Roy, Anirban
    Jha, Susmit
    JOURNAL OF MACHINE LEARNING RESEARCH, 2023, 24
  • [4] Birds of an Odd Feather: Guaranteed Out-of-Distribution (OOD) Novel Category Detection
    Wald, Yoav
    Saria, Suchi
    UNCERTAINTY IN ARTIFICIAL INTELLIGENCE, 2023, 216 : 2179 - 2191
  • [5] Improving Out-of-Distribution Generalization in Graphs via Hierarchical Semantic Environments
    Piao, Yinhua
    Lee, Sangseon
    Lu, Yijingxiu
    Kim, Sun
    2024 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2024, : 27621 - 27630
  • [6] On the Learnability of Out-of-distribution Detection
    Fang, Zhen
    Li, Yixuan
    Liu, Feng
    Han, Bo
    Lu, Jie
    Journal of Machine Learning Research, 2024, 25
  • [7] Out-of-Distribution Detection with An Adaptive Likelihood Ratio on Informative Hierarchical VAE
    Li, Yewen
    Wang, Chaojie
    Xia, Xiaobo
    Liu, Tongliang
    Miao, Xin
    An, Bo
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 35 (NEURIPS 2022), 2022,
  • [8] Entropic Out-of-Distribution Detection
    Macedo, David
    Ren, Tsang Ing
    Zanchettin, Cleber
    Oliveira, Adriano L., I
    Ludermir, Teresa
    2021 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2021,
  • [9] Watermarking for Out-of-distribution Detection
    Wang, Qizhou
    Liu, Feng
    Zhang, Yonggang
    Zhang, Jing
    Gong, Chen
    Liu, Tongliang
    Han, Bo
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 35 (NEURIPS 2022), 2022,
  • [10] Is Out-of-Distribution Detection Learnable?
    Fang, Zhen
    Li, Yixuan
    Lu, Jie
    Dong, Jiahua
    Han, Bo
    Liu, Feng
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 35 (NEURIPS 2022), 2022,