Beyond CLIP: Calibrated (Few-Shot) Defect Detection With System One Decision Models
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 4 of its 22 references that are in the map. Submitted 30 Oct 2026.
Builds on
4 of 22 references.
References · 4
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 34,995
- 2017On Calibration of Modern Neural Networkscited by 5,356
- 2023WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentationcited by 340
- 2025Adapting OpenAI's CLIP Model for Few-Shot Image Inspection in Manufacturing Quality Control: An Expository Case Study with Multiple Application Examplescited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025From Lab to Factory: Pitfalls and Guidelines for Self-/Unsupervised Defect Detection on Low-Quality Industrial Images
- 2024FADE: Few-shot/zero-shot Anomaly Detection Engine using Large Vision-Language Model
- 2026Failure-Aware Refinement of Vision-Language Model for Lithography Defect Detection
- 2026Trustworthy Visual Quality Inspection under Data Scarcity in Manufacturing
- 2026GenAU: Language-Grounded Industrial Anomaly Understanding with Vision-Language Models
- 2026InspectorGPT: A Comparative Reasoning Enhanced VLM for Comprehensive Industrial Anomaly Detection
- 2026Zero-Shot Learning in Industrial Scenarios: New Large-Scale Benchmark, Challenges and Baseline
- 2025Vision-Language In-Context Learning Driven Few-Shot Visual Inspection Model