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.
C-TPT: Calibrated Test-Time Prompt Tuning for Vision-Language Models via Text Feature Dispersion
Korea Advanced Institute of Science and Technology (KAIST)(韩国科学技术院(KAIST));University of Illinois at Urbana-Champaign (UIUC)(伊利诺伊大学厄巴纳-香槟分校(UIUC));Imperial College London(伦敦帝国学院)
Self-Calibrated Consistency can Fight Back for Adversarial Robustness in Vision-Language Models
Guangdong Institute of Intelligence Science and Technology(广东智能科学与技术研究院);Agency for Science, Technology and Research(科技研究局);School of Information Technology(信息技术学院)
Proximity-CLIP: Text-Guided Semantic Proximity Learning for Zero-Shot Anomaly Detection
School of Software Engineering, Xi’an Jiaotong University(西安交通大学软件学院);Institute of Artificial Intelligence and Robotics, Xi’an Jiaotong University(西安交通大学人工智能与机器人研究所)
AA-CLIP: Enhancing Zero-shot Anomaly Detection via Anomaly-Aware CLIP
School of Biomedical Engineering, Division of Life Sciences and Medicine, USTC(中国科学技术大学生命科学与医学部生物医学工程学院);MIRACLE Center, Suzhou Institute for Advance Research, USTC(中国科学技术大学苏州高等研究院MIRACLE中心);Key Laboratory of Intelligent Information Processing of CAS, ICT, CAS(中国科学院计算技术研究所中国科学院智能信息处理重点实验室);State Key Laboratory of Precision and Intelligent Chemistry, USTC(中国科学技术大学精准与智能化学国家重点实验室);Stanford University(斯坦福大学)
Hybrid Quantum-MambaVision: A Quantum-enhanced State Space Model for Calibrated Mixed-type Wafer Defect Detection
Odisha University of Technology and Research(奥里萨理工大学);National Taiwan University of Science and Technology(台湾科技大学);East China Normal University(东华大学);Macau University of Science and Technology(澳门科技大学)
GS-CLIP: Zero-shot 3D Anomaly Detection by Geometry-Aware Prompt and Synergistic View Representation Learning
School of Computer Science and Technology, Soochow University(苏州大学计算机科学与技术学院);Institute for AI Industry Research (AIR), Tsinghua University(清华大学人工智能产业研究院)
AF-CLIP: Zero-Shot Anomaly Detection via Anomaly-Focused CLIP Adaptation
School of Computer Science and Engineering(计算机科学与工程学院);Sun Yat-sen University(中山大学);Guangdong Key Laboratory of Big Data Analysis and Processing(大数据分析与处理广东省重点实验室)
CL-CLIP: CLIP-Based Continual Learning Framework with Cost-Volume Category Decoupling for Object Detection
National College for Excellent Engineers, Beihang University(卓越工程师学院,北京航空航天大学);AI Research, Qihoo 360(360人工智能研究院,奇虎360);School of Electronic Information Engineering, Beihang University(电子信息学院,北京航空航天大学);School of Cyber Science and Technology, Beihang University(网络安全科学与技术学院,北京航空航天大学);School of Computer Science and Engineering, Beihang University(计算机科学与工程学院,北京航空航天大学);State Key Laboratory of Media Convergence and Communication, Communication University of China(媒体融合与传播国家重点实验室,中国传媒大学);Institute of Information Technology, Mathematics and Mechanics, Lobachebsky University(信息技术、数学与力学学院,洛瓦茨基大学);School of Artificial Intelligence, Beihang University(人工智能学院,北京航空航天大学)
VideoPipe 2022 Challenge: Real-World Video Understanding for Urban Pipe Inspection
Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);Shenzhen Bwell Technology Co., Ltd(深圳博铭维技术有限公司);Shenzhen Longhua Drainage Co., Ltd(深圳市龙华排水有限公司);Shanghai AI Laboratory(上海人工智能实验室);Shenzhen Institute of Artificial Intelligence and Robotics for Society(深圳市人工智能与机器人研究院)
Calibrated and Robust Foundation Models for Vision-Language and Medical Image Tasks Under Distribution Shift
Institute of Business Administration Karachi(Karachi商业管理学院);National University of Computer and Emerging Sciences(国家计算机与新兴科学大学);CAIMI Pvt Ltd(CAIMI私营有限公司);Center for Research in Computer Vision, University of Central Florida(计算机视觉研究中心,佛罗里达大学)
Defect-aware Hybrid Prompt Optimization via Progressive Tuning for Zero-Shot Multi-type Anomaly Detection and Segmentation
Corporate Research, Robert Bosch GmbH(罗伯特·博世集团企业研究部);Otto-von-Guericke-University(奥托·冯·格里克大学);Institute for Artificial Intelligence, University of Stuttgart(斯图加特大学人工智能研究所);Faculty of Computer Science, UniVie Doctoral School Computer Science, University of Vienna(维也纳大学计算机科学系);University of Southampton(南安普顿大学)
An Integrated Hardware-Software Design for Low-Data Spatial Defect Detection in Robotic Visual Inspection with Hybrid Optoelectronic Neural Networks
School of Artificial Intelligence and Automation, Huazhong University of Science and Technology(华中科技大学人工智能与自动化学院);China Belt and Road Joint Lab on Measurement and Control(中国一带一路测量与控制联合实验室);School of Electric and Electrical Engineering, Chongqing University of Technology(重庆理工大学电气与电子工程学院);Department of Precision Instrument, Tsinghua University(清华大学精密仪器系)
CoGeoAD: Hierarchical Color-Geometric Fusion with Multi-View Attention for Zero-Shot 3D Anomaly Detection
State Key Laboratory of Opto-Electronic Information Acquisition;Protection Technology, Anhui University, Hefei, China;School of Artificial Intelligence, Anhui University, Hefei, China;College of Intelligence Science;Technology, National University of Defense Technology, Changsha, China;School of Mathematics \& Physics, Anhui Jianzhu University, Hefei, China