arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2407.21351cs.CVcs.AI
收藏

面向视觉工业检测的小目标少样本分割

Small Object Few-shot Segmentation for Vision-based Industrial Inspection

Xi’an Jiaotong University(西安交通大学);South China University of Technology(华南理工大学)

Zilong Zhang, Chang Niu, Zhibin Zhao, Xingwu Zhang, Xuefeng Chen

AI总结:

本文针对视觉工业检测中小缺陷难以定位的问题,提出小目标少样本分割模型SOFS,通过非缩放流程、原型强度下采样、异常先验图和混合正常Dice损失,有效缓解目标语义失真和背景假阳性,实现少样本分割与异常检测。

摘要:

基于视觉的工业检测(VII)旨在快速、准确地定位缺陷。作为VII中的两种常见范式,闭集设定下的监督学习和工业异常检测在实际应用中面临不同的问题:前者难以获取多样且充足的缺陷样本,后者则无法定位特定缺陷。为解决这些问题,本文聚焦于少样本语义分割(FSS)方法,该方法能够在少量标注的条件下定位未见过的缺陷,且无需重新训练。与自然图像中的常见目标相比,VII中的缺陷尺寸较小,这给现有FSS方法带来两个问题:1)目标语义失真;2)背景产生大量假阳性。为缓解这些问题,我们提出了一种小目标少样本分割(SOFS)模型。缓解问题1的关键思想是避免对原始图像进行缩放,并正确指示目标语义的强度。SOFS通过非缩放流程和支持标注的原型强度下采样来实现这一思想。为缓解问题2,我们在SOFS中设计了一个异常先验图,以引导模型减少假阳性,并提出了一种混合正常Dice损失,以优先防止模型预测假阳性。SOFS能够实现由支持掩码决定的FSS和少样本异常检测。多种实验充分验证了SOFS的优越性能。代码可在https://github.com/zhangzilongc/SOFS获取。

英文摘要:

Vision-based industrial inspection (VII) aims to locate defects quickly and accurately. Supervised learning under a close-set setting and industrial anomaly detection, as two common paradigms in VII, face different problems in practical applications. The former is that various and sufficient defects are difficult to obtain, while the latter is that specific defects cannot be located. To solve these problems, in this paper, we focus on the few-shot semantic segmentation (FSS) method, which can locate unseen defects conditioned on a few annotations without retraining. Compared to common objects in natural images, the defects in VII are small. This brings two problems to current FSS methods: 1 distortion of target semantics and 2 many false positives for backgrounds. To alleviate these problems, we propose a small object few-shot segmentation (SOFS) model. The key idea for alleviating 1 is to avoid the resizing of the original image and correctly indicate the intensity of target semantics. SOFS achieves this idea via the non-resizing procedure and the prototype intensity downsampling of support annotations. To alleviate 2, we design an abnormal prior map in SOFS to guide the model to reduce false positives and propose a mixed normal Dice loss to preferentially prevent the model from predicting false positives. SOFS can achieve FSS and few-shot anomaly detection determined by support masks. Diverse experiments substantiate the superior performance of SOFS. Code is available at https://github.com/zhangzilongc/SOFS.

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

↑