arXiv:2604.02905cs.CV2026-04中稿 · CVPR

提出新方法实现工业缺陷的开放集识别,无需重训练即可检测未知缺陷。

UniSpector: Towards Universal Open-set Defect Recognition via Spectral-Contrastive Visual Prompting

  • 通过光谱对比视觉提示设计,避免提示嵌入崩溃。
  • 在新基准上提升19.7%(AP50b)和15.8%(AP50m)。
  • 适合需要持续更新的工业质检场景,尤其关注泛化能力。

尽管工业检测系统应能识别前所未有的缺陷,但现有方法多基于闭集假设,无法发现新异常。虽然视觉提示提供了一种可扩展的替代方案,但现有方法常因类内差异大、类间差异微弱导致提示嵌入崩溃。为此,我们提出UniSpector,将重点从简单的提示-区域匹配转向语义结构化且可迁移的提示拓扑设计。UniSpector采用空间-光谱提示编码器提取方向不变、细粒度的表征;这些作为基础,由对比提示编码器显式规整提示空间为语义有序的角度流形。同时,提示引导查询选择生成与提示对齐的自适应对象查询。我们提出了Inspect Anything,首个基于视觉提示的开放集缺陷定位基准,UniSpector在该基准上显著优于基线,AP50b提升至少19.7%,AP50m提升至少15.8%。结果表明,该方法实现了可扩展、免重训练的工业检测范式,适用于持续演化的生产环境,并为通用视觉提示设计提供了关键洞察。

原文摘要 · Abstract (English)

Although industrial inspection systems should be capable of recognizing unprecedented defects, most existing approaches operate under a closed-set assumption, which prevents them from detecting novel anomalies. While visual prompting offers a scalable alternative for industrial inspection, existing methods often suffer from prompt embedding collapse due to high intra-class variance and subtle inter-class differences. To resolve this, we propose UniSpector, which shifts the focus from naive prompt-to-region matching to the principled design of a semantically structured and transferable prompt topology. UniSpector employs the Spatial-Spectral Prompt Encoder to extract orientation-invariant, fine-grained representations; these serve as a solid basis for the Contrastive Prompt Encoder to explicitly regularize the prompt space into a semantically organized angular manifold. Additionally, Prompt-guided Query Selection generates adaptive object queries aligned with the prompt. We introduce Inspect Anything, the first benchmark for visual-prompt-based open-set defect localization, where UniSpector significantly outperforms baselines by at least 19.7% and 15.8% in AP50b and AP50m, respectively. These results show that our method enable a scalable, retraining-free inspection paradigm for continuously evolving industrial environments, while offering critical insights into the design of generic visual prompting.

缺陷检测视觉提示开放集

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