Executive summary
A manufacturing inspection study uses as few as two reference images per class to classify images as nominal or defective. That sounds like a very small data requirement. However, additional images refine class descriptions and calibrate the resulting probabilities. The quality-management implication is a concrete procurement and qualification rule: reference count, development effort and independent performance evidence must be reported separately. Examples supplied to an artificial intelligence (AI) model during inference do not describe the entire qualification effort.
FQI takeaway
- Count reference, development, calibration and final test images separately.
- Freeze the model, class descriptions and references before final testing.
- Assess accuracy, missed defects and probability reliability separately.
The principle at a glance
The image models receive an inspection question, descriptions of both classes and a few reference images. They produce a score for the defective class. A mathematical calibration then adjusts that score toward observed defect frequencies. This concerns model probabilities, not metrological calibration of a measuring instrument.
A language model can also revise descriptions using labeled development images. The image model’s parameters remain fixed, but the inspection system still changes: different wording can change decisions and therefore belongs in the documented configuration.
Deep dive
Megahed and Chen examine five manufacturing examples, including extrusion faults in 3D printing, textile surfaces and missing pipe staples. Two structured decision models are compared with an established image–text model. For four applications, two references per class are selected from 50 learning images; the remaining 48 support description refinement. Separate calibration and held-out test images are also required.
The automated refinement process sees development data and a fixed scoring program. It cannot access final test images or their results. The program evaluates how well defective images are ranked against nominal ones, and only sufficiently clear improvements are retained. A plausible description is therefore not automatically accepted as an improvement.
Calibration is fitted separately for each model and configuration. Descriptions, references and the calibration function then remain unchanged during testing. The authors report a better Brier score, an error measure for probability predictions, in 13 of 15 model–application combinations. This is a result of those experiments, not a general guarantee for production data.
The pan-surface application is an informative exception. Few additional images are available and there is no independent calibration set. One comparison model becomes less accurate after calibration despite ranking images very well. The metrics answer different questions and should not be treated as interchangeable.
FQI proposes a local pilot that first specifies relevant defect types and their consequences. Images are then assigned explicit roles. Related views of the same component should not silently connect development and testing. This component-level separation is an operational extension proposed by FQI, not an outcome demonstrated in this study.
Every reported metric should name its data allocation. Actual production defect frequency matters as well: the study uses balanced test classes, whereas a line with very few defects creates different probability and false-alarm requirements. A suitable decision threshold therefore needs local justification.
The pilot should retain the selected descriptions and reference images alongside model identity. If any of these change, the team can determine which qualification evidence remains applicable and which comparisons must be repeated. Qualification concerns the complete inspection configuration rather than the pretrained model alone.
Limitations and risks
Five case studies do not cover a complete production environment. Reference selection, cropping and resolution may affect results. One model is accessed through an external service, making provider changes part of configuration monitoring. Runtime and computational requirements differ from simpler comparison models. The paper establishes neither a universal reduction in qualification data nor automatic acceptance capability for safety-critical products.
FQI conclusion
The practical contribution is a clear accounting of inspection effort. Two references per class may suffice for an individual model call, while development, calibration and acceptance still need additional data. FQI recommends a complete data record and an unchanged final test. Only local evidence covering defects, operating conditions and decision consequences can establish whether this form of AI inspection is technically suitable and economically useful.
Sources & transparency
Primary source: Beyond CLIP: Calibrated (Few-Shot) Defect Detection With System One Decision Models; versioned full text reviewed. Relevant methods, results and limitations were reviewed on 2 November 2026. Scientific preprint; FQI has not independently reproduced the findings. Operational inspection plans and examples are FQI interpretations, not additional experiments reported by the authors.
NIST AI RMF Playbook, MEASURE provides independent normative support for purpose-specific evaluation and documented limits. It does not confirm the performance of the commercial models studied.
Artificial intelligence assisted preparation. Johann Fischer explicitly approved this article package for publication on 2026-11-02.
Open full-size graphic