arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.08611cs.CVcs.AI
收藏

共轭语义池改进了基于预训练视觉-语言模型的OOD检测

Conjugated Semantic Pool Improves OOD Detection with Pre-trained Vision-Language Models

Institute of Automation, CAS(中国科学院自动化研究所);School of Artificial Intelligence, UCAS(中国科学院大学人工智能学院);Pengcheng Laboratory(鹏城实验室)

Mengyuan Chen, Junyu Gao, Changsheng Xu

AI总结:

本文提出共轭语义池(CSP)方法,通过构建修改后的超类名作为OOD标签候选,在满足理论要求的同时显著提升了基于预训练视觉-语言模型的零样本OOD检测性能,FPR95较现有工作提升7.89%。

摘要:

零样本分布外(OOD)检测的一种直接流程包括从广泛的语义池中选择潜在的OOD标签,然后利用预训练的视觉-语言模型对分布内(ID)和OOD标签进行分类。在本文中,我们从理论上指出,要提升性能,需要扩大语义池,同时增加所选OOD标签被OOD样本激活的期望概率,并确保这些OOD标签激活之间的低互依赖性。一种自然的扩展方式是采用更大的词典;然而,不可避免地引入大量同义词和不常见词无法满足上述要求,这表明可行的扩展方式超越了仅从词典中选择单词。由于OOD检测旨在将输入图像正确分类为ID/OOD类组,我们可以“编造”OOD标签候选,这些候选不是标准类名,但对该过程有益。观察到原始语义池由未修改的特定类名组成,我们相应地构建了一个共轭语义池(CSP),由修改后的超类名组成,每个超类名作为不同类别中共享相似属性的样本的聚类中心。与我们的理论一致,用CSP扩展OOD标签候选满足要求,并在FPR95上比现有工作高出7.89%。代码可在https://github.com/MengyuanChen21/NeurIPS2024-CSP获取。

英文摘要:

A straightforward pipeline for zero-shot out-of-distribution (OOD) detection involves selecting potential OOD labels from an extensive semantic pool and then leveraging a pre-trained vision-language model to perform classification on both in-distribution (ID) and OOD labels. In this paper, we theorize that enhancing performance requires expanding the semantic pool, while increasing the expected probability of selected OOD labels being activated by OOD samples, and ensuring low mutual dependence among the activations of these OOD labels. A natural expansion manner is to adopt a larger lexicon; however, the inevitable introduction of numerous synonyms and uncommon words fails to meet the above requirements, indicating that viable expansion manners move beyond merely selecting words from a lexicon. Since OOD detection aims to correctly classify input images into ID/OOD class groups, we can "make up" OOD label candidates which are not standard class names but beneficial for the process. Observing that the original semantic pool is comprised of unmodified specific class names, we correspondingly construct a conjugated semantic pool (CSP) consisting of modified superclass names, each serving as a cluster center for samples sharing similar properties across different categories. Consistent with our established theory, expanding OOD label candidates with the CSP satisfies the requirements and outperforms existing works by 7.89% in FPR95. Codes are available in https://github.com/MengyuanChen21/NeurIPS2024-CSP.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑