arXiv:2507.09795cs.CVcs.LG2025-07ICCV被引 3

改进负标签筛选与匹配机制,提升零样本异常检测准确性

NegRefine: Refining Negative Label-Based Zero-Shot OOD Detection

  • 剔除子类别和专有名词作为负标签,减少误判
  • 动态调整多标签匹配贡献,更好处理复杂图像
  • 在ImageNet-1K上验证有效,适合零样本异常检测研究

近期基于视觉-语言模型(如CLIP)的零样本异常检测方法利用图像与文本标签信息实现检测。其中,基于负标签的方法(如NegLabel、CSP)通过词汇表定义负标签以区分异常样本。然而,这些方法因使用子类别或专有名词作为负标签,常将分布内样本误判为异常;且难以处理同时匹配多个分布内与负标签的图像。本文提出NegRefine框架,通过过滤机制剔除子类别和专有名词,并引入多匹配感知评分函数,动态调整多个标签对图像的贡献。在ImageNet-1K等大规模基准测试中验证了其有效性,代码已开源。

原文摘要 · Abstract (English)

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.

零样本检测视觉语言模型异常检测负标签

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。