arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.41199cs.CVcs.AI
收藏

超越CLIP:基于系统1决策模型的校准(少样本)缺陷检测

Beyond CLIP: Calibrated (Few-Shot) Defect Detection With System One Decision Models

Farmer School of Business, Miami University(迈阿密大学法默商学院);College of Arts and Sciences, University of Dayton(代顿大学艺术与科学学院)

Fadel M. Megahed, Ying-Ju Chen

AI总结:

本文针对制造缺陷检测中缺陷样本不足的问题,提出基于Jev、Clef-Flash模型的k-shot学习框架、文本描述智能体优化及概率校准方法,在5个案例中优于CLIP,还提供了复现代码与网页应用。

摘要:

相机和视觉传感器被广泛应用于制造环境中的产品与工艺检测。传统上,该过程需要数千张合格与缺陷产品的图像来训练模型。近期研究表明,CLIP等视觉Transformer(ViT)模型可将需求降至每个合格与缺陷类别各50-100张图像。然而,在高良率或小批量制造流程中,即便收集50张缺陷图像也颇具难度。本文研究了两种近期提出的结构化决策模型(Jev和Clef-Flash)在推理时每个类别仅使用k=2张参考图像的应用效用,过程中提供三项主要贡献:(a)针对图像分类/检测应用的这些模型的k-shot学习框架;(b)用于自动优化指导这些决策模型图像分类的文本描述的智能体方法;(c)校准所得缺陷概率以提升检测决策可靠性的方法。我们在五个制造案例研究中测试这些贡献。使用每个类别2张参考图像时,Jev和Clef-Flash的测试准确率均优于使用相同参考图像的CLIP(Jev为0.75-1.00,Clef-Flash为0.71-0.99,CLIP为0.67-0.84)。此外,我们的文本描述智能体优化在8种模型-应用组合中的6种显著提升准确率,校准方法在15种模型-应用配置中的13种降低了Brier分数。为支持研究可复现性,我们提供了复现代码,并创建了用于评估其他模型的R“decisions”包,还提供了一个公开的网页应用,从业者无需代码即可检测自身图像。

英文摘要:

Cameras and vision sensors are widely used for product and process inspection in manufacturing environments. Traditionally, this process required thousands of images of both nominal and defective products to train such models. Recent research shows that vision transformer (ViT) models, such as CLIP, can reduce this requirement to 50-100 images per nominal and defective class. However, collecting even 50 defective images can be difficult in high-yield or low-volume manufacturing processes. In this paper, we examine the utility of two recently proposed structured decision models (Jev and Clef-Flash) in applications using as few as k=2 reference images per class at inference. In the process, we provide three main contributions: (a) a framework for k-shot learning of these models for image classification/inspection applications; (b) an agentic approach for automatically refining the text descriptions that guide image classification in these decision models; and (c) an approach to calibrate the resulting defect probabilities to improve their reliability for inspection decisions. We test these contributions in five manufacturing case studies. Using two reference images per class, both Jev and Clef-Flash outperform CLIP's test accuracies with the same references (0.75-1.00 [Jev] and 0.71-0.99 [Clef-Flash] vs 0.67-0.84 [CLIP]). Furthermore, we show that our agentic refinement of text descriptions significantly improves accuracy across 6 of 8 model-application combinations, and our calibration approach reduces the Brier score in 13 of the 15 model-application configurations. To support the reproducibility of our work, we provide our replication code and have created the R "decisions" package for evaluating additional models. We also provide a publicly available web app that allows practitioners to inspect their own images with no code.

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

↑