NegRefine:基于负标签精炼的零样本OOD检测
NegRefine: Refining Negative Label-Based Zero-Shot OOD Detection
AI总结:
NegRefine提出负标签精炼框架,通过过滤子类别和专有名词负标签并引入多匹配感知评分,提升零样本OOD检测的鲁棒性。
摘要:
视觉-语言模型(如CLIP)的最新进展通过同时利用图像和文本标签信息,使零样本分布外(OOD)检测成为可能。其中,基于负标签的方法(如NegLabel和CSP)通过使用词汇表定义负标签来区分OOD样本,已展现出良好的效果。然而,这些方法由于负标签是分布内标签的子类别或专有名词,导致将分布内样本误检为OOD。它们在处理同时匹配多个分布内标签和负标签的图像时也存在局限。我们提出NegRefine,一种用于零样本OOD检测的新型负标签精炼框架。通过引入过滤机制以从负标签集中排除子类别标签和专有名词,并引入多匹配感知评分函数以动态调整与图像匹配的多个标签的贡献,NegRefine确保了分布内样本与OOD样本之间更稳健的分离。我们在包括ImageNet-1K在内的大规模基准上评估了NegRefine。代码可在https://github.com/ah-ansari/NegRefine获取。
英文摘要:
Recent advancements in Vision-Language Models like CLIP have enabled zero-shot OOD detection by leveraging both image and textual label information. Among these, negative label-based methods such as NegLabel and CSP have shown promising results by utilizing a lexicon of words to define negative labels for distinguishing OOD samples. However, these methods suffer from detecting in-distribution samples as OOD due to negative labels that are subcategories of in-distribution labels or proper nouns. They also face limitations in handling images that match multiple in-distribution and negative labels. We propose NegRefine, a novel negative label refinement framework for zero-shot OOD detection. By introducing a filtering mechanism to exclude subcategory labels and proper nouns from the negative label set and incorporating a multi-matching-aware scoring function that dynamically adjusts the contributions of multiple labels matching an image, NegRefine ensures a more robust separation between in-distribution and OOD samples. We evaluate NegRefine on large-scale benchmarks, including ImageNet-1K. The code is available at https://github.com/ah-ansari/NegRefine.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。