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. Code is publicly available at https://github.com/alibaba/catex.
Joint Hierarchical Category Structure Learning and Large-Scale Image Classification
Xiamen University(厦门大学);University of Electric Science and technology of China(电子科技大学);Nara Institute of Science and Technology(奈良先端科学技术大学院大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Technology Sydney(悉尼科技大学)
Multi-View Hierarchical Graph Neural Network for Sketch-Based 3D Shape Retrieval
Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);Control and Simulation Center, Harbin Institute of Technology(哈尔滨工业大学控制仿真中心)
Hierarchical Generalized Category Discovery for Brain Tumor Classification in Digital Pathology
Institute of Clinical Epidemiology, Public Health, Health Economics, Medical Statistics and Informatics(临床流行病学、公共卫生、健康经济学、医学统计与信息学研究所);Institute of Neuropathology and Neuromolecular Pathology(神经病理学与神经分子病理学研究所)
Hierarchical Corpus-View-Category Refinement for Carotid Plaque Risk Grading in Ultrasound
National-Regional Key Technology Engineering Laboratory for Medical Ultrasound(医学超声关键技术工程实验室);School of Biomedical Engineering, Medical School, Shenzhen University(生物医学工程学院);College of Computer Science and Software Engineering, Shenzhen University(计算机科学与软件工程学院);Fuwai Shenzhen Hospital, Chinese Academy of Medical Sciences(阜外深圳医院,中国医学科学院);Shenzhen RayShape Medical Technology Co., Ltd(深圳RayShape医疗科技有限公司);Faculty of Applied Sciences, Macao Polytechnic University(应用科学学院)
HD-CNN: Hierarchical Deep Convolutional Neural Network for Large Scale Visual Recognition
University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Carnegie Mellon University(卡内基梅隆大学);eBay Research Lab(eBay研究实验室);The University of Hong Kong(香港大学)
MNIST-Gen: A Modular MNIST-Style Dataset Generation Using Hierarchical Semantics, Reinforcement Learning, and Category Theory
School of Computing and Augmented Intelligence(计算与增强智能学院);Arizona State University(亚利桑那州立大学);Department of Mathematics(数学系);Florida State University(佛罗里达州立大学);School of Arts, Media and Engineering(艺术、媒体与工程学院)
Fine-Grained Representation Learning and Recognition by Exploiting Hierarchical Semantic Embedding
Sun Yat-sen University(中山大学);South China Agricultural University(华南农业大学);University of Electronic Science and Technology of China(电子科技大学);Guilin University of Electronic Technology(桂林电子科技大学)
Fine-Grained VLM Fine-tuning via Latent Hierarchical Adapter Learning
Information Materials and Intelligent Sensing Laboratory of Anhui Province(安徽省信息材料与智能感知实验室);Anhui Provincial Key Laboratory of Multimodal Cognitive Computation(安徽省多模态认知计算重点实验室);School of Computer Science and Technology, Anhui University(安徽大学计算机科学与技术学院)
HMR-Net: Hierarchical Modular Routing for Cross-Domain Object Detection in Aerial Images
Department of Computer Science, University of York(约克大学计算机科学系);SEIEE, Shanghai Jiao Tong University(上海交通大学SEIEE);Computer Vision Laboratory, Linkoping University(林哈姆大学计算机视觉实验室);School of Computing and Mathematical Sciences, University of Leicester(莱斯特大学计算与数学科学学院);SCEE, East China Normal University(华东师范大学SCEE)