arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.01216cs.CV
收藏

基于度量学习和视觉基础模型探索通用工业场景中的少样本缺陷分割

Exploring Few-Shot Defect Segmentation in General Industrial Scenarios with Metric Learning and Vision Foundation Models

Xi’an Jiaotong University(西安交通大学)

Tongkun Liu, Bing Li, Xiao Jin, Yupeng Shi, Qiuying Li, Xiang Wei

AI总结:

针对现有少样本语义分割(FSS)方法未覆盖多样工业场景的问题,本文构建更全面的少样本缺陷分割(FDS)基准,深入研究基于度量学习的FSS方法,提出高效特征匹配方法并发现SAM2的有效性,为通用工业场景少样本缺陷分割提供新基准与方法。

摘要:

工业缺陷分割对制造质量控制至关重要。由于训练缺陷样本稀缺,少样本语义分割(FSS)在该领域具有重要价值。然而,现有研究大多将FSS应用于简单纹理上的缺陷,未考虑更多样化场景。本文旨在通过探索更广泛工业产品中各种缺陷类型的FSS来填补这一空白。为此,我们贡献了一个新的真实世界数据集,并重组部分现有数据集,构建更全面的少样本缺陷分割(FDS)基准。在该基准上,我们深入研究基于度量学习的FSS方法,包括基于元学习和视觉基础模型(VFM)的方法。我们发现现有元学习方法通常不适合该任务,而VFM潜力巨大。我们进一步系统研究各类VFM的适用性,涉及特征匹配和Segment Anything(SAM)模型使用两种范式。我们提出一种基于特征匹配的新型高效FDS方法,同时发现SAM2通过其视频跟踪模式对FDS特别有效。贡献的数据集和代码将在https://github.com/liutongkun/GFDS提供。

英文摘要:

Industrial defect segmentation is critical for manufacturing quality control. Due to the scarcity of training defect samples, few-shot semantic segmentation (FSS) holds significant value in this field. However, existing studies mostly apply FSS to tackle defects on simple textures, without considering more diverse scenarios. This paper aims to address this gap by exploring FSS in broader industrial products with various defect types. To this end, we contribute a new real-world dataset and reorganize some existing datasets to build a more comprehensive few-shot defect segmentation (FDS) benchmark. On this benchmark, we thoroughly investigate metric learning-based FSS methods, including those based on meta-learning and those based on Vision Foundation Models (VFMs). We observe that existing meta-learning-based methods are generally not well-suited for this task, while VFMs hold great potential. We further systematically study the applicability of various VFMs in this task, involving two paradigms: feature matching and the use of Segment Anything (SAM) models. We propose a novel efficient FDS method based on feature matching. Meanwhile, we find that SAM2 is particularly effective for addressing FDS through its video track mode. The contributed dataset and code will be available at: https://github.com/liutongkun/GFDS.

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

↑