用改进的语义池提升预训练视觉语言模型的零样本异常检测性能
Conjugated Semantic Pool Improves OOD Detection with Pre-trained Vision-Language Models
- 构建共轭语义池,用泛化类名替代具体类别名作为异常标签
- 在FPR95上比现有方法提升7.89%,显著增强异常样本识别能力
- 适合做零样本异常检测的研究者和工业应用开发者参考
零样本异常检测的简单流程是:从大规模语义池中选取潜在异常标签,再利用预训练视觉语言模型对分布内(ID)和分布外(OOD)标签进行分类。本文提出,提升性能需扩展语义池,使选定的OOD标签更易被异常样本激活,且各标签激活间互不依赖。单纯扩大词典会引入大量同义词和生僻词,无法满足要求。因此,我们提出构造共轭语义池(CSP),将原始的具体类别名替换为修改后的超类名称,每个代表跨类别相似特征的聚类中心。实验表明,该方法符合理论预期,在FPR95指标上优于现有方法7.89%。代码已开源:https://github.com/MengyuanChen21/NeurIPS2024-CSP。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。